Removing A Domain Controller Server (offline/down Primary AD)

Step-By-Step: Removing 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 Controllersmeta1
  3. Right click on the DC server that need to remove manually and click deletemeta2
  4. In next dialog box, click yes to confirmmeta3
  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 Deletemeta4
  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 Deletemeta5
  4. In next window click yes to confirmmeta6

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 entermeta7
  3. Then metadata cleanupmeta8
  4. Next type remove selected server <servername>, replace <servername> with DC server to removemeta9
  5. In warning window click yes to proceed
  6. Execute quit command twice

 

Ref :: https://blogs.technet.microsoft.com/canitpro/2016/02/17/step-by-step-removing-a-domain-controller-server-manually/

== CLEAN UP META DATA with below solution is better.

source : https://www.petri.com/delete_failed_dcs_from_ad

then check with “dcdiag /e /c”

found error but can ignore :

Problem: Missing Expected Value
Base Object: CN=SRV-01,OU=Domain Controllers,DC=margiestravel,DC=com
Base Object Description: “DC Account Object”
Value Object Attribute Name: msDFSR-ComputerReferenceBL
Value Object Description: “SYSVOL FRS Member Object
Recommended Action: See Knowledge Base Article: Q312862

https://support.microsoft.com/en-us/help/2512643/dcdiag-exe-e-or-a-or-c-expected-errors

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.