Created: 8/30/20
Updated: 1/3/21
A few things to touch-base on, I hope you’ve done the following tasks after a Domain Controller has been orphaned from your domain either from a failed motherboard, hard drive raid set, or maybe even it was tombstoned (tombstoning happens if a DC can’t speak to other DC’s for X amount of time), the follow tasks should already be done:
- Seizing the FSMO roles
- Delete DC in ADUC
- Delete DC in Sites & Services
- Delete DC’s A and SRV records from DNS
If you have done all of this, then you still need to delete the linger artifacts and that is done thru ntdsutil. So lets get into it!
- elevated command prompt
- type “ntdsutil”
- type “?”
- type” Metadata cleanup”
- type “?”
- type “Connections”
- type “?”
- type “connect to server [working domain controller hostname]”
- type “quit”
- type “select operation target”
- type “?”
- Note: you’ll need to select the domain, the server, and the site
- type “list domains”, you’ll select the domain the orphaned/tombstoned domain controller is apart of, if the domain is lists as ” 0 – vpool.local” , then select 0:
- type “select domain 0”
- type “list sites”; select the site the defunct domain controller lives, same as step 13, if it’s a “0”, then:
- type “select site 0”
- type “list servers in site”; again if server is defined as “0”, then:
- type “select server 0”
- type “quit”
- type “?”
- type “remove selected server”
- Once you press enter on step 21, you’ll remove all lingering artifacts from your Active Directory domain of the defunct domain controller