How to Fix C00002E2 Directory Services Could Not Start - Blue Screen



There are several reasons you may get get this error. The most common being a corrupt Active Directory database (NTDS.DIT). I know this sounds detrimental, but it's actually easy to fix this blue screen.
*** This is the Active Directory Database we're talking about here, so make sure you have a good backup of the server, in case this doesn't work***
This Stop code is only seen on a system with Active Directory on it. You notice it when the server is booting. You'll get a blue screen and an error code, like the following:
STOP: c00002e2 Directory Services could not start because of the following error:
A device attached to the system is not functioning.
Error Status: 0xc0000001.
Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.
To begin, do as the message says, and boot into Directory Services Restore Mode. When the server powers on, press F8 before the OS begins to load. You should see a selection screen like this. Choose Directory Services Restore Mode:
Once in Directory Services Restore Mode, you can check if there is a problem with the database by running the following commands:
ntdsutil.exe
activate instance ntds
files
If there is a problem with it, you'll see something like this returned:
Could not initialize the Jet engine: Jet Error -501. Failed to open DIT for AD DS/LDS instance NTDS. Error -2147418113
To fix, just rename all of the .log files located in C:\windows\ntds\ to .log.old, or anything else, so they can be recreated.
Now reboot the server. For most people, this fixed the database, and the server booted up. For others, it still blue screened after this. If you continue to get a blue screen, run the following command in Directory Services Restore Mode, and then reboot:
esentutl /p "c:\windows\ntds\ntds.dit"
- Add new comment
- 67 comments
Thanks for your post :)
Thanks for your post :)
Thanks a lot for this ^^
Thanks a lot for this ^^
seriously. thank you.
seriously. thank you.
thank you!!!
thank you!!!
Thank you !!!
Thank you !!!
still didn't work for me
still didn't work for me
Worked like a charm!
Worked like a charm!
Many, many, thanks. Although,
Many, many, thanks. Although, in my case, I couldn't complete exactly like you did, your help was invaluable. Thanks again!
Thanks a million! Had to
Thanks a million! Had to modify it a bit but the server is up!
hermano muchas gracias ,
hermano muchas gracias , tenia dias de tener este problema y lo solucione gracias a usted..un abrazo y gracias nuevamente!!
Muchas Gracias dias con este
Muchas Gracias dias con este problema. solucionado gracias a usted
saludos
Thank you very much, very
Thank you very much, very helpful got me out of a real tough situation.
Thanks alot it worked like
Thanks alot it worked like charm for me
good luck
wonderful and good
wonderful and good
Dude you saved me so much
Dude you saved me so much time. Seriously this was a life saver
Many thanks worked like a
Many thanks worked like a charm...
Very good! Saved me a lot of
Very good! Saved me a lot of efforts!
This worked perfectly for me,
This worked perfectly for me, thank you very much. :)
Thank you very much!
Thank you very much!
Today is my day to say thank
Today is my day to say thank you.
You did it to one more technician that was lost about this error.
BIG THANKS TO YOU and Keep sharing and spreading the knowledge.
Peace!
Thanks for this. Helped when
Thanks for this. Helped when I storing an old SBS server in MAC Parallels.
Thanks!! I had to do both
Thanks!! I had to do both steps but finally got it to work!
works !!!, thank you sir
works !!!, thank you sir
Brilliant, I was ready to
Brilliant, I was ready to throw the server out the window, this helpful advice from you saved the server AND my sanity. Thanks :-)
Boooom fixed it nice 1
Boooom fixed it nice 1
thank you for this post
thank you for this post
It is perfect. Thank You
It is perfect.
Thank You
thanx, you bring me out of a
thanx, you bring me out of a infernal trouble
I've been doing monthly test
I've been doing monthly test restorations using Shadow Protect for years on all member servers but always ran into the issue of not being able to logon other than through DSRM on DC's. I found this site, followed the instructions and BOOM! Sure boosted my confidence in restoring a domain controller, when that restoration is on the only DC in the domain. Good job!
Thanks man! this work for me
Thanks man! this work for me
Thank you!!!!!
Thank you!!!!!
Thank you sooo MUCH!!!!
Thank you sooo MUCH!!!!
In my case the first NTDS fix didn't work and it blue screened again.
But the second command fixed the issue and the DC came right abck up.
Again, thank you very much.
Nick
Muchas gracias desde Chile!!!
Muchas gracias desde Chile!!!
Thank you very much from Chile!!!
Worked like a charm!! Saved
Worked like a charm!! Saved our bacon!
Worked perfectly! Thanks!!!
Worked perfectly! Thanks!!!
Perfect, thanks!!!
Perfect, thanks!!!
Thank you master!
Thank you master!
First step worked in ma case
First step worked in ma case :) Thanks so much.
Thank you! You saved me a
Thank you! You saved me a significant hassle.
Had to do all to the last
Had to do all to the last line using eseutil, rebooted and it worked! Your a champion
Huge thx. I love you :)
Huge thx. I love you :)
Thank you! Эта статья
Thank you! Эта статья сэкономила мне кучу времени!!!
Worked a treat! Magnificent,
Worked a treat! Magnificent, thank you for your post.
Sos un maestro! muchas
Sos un maestro! muchas gracias!
THX :-)
THX :-)
Seriously. thanks a million!!
Seriously. thanks a million!!
Obrigado, resolveu meu
Obrigado, resolveu meu problema!
You know , You save my life.
You know , You save my life. !!!!!!!!!! i do esentutl /p "c:\windows\ntds\ntds.dit" to get otu of this !!
Thank you.
hello, really, thanks a lot,
hello, really, thanks a lot, this post save my job, we were 12 hours without services, Sql clusters down, shared folders down, 12 hours of investigation and just renaming those files like you said saved my life. thanks a lot once again.
You're welcome :)
You're welcome :)
Thanks buddy!
Thanks buddy!
Gracias Hermano.
Gracias Hermano.
Me salvaste la vida...
Very good. Thanks man!
Very good. Thanks man!
YOU R THE MAN!!! Saved me BIG
YOU R THE MAN!!! Saved me BIG TIME! Thanks mon fr: JA
Thank you!! Big help!!
Thank you!! Big help!!
You ARE the man!
You ARE the man!
Thank you very much.
Thank you very much.
After one month of hard work i solve my problem.
Thanks!!!!!!
YES! More one success case,
YES! More one success case, thank you a lot! It saved my head...
thank you so much, you save
thank you so much, you save my life
This worked on a SBS 2008!
This worked on a SBS 2008! Thanks a million!
THANK YOU!!!!! The part that
THANK YOU!!!!! The part that goes "esentutl /p "c:\windows\ntds\ntds.dit"" worked like a charm!! You are a savior!
Yet another big THANK YOU.
Yet another big THANK YOU.
I have the same problem but I
I have the same problem but I can't login to windows to run
esentutl /p "c:\windows\ntds\ntds.dit"
because the login service is not working, what can I do, please help
Are you logging into
Are you logging into Directory Service Restore Mode?
Saved me tons of time
Saved me tons of time
Thanks a million
Dude!!! you just saved me
Dude!!! you just saved me from an all nighter! Your the best!
Excellent article,helped fix
Excellent article,helped fix my problem in minutes. Thanks for sharing
Post new comment