Today our domain controller had a very bad day and had a bootloop after a reboot. I used recording software to capture the blue screen error: STOP: c00002e2 Directory Services could not start
Then we found a nice article to fix this issue. We had a second working domain controller so if you have the same setup you can use this how to, to fix this problem also. All the credits go to dbutch1976
- Restart the server and press F8 key, select Directory Services restore mode.
- Log in with the local administrator username and password (hope you remember what you set it to!).
- Type cd \windows\system32
- type NTDSUTIL
- type activate instance NTDS
- type files
- If you encounter an error stating that the Jet engine could not be initialized exit out of ntdsutil.
- type cd\
- type md backupad
- type cd \windows\ntds
- type copy ntds.dit c:\backupad
- type cd \windows\system32
- type esentutl /g c:\windows\ntds\ntds.dit
- This will perform an integrity check, (the results indicate that the jet database is corrupt)
- Type esentutl /p c:\windows\ntds\ntds.dit
- Agree with the prompt
- type cd \windows\ntds
- type move *.log c:\backupad (or just delete the log files)
This should complete the repair. To verify that the repair has worked successfully:
- type cd \windows\system32
- type ntdsutil
- type activate instance ntds
- type files (you should no longer get an error when you do this)
- type info (file info should now appear correctly)