Open in the explorer

IDN mapping

Mappage IDN

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Network › DNS Client FR: Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Client DNS
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
DnsClient.admx
Internal name
DnsClient/DNS_IdnMapping

Explanation

Specifies whether the DNS client should convert internationalized domain names (IDNs) to the Nameprep form, a canonical Unicode representation of the string.

If this policy setting is enabled, IDNs are converted to the Nameprep form.

If this policy setting is disabled, or if this policy setting is not configured, IDNs are not converted to the Nameprep form.

French text from Windows 11 26H2

Spécifie si le client DNS doit convertir les noms de domaine internationaux (IDN) au format Nameprep, qui est une représentation Unicode canonique de la chaîne.

Si vous activez ce paramètre de stratégie, les noms IDN sont convertis au format Nameprep.

Si vous activez ce paramètre de stratégie, les noms IDN ne sont pas convertis au format Nameprep.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient
Value name
EnableIdnMapping
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: DnsClient/DNS_IdnMapping
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableIdnMapping' -Value 1 -Type DWord

Disable

# Disable: DnsClient/DNS_IdnMapping
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableIdnMapping' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DnsClient/DNS_IdnMapping
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'EnableIdnMapping' -ErrorAction SilentlyContinue

Availability