Open in the explorer

Turn off smart protocol reordering

Désactiver le reclassement intelligent des protocoles

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_SmartProtocolReorder

Explanation

Specifies that the DNS client should prefer responses from link local name resolution protocols on non-domain networks over DNS responses when issuing queries for flat names. Examples of link local name resolution protocols include link local multicast name resolution (LLMNR) and NetBIOS over TCP/IP (NetBT).

If you enable this policy setting, the DNS client will prefer DNS responses, followed by LLMNR, followed by NetBT for all networks.

If you disable this policy setting, or if you do not configure this policy setting, the DNS client will prefer link local responses for flat name queries on non-domain networks.

Note: This policy setting is applicable only if the turn off smart multi-homed name resolution policy setting is disabled or not configured.

French text from Windows 11 26H2

Spécifie que le client DNS doit donner la préférence aux réponses provenant de protocoles de résolution de noms locaux de liaison ou de réseaux n’appartenant pas à un domaine par rapport aux réponses DNS lorsque des requêtes pour des noms plats sont émises. Les protocoles de résolution de noms locaux de liaison incluent LLMNR (Link Local Multicast Name Resolution) et NetBT (NetBIOS sur TCP/IP).

Si vous activez ce paramètre de stratégie, le client DNS donne la préférence aux réponses DNS, puis aux réponses LLMNR et enfin aux réponses NetBT pour tous les réseaux.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, le client DNS donne la préférence aux réponses locales de liaison pour les requêtes de noms plats sur des réseaux n’appartenant pas à un domaine.

Remarque : ce paramètre de stratégie est applicable uniquement si le paramètre de stratégie Désactiver la résolution intelligente des noms à plusieurs connexions est désactivé ou n’est pas configuré.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient
Value name
DisableSmartProtocolReordering
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_SmartProtocolReorder
$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 'DisableSmartProtocolReordering' -Value 1 -Type DWord

Disable

# Disable: DnsClient/DNS_SmartProtocolReorder
$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 'DisableSmartProtocolReordering' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability