Policy
Do not use NetBIOS-based discovery for domain controller location when DNS-based discovery fails
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting allows you to control the domain controller (DC) location algorithm. By default, the DC location algorithm prefers DNS-based discovery if the DNS domain name is known. If DNS-based discovery fails and the NetBIOS domain name is known, the algorithm then uses NetBIOS-based discovery as a fallback mechanism. NetBIOS-based discovery uses a WINS server and mailslot messages but does not use site information. Hence it does not ensure that clients will discover the closest DC. It also allows a hub-site client to discover a branch-site DC even if the branch-site DC only registers site-specific DNS records (as recommended). For these reasons, NetBIOS-based discovery is not recommended. Note that this policy setting does not affect NetBIOS-based discovery for DC location if only the NetBIOS domain name is known. If you enable or do not configure this policy setting, the DC location algorithm does not use NetBIOS-based discovery as a fallback mechanism when DNS-based discovery fails. This is the default behavior. If you disable this policy setting, the DC location algorithm can use NetBIOS-based discovery as a fallback mechanism when DNS based discovery fails. This setting has no effect unless the BlockNetbiosDiscovery setting is disabled. NetBIOS-based discovery is considered unsecure, has many limitations, and will be deprecated in a future release. For these reasons, NetBIOS-based discovery is not recommended. See https://aka.ms/dclocatornetbiosdeprecation for more information.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Netlogon\Parameters\AvoidFallbackNetbiosDiscovery | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerBlock NetBIOS-based discovery for domain controller locationWindows10
- ComputerDo not process incoming mailslot messages used for domain controller location based on NetBIOS domain namesAt least Windows Vista
- ComputerForce Rediscovery IntervalAt least Windows Vista
- ComputerReturn domain controller address typeAt least Windows Vista
- ComputerSet Priority in the DC Locator DNS SRV recordsAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerSet TTL in the DC Locator DNS RecordsAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerSet Weight in the DC Locator DNS SRV recordsAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerSpecify address lookup behavior for DC locator pingAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerSpecify DC Locator DNS records not registered by the DCsAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerSpecify dynamic registration of the DC Locator DNS RecordsAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerSpecify Refresh Interval of the DC Locator DNS recordsAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerSpecify sites covered by the application directory partition DC Locator DNS SRV recordsAt least Windows Server 2003 operating systems or Windows XP Professional