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

Jerold Schulman

October 10, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today


When you try to repair the Active Directory database (%SystemRoot%NtdsNtds.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 "tds.dit"/!10240 /8 /v /x /o

3. Repair the database by typing:

esentutl /p "tds.dit" /!10240 /8 /v /x /o

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

5. Restart your Server.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like