Overview

Rename a domain controller

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.

5 minute readFor IT leads, network managers and support providersReviewed 15 November 2026
What improves

Server names match your naming convention and your virtual machine names.

Why it matters

Names that do not match cause mistakes in scripts, and rebuilding a domain controller just to rename it is a lot of work.

How you do it

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 SERVER1 that say nothing about what the machine does.

What stays the same and what changes

ItemEffect
IP addressesUnchanged. Anything that points at the DC by address carries on working.
Users, groups, policiesUnchanged.
Sign-in for staff and pupilsCarries on, because the other DC answers while one restarts.
DNS records for the DCNew ones register themselves. A few old ones need deleting by hand.
Anything that uses the DC's nameNeeds updating: scripts, backup jobs, monitoring, mapped drives, certificates.

The example in this guide

Old nameNew nameAddress
SRV-DC-01CON-DC-0110.0.20.10
SRV-DC-02CON-DC-0210.0.20.11

The route

  1. Check you are ready

    Replication is clean, the new names are free and you know what uses the old ones.

  2. Rename one domain controller

    Add the new name, make it the main one, restart, remove the old name. Then repeat for the next DC.

  3. Tidy up DNS

    Check the new records, then delete what is left of the old names.

Use netdom, not the Settings app

Renaming a domain controller through Settings or Rename-Computer skips steps that Active Directory needs. Use the netdom commands in this guide.

Your progress is kept in this browser only.