Cleaning up metadata via Active Directory Users and Computers
- Active Directory Users and Computers > Domain Controllers > select the dead server
- Right click and Delete
- Click Yes to confirm
Cleaning up the DC server instance from the Active Directory Sites and Services
- Active Directory Sites and Services > Sites > Servers > select dead server
- Click Yes to confirm delete
Clean up metadata using ntdsutil
- Launch Command Prompt cmd as Administrator and launch ntdsutil
- Type metadata cleanup
- Type remove selected server <servername>
- In warning window click yes to proceed
- Execute quit command twice
Check replication health
- CMD > Repadmin /replsummary
Healthy exampleUnhealthy example
- Repadmin /Queue
- Repadmin /Showrepl
- Repadmin /syncall
(May cause some network congestion for large network) - Repadmin /KCC
(By default KCC runs in the background every 15 minutes to check if new connection is established between DCs or not) - Repadmin /replicate TargetDC SourceDC
(starts replication immediately)
Check with another DC
dcdiag /s:DC2 dcdiag /fix
Thanks.