How to Change Domain Controller on Windows (2024)

Quick Tips
  • To find the current domain controller, launch Command Prompt > type nltest /dsgetdc:domainname and hit Enter.
  • To switch Domain controller, open Command Prompt > type nltest /Server:ClientComputerName/SC_RESET:DomainName\DomainControllerName and hit Enter.

Things to Know Before Switch Domain Controller on Windows

  • Back up your Active Directory to ensure you can recover if something goes wrong during the migration process.
  • The new domain controller should be configured with the proper roles and features. It should also run a supported version of Windows Server.
  • Plan for a scheduled downtime during the transition. Users may experience temporary disruptions in network services during the migration. Check the event logs frequently, and use diagnostic tools promptly.
  • Review and update any Group Policies you have in place to reflect the new domain controller. Ensure all client computers are aware of the new domain controller.

Also Read: How to find the IP address of a domain using NSLookup command in Windows

How to Find Current Domain Controller

Step 1: Press the Windows key, type Command Prompt, and click Run as administrator.

Step 2: Once in the Command Prompt, type the below command and hit Enter.

nltest /dsgetdc:domainname
How to Change Domain Controller on Windows (1)

That’s it. The output will display the current domain controller, which you can use to switch on your client’s computer. If you want to know how to switch domain controller, continue reading.

How to Switch Domain Controller Command

Step 1:Press the Windows key, type Command Prompt, and click Run as administrator.

Step 2: Once in the Command Prompt, type the below command and hit Enter.

nltest /Server:ClientComputerName/SC_RESET:DomainName\DomainControllerName
How to Change Domain Controller on Windows (2)

That’s all there is to it. You have successfully switched the domain controller. Remember that the switch is not permanent, and restarting might result in a new domain controller being selected.

For whatever reason, if you want to set the domain controller via registry, continue reading.

How to Set Domain Controller via Registry

Step 1: Open the Start menu, typeRegistry Editor, and click Run as administrator.

In the prompt, select Yes.

Step 2: In the top address bar, enter the mentioned address.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

Note: You can manually navigate to the section too.

Step 3: Under the Parameters folder, right-click, select New, and choose String Value.

How to Change Domain Controller on Windows (3)

Step 4: TypeSiteNamein the name field and hit Enter.

How to Change Domain Controller on Windows (4)

Step 5: In the Edit String pop-up, enter the domain controller name to which you want your system to connect. Example- DC1.mydomain.com

How to Change Domain Controller on Windows (5)

There you go. The domain controller has been set via Windows Registry. If you cannot set the domain controller via the Registry, read on to find out how to force clients to use a specific domain controller.

Also Read: How to safely clean Registry on Windows 10 and 11

How to Force Client to Use Specific Domain Controller

Step 1: Open the Start menu, typeRegistry Editor, and click Run as administrator.

In the prompt, select Yes.

Step 2: In the top address bar, enter the mentioned address and hit Enter.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

Note: You can manually navigate to the section too.

Step 3: Under the Parameters folder, right-click, select New, and choose DWORD (32-bit) Value.

How to Change Domain Controller on Windows (6)

Step 4: TypeNodeTypein the name field.

How to Change Domain Controller on Windows (7)

Step 5: Double-click the new value, type 4 in the Value Data field, and press OK.

Note: The value 4 in the Value Data field sets the network to broadcast before contacting name servers for resolution. If no WINS servers are configured (H-node/queries name resolution first, then broadcasts), the value 8 applies.

How to Change Domain Controller on Windows (8)

Step 6: Again, right-click, select New, and choose DWORD (32-bit) Value.

How to Change Domain Controller on Windows (9)

Step 7: TypeEnableLMHOSTSin the name field.

How to Change Domain Controller on Windows (10)

Step 8: Double-click the new value, type 1 in the Value Data field, and press OK.

How to Change Domain Controller on Windows (11)

Finally, reboot the system to implement the changes. And that’s it! The new domain controller will be set when the system boots up. In case of any difficulties, consult experienced IT professionals for better guidance.

If you have any queries, check out the FAQ section below.

FAQs on Switching Domain Controller On Windows

1. Can I have multiple domain controllers in a Windows domain?

Yes, it’s common and recommended to have multiple domain controllers in a Windows domain for redundancy and fault tolerance. This helps ensure that domain services are available even if one domain controller fails.

2. What are the common issues to watch out for when switching domain controllers?

Common issues include DNS misconfigurations, replication problems, incorrect time settings, and permission issues. It’s essential to monitor the process carefully and resolve any issues that may arise.

The next time you need to switch domain controllers on Windows, refer to this guide to ensure a smooth transition that meets your network’s specific needs.

Was this helpful?

Thanks for your feedback!

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.

How to Change Domain Controller on Windows (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5809

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.