A domain controller can be renamed without rebuilding it. Windows has a supported way to do it that keeps the domain running, as long as you rename one DC at a time and tidy up DNS afterwards.
Server names match your naming convention and your virtual machine names.
Names that do not match cause mistakes in scripts, and rebuilding a domain controller just to rename it is a lot of work.
Rename one DC at a time with netdom, restart it, check it, then delete the old DNS records.
When you would do this
- The server names do not follow your naming convention.
- The Windows name does not match the name of the virtual machine, which causes mistakes.
- You inherited names like
SERVER1that say nothing about what the machine does.
What stays the same and what changes
| Item | Effect |
|---|---|
| IP addresses | Unchanged. Anything that points at the DC by address carries on working. |
| Users, groups, policies | Unchanged. |
| Sign-in for staff and pupils | Carries on, because the other DC answers while one restarts. |
| DNS records for the DC | New ones register themselves. A few old ones need deleting by hand. |
| Anything that uses the DC's name | Needs updating: scripts, backup jobs, monitoring, mapped drives, certificates. |
The example in this guide
| Old name | New name | Address |
|---|---|---|
| SRV-DC-01 | CON-DC-01 | 10.0.20.10 |
| SRV-DC-02 | CON-DC-02 | 10.0.20.11 |
The route
- Check you are ready
Replication is clean, the new names are free and you know what uses the old ones.
- Rename one domain controller
Add the new name, make it the main one, restart, remove the old name. Then repeat for the next DC.
- Tidy up DNS
Check the new records, then delete what is left of the old names.
Renaming a domain controller through Settings or Rename-Computer skips steps that Active Directory needs. Use the netdom commands in this guide.


