Step 2: Once in the Command Prompt, throw in the below command and hitEnter.

If you want to know how to switch domain controller, continue reading.

Thats all there is to it.

type the below command

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.

hit Enter

How to Set Domain Controller via Registry

In the prompt, selectYes.

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

Note: you might manually navigate to the section too.

choose String Value

Step 3: Under the Parameters folder,right-click, selectNew, and chooseString Value.

Step 4: TypeSiteNamein the name field and hitEnter.

Example- DC1.mydomain.com

There you go.

Type SiteName in the name field

The domain controller has been set via Windows Registry.

Step 3: Under the Parameters folder,right-click, selectNew, and chooseDWORD (32-bit) Value.

Step 4: TypeNodeTypein the name field.

enter the domain controller name

Step 5: Double-hit the new value, type4in the Value Data field, and pressOK.

Step 6: Again,right-click, selectNew, and chooseDWORD (32-bit) Value.

Step 7: TypeEnableLMHOSTSin the name field.

choose ‘DWORD (32-bit) Value’

Step 8: Double-nudge the new value, type1in the Value Data field, and pressOK.

Finally, reboot the system to implement the changes.

The new domain controller will be set when the system boots up.

Type NodeType

In case of any difficulties, consult experienced IT professionals for better guidance.

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

This helps ensure that domain services are available even if one domain controller fails.

Double-click the new value

Common issues include DNS misconfigurations, replication problems, incorrect time options, and permission issues.

Its essential to monitor the process carefully and resolve any issues that may arise.

Was this helpful?

Type EnableLMHOSTS

The content remains unbiased and authentic and will never affect our editorial integrity.

type 1 in the Value Data field

How to Find the IP Address of a Domain Using NSLookup Command In Windows

Article image

Article image

7 Best Fixes for Game Controller Acting Like a Mouse on Windows 11

How to Fix PS4 Controller Not Connecting to iPhone Issues

Article image

Best-Xbox-Controller-Phone-Mounts-in-2023

How to Check DualSense Controller Battery on PS5 or PC