Enviar nomes de domínio internacionalizados: valor do Registro EnablePunyCodeUsuárioHKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings

ID da política
ControlPanel_SendIDNNames
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Internet Explorer 7.0 ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Internet Explorer › Painel de Controle da Internet

Registro

EnablePunyCode

REG_DWORDUsuárioComputador
Valor habilitado
Depende do valor da opção
Elemento
Selecionar o comportamento desejado
Opções
ItemValor armazenado
Nunca converter no formato IDN0
Converter endereços que não são da intranet no formato IDN1
Converter endereços da intranet no formato IDN2
Sempre converter no formato IDN3
Aplicar com .reg · CMD · PowerShell
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Nunca converter no formato IDN
"EnablePunyCode"=dword:00000000
; Converter endereços que não são da intranet no formato IDN
"EnablePunyCode"=dword:00000001
; Converter endereços da intranet no formato IDN
"EnablePunyCode"=dword:00000002
; Sempre converter no formato IDN
"EnablePunyCode"=dword:00000003
CMD
:: Opções (use apenas uma)

:: Nunca converter no formato IDN
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 0 /f
:: Converter endereços que não são da intranet no formato IDN
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 1 /f
:: Converter endereços da intranet no formato IDN
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 2 /f
:: Sempre converter no formato IDN
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 3 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Force | Out-Null

# Opções (use apenas uma)
# Nunca converter no formato IDN
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 0 -Force | Out-Null
# Converter endereços que não são da intranet no formato IDN
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 1 -Force | Out-Null
# Converter endereços da intranet no formato IDN
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 2 -Force | Out-Null
# Sempre converter no formato IDN
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 3 -Force | Out-Null
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Nunca converter no formato IDN
"EnablePunyCode"=dword:00000000
; Converter endereços que não são da intranet no formato IDN
"EnablePunyCode"=dword:00000001
; Converter endereços da intranet no formato IDN
"EnablePunyCode"=dword:00000002
; Sempre converter no formato IDN
"EnablePunyCode"=dword:00000003
CMD
:: Opções (use apenas uma)

:: Nunca converter no formato IDN
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 0 /f
:: Converter endereços que não são da intranet no formato IDN
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 1 /f
:: Converter endereços da intranet no formato IDN
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 2 /f
:: Sempre converter no formato IDN
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "EnablePunyCode" /t REG_DWORD /d 3 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Force | Out-Null

# Opções (use apenas uma)
# Nunca converter no formato IDN
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 0 -Force | Out-Null
# Converter endereços que não são da intranet no formato IDN
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 1 -Force | Out-Null
# Converter endereços da intranet no formato IDN
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 2 -Force | Out-Null
# Sempre converter no formato IDN
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'EnablePunyCode' -PropertyType DWord -Value 3 -Force | Out-Null