Friday, February 2, 2018

Step-By-Step: Removing A Domain Controller Server Manually

if the Dcpromo command failed use the command

> dcpromo /forceremoval

or

You have to remove  a Domain Controller server manually

Step 1: Cleaning up metadata via Active Directory Users and Computers




  1. Log in to DC server as Domain/Enterprise administrator and navigate to Server Manager > Tools > Active Directory Users and Computers
     
  2. Expand the Domain > Domain Controllers

  3. Right click on the DC server that need to remove manually and click delete
     

     
  4. In next dialog box, click yes to confirm


     
  5. In next dialog box, select This Domain Controller is permanently offline and can no longer be demoted using the Active Directory Domain Services Installation Wizard (DCPROMO) and click Delete
     

     
  6. If the domain controller is global catalog server, in next window click yes to continue with deletion
     
  7. If the domain controller holds any FSMO roles in next window, click ok to move them to the domain controller which is available

Step 2: Cleaning up the DC server instance from the Active Directory Sites and Services


  1. Go to Server manager > Tools > Active Directory Sites and Services
     
  2. Expand the Sites and go to the server which need to remove
     
  3. Right click and click Delete
     

     
  4. In next window click yes to confirm
     

Step 3: Clean up metadata using ntdsutil

NOTE: Windows Server 2003 or earlier used ntdsutil and was bit of challenge but this was later simplified



  1. Right Click on Start > Command Prompt (admin)
     
  2. Type ntdsutil and enter


     
  3. Then metadata cleanup
     

     
  4. Next type remove selected server , replace with DC server to remove

     
     
  5. In warning window click yes to proceed
     
  6. Execute quit command twice

No comments:

Post a Comment