A number of users have reported getting an error message saying Corrupt active directory database whenever they try to boot a server running Windows Server 2008 or 2008 R2.
This issue can cause companies a wide range of problems, as it stops them from accessing and modifying data inside the database.
In this article, we will explore the best troubleshooting steps you can take to fix this problem. Please follow the steps carefully to avoid any unnecessary complications.
How can I fix a corrupt active directory database?
1. Check Microsoft Active Directory database problems
- Reboot the server and press the F8 key -> choose Directory Services Restore Mode.
- Check the location of the Winnt\NTDS folder.
- Check all permissions on the folder mentioned above.
- Check to see if the
- Make sure inside the Sysvol folder there is a folder labeled with the name of the domain.
- Press Win+X keys -> start PowerShell (Admin).
- Type the following commands:
NTDSUTIL Files Info
- Rename the edb.chk file and try to boot to Normal mode.
- If this method doesn’t allow you to boot into Normal mode, follow the next step.
2. Check the integrity of your database
- Reboot into Directory Service Restore mode again.
- Inside the command prompt -> type the command
ESENTUTL /g “NTDS.dit” /!10240 /8 /v /x /o(use the path without the quotes) – default path is
- The results of this command will tell you if the database is corrupted.
- To recover the database type this command: NTDSUTIL Files Recover.
- If this procedure shows you an error message type Quit -> use the command:
ESENTUTL /p “NTDS.dit” /!10240 /8 /v /x /o(without quotes).
- Delete all log files inside the NTDS directory but do not move or modify the ntds.dit file.
- Inside the Command Prompt -> type NTDSUTIL Files Integrity.
- If the check is completed successfully type this command and run it:
NTDSUTIL Prompt type: Semantic Database Analysis Go
- The results will tell you that the Analysis process has completed successfully.
- Type Quit to close the Command Prompt.
- Reboot the server to Normal Mode.
In this article, we explored some of the best troubleshooting steps to take in order to fix the Corrupt active directory database error.
Please let us know if this guide helped you solve your issue by using the comment section below.