Configure NetBIOS settings
Configurer les paramètres NetBIOS
Explanation
Specifies if the DNS client will perform name resolution over NetBIOS.
By default, the DNS client will disable NetBIOS name resolution on public networks for security reasons.
To use this policy setting, click Enabled, and then select one of the following options from the drop-down list:
Disable NetBIOS name resolution: Never allow NetBIOS name resolution.
Allow NetBIOS name resolution: Always allow NetBIOS name resolution.
Disable NetBIOS name resolution on public networks: Only allow NetBIOS name resolution on network adapters which are not connected to public networks.
NetBIOS learning mode: Always allow NetBIOS name resolution and use it as a fallback after mDNS/LLMNR queries fail.
If you disable this policy setting, or if you do not configure this policy setting, the DNS client will use locally configured settings.
Spécifie si le client DNS effectuera la résolution de noms via NetBIOS.
Par défaut, le client DNS désactivera la résolution de noms NetBIOS sur les réseaux publics pour des raisons de sécurité.
Pour utiliser ce paramètre de stratégie, cliquez sur Activé, puis sélectionnez l’une des options suivantes dans la liste déroulante :
Désactiver la résolution de noms NetBIOS : ne jamais autoriser la résolution de noms NetBIOS.
Autoriser la résolution de noms NetBIOS : toujours autoriser la résolution de noms NetBIOS.
Désactiver la résolution de noms NetBIOS sur les réseaux publics : autoriser la résolution de noms NetBIOS uniquement sur des cartes réseau qui ne sont pas connectées à des réseaux publics.
Mode d’apprentissage NetBIOS : toujours autoriser la résolution de noms NetBIOS et l’utiliser comme solution de secours après l’échec des requêtes mDNS/LLMNR.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les ordinateurs utilisent les paramètres configurés localement.
Use cases
Determines whether the DNS client also resolves names over NetBIOS. Four options: disable (0), allow (1), disable on public networks (2, the default behaviour for security reasons) or learning mode (3), where NetBIOS serves as a fallback after mDNS and LLMNR queries fail.
Microsoft presents mDNS as the modern standard for multicast name discovery and aims eventually to turn NetBIOS and LLMNR off by default, while acknowledging they remain for legacy reasons. Disabling NetBIOS on an older estate can therefore break short-name resolution for legacy applications or shares: go through option 2 or 3 while you find those dependencies.
Microsoft source: Aligning on mDNS: ramping down NetBIOS name resolution and LLMNR
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\DNSClient- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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_Netbios
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure NetBIOS options
# Possible options:
# Disable NetBIOS name resolution = 0
# Allow NetBIOS name resolution = 1
# Disable NetBIOS name resolution on public networks = 2
# NetBIOS learning mode = 3
Set-ItemProperty -Path $k -Name 'EnableNetbios' -Value 1 -Type DWordDisable
# Disable: DnsClient/DNS_Netbios
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": DnsClient/DNS_Netbios
$k = 'HKLM:\Software\Policies\Microsoft\Windows NT\DNSClient'
Remove-ItemProperty -Path $k -Name 'EnableNetbios' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Configure NetBIOS options:Configurer les options NetBIOS :DNS_Netbios_Box | Drop-down listenum | EnableNetbios | REG_DWORD | Required · Default choice (UI): #1
|