Emptying DC Locator cache is useful in scenarios listed below:
- Client computer Active Directory Site has been changed, but client computer sticks to its orginal domain controller for authentication.
- Client computer always goes to a remote Domain Controller for authentication.
- You are troubleshooting an authentication issue for an AD Application.
To empty the DC Locator Cache, run below command on the client computer:
- NLTest /dsgetdc:<Domain Name> /Force
The above command clears the DC Locator cache and then performs a discovery to locate a domain controller based on the client subnet.
About Nirmal Sharma
Nirmal Sharma is a MCSEx3, MCITP and Microsoft MVP in Directory Services. He specializes in directory services, Microsoft Azure, Failover clusters, Hyper-V, and System Center products and has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to Health Packs for ADHealthProf.ITDynamicPacks.Net solutions. Nirmal can be reached at [email protected].