To Decommission A Previous DC

1 minute read

Description:

In this example, I have transferred FSMO roles from Server2008 to a newly joined Server2012 DC. All I have left to do is to decommision the Server2008VM and take it offline. Make sure that you don’t start this process until after 48 hours since the Server2012 DC has been the primary domain controller.

The main rule to follow is “demote then decommission”.

For Server 2008:

  1. Run => dcpromo => follow the prompts => reboot. The starts the demotion process.

  2. Or by using cmd (preferred): dcpromo /unattend /username: /userdomain: /password: /administratorpassword:
    • After the reboot you can run dcpromo /uninstallbinaries to cleanup the server from ADDS files.
  3. That demoted the server, now just use Server Manager to remove the role.

  4. On the PDC, go to AD Sites and Services, locate the demoted DC and delete the DC.

  5. On the PDC, go to AD Users and Computers, locate the demoted DC and delete the DC.

  6. (Optional) Rejoin the domain as a regular computer would if wanted.

For Server 2012:

  1. Server Manager => Remove Roles => It will say that in order to remove the role you have to demote the server first. Click on the yellow triangle at the top of Server Manager to do this and reboot.

  2. On the main DC, go to AD Sites and Services, locate the demoted DC and delete the DC.

  3. On the main DC, go to AD Users and Computers, locate the demoted DC and delete the DC.

  4. (Optional) Rejoin the domain as a regular computer would if wanted.

References:

“Removing a Domain Controller from a Domain”
“Demoting Domain Controllers and Domains”
“Safely Demote a Windows 2008/r2 Core Domain Controller”

Comments