Re-promoting the domain controller

This method of recovering the data is available only if the domain has other domain controllers. It does not require having a backup.

To recover Microsoft Active Directory, use the Dcpromo tool to demote the domain controller with the corrupted data, and then to promote that domain controller again.

To re-promote the domain controller, run the following commands:

dcpromo /forceremoval
dcpromo /adv