In this Article, I am going to explain how to rename the Domain Controller.

As an Administrator, Renaming the Domain Controller is not the right way but in some cases, it is required due to some previous wrong names.

Current Host name of the Domain Controller

1

Since the name assignment was wrongly provided, we cannot simeply rename as we do in workstations because this is a domain controller. Hence we need to do it using NETDOM Command

Step 1: We need to add a second name

Syntax:

netdom computername <CurrentComputerName> /add:<NewComputerName>

Step 2: Make a second name as the primary name

netdom computername <CurrentComputerName> /makeprimary:<NewComputerName>

2

Now we have added a second name and made it Primary. Reboot the Domain Controller to get this applied.

After Reboot, you can see that now domain controller name has been renamed

3

Step 3: Remove the Old name

netdom computername <NewComputerName> /remove:<OldComputerName>

4

Now run DCDIAG or REPADMIN command to verify the Replication Status.

5

#DomainController #Server2012

Author

Leave a comment

Your email address will not be published. Required fields are marked *