Policy
Try Next Closest Site
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting enables DC Locator to attempt to locate a DC in the nearest site based on the site link cost if a DC in same the site is not found. In scenarios with multiple sites, failing over to the try next closest site during DC Location streamlines network traffic more effectively. The DC Locator service is used by clients to find domain controllers for their Active Directory domain. The default behavior for DC Locator is to find a DC in the same site. If none are found in the same site, a DC in another site, which might be several site-hops away, could be returned by DC Locator. Site proximity between two sites is determined by the total site-link cost between them. A site is closer if it has a lower site link cost than another site with a higher site link cost. If you enable this policy setting, Try Next Closest Site DC Location will be turned on for the computer. If you disable this policy setting, Try Next Closest Site DC Location will not be used by default for the computer. However, if a DC Locator call is made using the DS_TRY_NEXTCLOSEST_SITE flag explicitly, the Try Next Closest Site behavior is honored. If you do not configure this policy setting, Try Next Closest Site DC Location will not be used by default for the machine. If the DS_TRY_NEXTCLOSEST_SITE flag is used explicitly, the Next Closest Site behavior will be used.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Netlogon\Parameters\TryNextClosestSite | 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
- ComputerDo not use NetBIOS-based discovery for domain controller location when DNS-based discovery failsAt least Windows Server 2012, Windows 8 or Windows RT
- 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