When you try to repair the Active Directory database ( %SystemRoot%\Ntds\Ntds.dit) using the Ntdsutil tool, you receive errors similar to:
<b>Operation failed because the database was inconsistent.

Initialize jet database failed; cannot access file.

Error while performing soft recovery.</b>
If this happens, use the Esentutl tool:

1. Boot to Active Directory Restore mode.

2. Open a CMD prompt and perform an integrity check by typing:

esentutl /g "<path>\ntds.dit"/!10240 /8 /v /x /o

3. Repair the database by typing:

esentutl /p "<path>\ntds.dit" /!10240 /8 /v /x /o

4. Delete the database log files from the Ntds folder.

5. Restart your Server.