Remove Deleted Domain Controller


Let suppose you lost a domain controller and you need to cleanup Active Directory, follow these instructions:

ntdsutil
ntdsutil: metadata cleanup
metadata cleanup: connections
server connections: connect to server Server1 <-- This is a valid Domain Controller server connections: q metadata cleanup: Select operation target select operation target: list domains select operation target: Select domain 0
select operation target: List sites
select operation target: Select site 0
select operation target: List servers in site
select operation target: Select server 0 <-- This is the deleted Domain Controller select operation target: q metadata cleanup: Remove selected server


Then remove the failed server object from Active Directory Sites and Services.
Tags: ,

About author

Vittorio Pavesi