As an Administrator, Renaming Domain Controller is not 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 work stations because this is domain controller. Hence we need to do it using NETDOM Command

Step 1: We need to add second name

Syntax:

netdom computername <CurrentComputerName FQDN> /add:<NewComputerName FQDN>

Step 2: make second name as primary name

netdom computername <CurrentComputerName FQDN> /makeprimary:<NewComputerName FQDN>

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

3

 

Step 3: Remove the Old name

netdom computername <NewComputerName> /remove:<OldComputerName FQDN>

4

 

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

Advertisements