国際化ドメイン名を送信する のレジストリ値 EnablePunyCodeユーザーHKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings

ポリシー ID
ControlPanel_SendIDNNames
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Internet Explorer 7.0 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Internet Explorer › インターネット コントロール パネル

レジストリ

EnablePunyCode

REG_DWORDユーザーコンピューター
有効時の値
オプションの値に依存
要素
希望する動作を選択してください
オプション
項目保存される値
IDN 形式に変換しない0
イントラネット以外のアドレスを IDN 形式に変換する1
イントラネット アドレスを IDN 形式に変換する2
常に IDN 形式に変換する3
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings]

; 選択項目 (1 つだけ使用)
; IDN 形式に変換しない
"EnablePunyCode"=dword:00000000
; イントラネット以外のアドレスを IDN 形式に変換する
"EnablePunyCode"=dword:00000001
; イントラネット アドレスを IDN 形式に変換する
"EnablePunyCode"=dword:00000002
; 常に IDN 形式に変換する
"EnablePunyCode"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: IDN 形式に変換しない
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 0 /f
:: イントラネット以外のアドレスを IDN 形式に変換する
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 1 /f
:: イントラネット アドレスを IDN 形式に変換する
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 2 /f
:: 常に IDN 形式に変換する
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# IDN 形式に変換しない
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 0 -Force | Out-Null
# イントラネット以外のアドレスを IDN 形式に変換する
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 1 -Force | Out-Null
# イントラネット アドレスを IDN 形式に変換する
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 2 -Force | Out-Null
# 常に IDN 形式に変換する
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 3 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings]

; 選択項目 (1 つだけ使用)
; IDN 形式に変換しない
"EnablePunyCode"=dword:00000000
; イントラネット以外のアドレスを IDN 形式に変換する
"EnablePunyCode"=dword:00000001
; イントラネット アドレスを IDN 形式に変換する
"EnablePunyCode"=dword:00000002
; 常に IDN 形式に変換する
"EnablePunyCode"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: IDN 形式に変換しない
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 0 /f
:: イントラネット以外のアドレスを IDN 形式に変換する
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 1 /f
:: イントラネット アドレスを IDN 形式に変換する
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 2 /f
:: 常に IDN 形式に変換する
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# IDN 形式に変換しない
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 0 -Force | Out-Null
# イントラネット以外のアドレスを IDN 形式に変換する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 1 -Force | Out-Null
# イントラネット アドレスを IDN 形式に変換する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 2 -Force | Out-Null
# 常に IDN 形式に変換する
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 3 -Force | Out-Null