Clean AD metadata immediately after forced domain-controller removal
Metadata cleanup is required after forced removal of AD DS from a domain controller. Cleanup removes replication, FRS, and DFSR references and attempts to transfer or seize held FSMO roles.
Read the guide