Renaming Windows Server 2012 Essentials Domain

Renaming a domain can break things and generally is unsupported.  One reason you may wish to do this is to keep an old domain server around but want to reuse the NetBIOS name when installing a new domain.  My requirements were for experimentation and should not be used in production.  Proceed at your own risk and it’s possible you will stop functions that rely on AD, user, certificate and computer authentication from working.  If you are just trying to make room then all may be well.

1.  Check you are working with the right domain controller (in this scenario we only consider this is one)

2. Open DNS Manager and add a New Zone Under Forward Lookup Zone.  Select Primary and replicate To all DNS servers running on domain controllers in this domain.  Enter the new domain name.  Then Select Dynamic Update, Click Allow only secure dynamic updates (recommended for Active Directory) and finish the wizard.  You should now see the new Domain name is listed in DNS Manager.

3. Open a Command Prompt as Administrator and run:

  1. rendom /list
  2. notepad Domainlist.xml
  3. change all occurrences of DNSname to match your new domain – do the same with the NetBoisName for ForesetRoot – then save and close
  4. rendom /showforest
  5. rendom /upload
  6. rendom /prepare
  7. rendom /execute – and wait to be signed off

4. Login into the new domain (beware the login will default to the old login for now as it was the last used one) and check that all is well in computer properties.

5. Open Command Prompt again as Administrator and run (replace OLD_ and NEW_’s with your domains:

  1. gpfixup /olddns:<OLD_DOMAIN> /newdns:<NEW_DOMAIN>
  2. gpfixup /oldnb:<OLD_NETBIOS> /newnb:<NEW_NETBIOS>
  3. rendom /clean.
  4. rendom /end

6. Rejoin old domain computers to this renamed DC or whatever you were wanting to do before.

Advertisements

3 thoughts on “Renaming Windows Server 2012 Essentials Domain

  1. Thanks Albal,
    For sharing such as imp blogs.

    Regards,
    Rushikesh

  2. Milosz says:

    Very good info! It helped me with renaming WSE2012 domain created with “super-easy-user-friendly” Server Configuration Wizard. However, when you create “new Administrative User” with that wizard, login and open cmd as Administrator it won’t let you pass point 5 since insufficient privileges and because Administrator account becomes disabled. In my case I had to enable “Administrator” account and perform steps as that user.
    After years spent with WS2003/2008r2 wizard in WSE2012 hit me like a thunder from the sky, no nice at 1AM 🙂

  3. […] to Albal’s Blog I was able to rename our freshly created domain environment. Steps necessary to perform […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: