Mappage IDN
IDN mapping
Explication
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
| État | Valeur é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 DWordDé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 DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : DnsClient/DNS_IdnMapping
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'EnableIdnMapping' -ErrorAction SilentlyContinue