JSI Tip 4205. Ntdsutil won't repair the Active Directory database?

When you try to repair the Active Directory database ( %SystemRoot%\Ntds\Ntds.dit) using the Ntdsutil tool, you receive errors similar to:

Operation failed because the database was inconsistent.

Initialize jet database failed; cannot access file.

Error while performing soft recovery.
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.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.