Open in the explorer

Configure NetBIOS settings

Configurer les paramètres NetBIOS

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 Vista FR: Au minimum Windows Vista
ADMX file
DnsClient.admx
Internal name
DnsClient/DNS_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.

French text from Windows 11 26H2

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 DWord

Disable

# 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 SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Configure NetBIOS options:Configurer les options NetBIOS :DNS_Netbios_BoxDrop-down listenumEnableNetbiosREG_DWORD
Required · Default choice (UI): #1
LabelValue
Disable NetBIOS name resolutionREG_DWORD = 0
Allow NetBIOS name resolutionREG_DWORD = 1
Disable NetBIOS name resolution on public networksREG_DWORD = 2
NetBIOS learning modeREG_DWORD = 3

Availability

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016