Metadata cleanup of a domain controller with ntdsutil

This can normaly be done by just deleting the domain controllers computer account.
(Not prior to Windows 2008)

Start ntdsutil.exe
Act ins ntds
metadata cleanup
con
connect to server [domain controller]
q
select op target
list domains
Select domain %
list sites
select site %
list servers in site
select server %
q
remove selected server

This entry was posted in Active Directory. Bookmark the permalink.