Open in the explorer

Allow NetBT queries for fully qualified domain names

Autoriser les requêtes NetBT pour les noms de domaines complets

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_AllowFQDNNetBiosQueries

Explanation

Specifies that NetBIOS over TCP/IP (NetBT) queries are issued for fully qualified domain names.

If you enable this policy setting, NetBT queries will be issued for multi-label and fully qualified domain names such as "www.example.com" in addition to single-label names.

If you disable this policy setting, or if you do not configure this policy setting, NetBT queries will only be issued for single-label names such as "example" and not for multi-label and fully qualified domain names.

French text from Windows 11 26H2

Spécifie que des requêtes NetBIOS sur TCP/IP (NetBT) sont émises pour des noms de domaine complets.

Si vous activez ce paramètre de stratégie, des requêtes NetBT sont émises pour des noms de domaines en plusieurs parties et complets comme « www.example.com », en plus des noms en une seule partie.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, des requêtes NetBT sont émises uniquement pour des noms en une seule partie, comme « exemple » et pas pour des noms de domaines en plusieurs parties et complets.

Registry

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

Disable

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

Revert to "Not configured"

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

Availability