Ouvrir dans l'explorateur

Mappage IDN

IDN mapping

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Réseau › Client DNS EN : Computer Configuration › Policies › Administrative Templates › Network › DNS Client
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
DnsClient.admx
Nom interne
DnsClient/DNS_IdnMapping

Explication

Texte français issu de 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.

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.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient
Nom de la valeur
EnableIdnMapping
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : 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

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : DnsClient/DNS_IdnMapping
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'EnableIdnMapping' -ErrorAction SilentlyContinue

Disponibilité