If the Active Directory database files are corrupted but the domain controller is able to start in normal mode, you can restore the database in one of the following ways.
Re-promoting the domain controller
This method of restoring the database is available only if the domain has other domain controllers. It does not require having a backup.
To restore the database, use the Dcpromo tool to demote the domain controller with the corrupted database, and then to promote that domain controller again.
To re-promote the domain controller, run the following commands:
dcpromo /forceremoval
dcpromo /adv
Recovering the database from a backup
This method of restoring the database can be used regardless of whether the domain has other domain controllers.
To restore the database, recover the Active Directory database files. In addition, if you have made any changes to Group Policy Objects (GPOs) since backup, you also need to recover the SYSVOL folder.
To recover the Active Directory database from a backup
Details. This change is needed because the Acronis agent service on a domain controller runs under a domain user account, but domain user accounts are unavailable in Directory Services Restore Mode.
Details. For paths to these files and folders, see "Active Directory backup". The recovery procedure is similar to the one described in "Recovering Exchange Server database files.