{"id":477,"date":"2014-09-19T18:28:12","date_gmt":"2014-09-19T16:28:12","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=477"},"modified":"2014-09-19T18:29:03","modified_gmt":"2014-09-19T16:29:03","slug":"stop-c00002e2-directory-service-could-not-start","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=477","title":{"rendered":"STOP c00002e2 Directory Service could not start"},"content":{"rendered":"<h3>STOP: c00002e2 Directory Services could not start<\/h3>\n<p>After a hardware problem (storage) in my virtual lab environment my Windows 2008 R2 Domain Controller VM did not start. When booting the VM I got a BSOD with a STOP error:<\/p>\n<p><strong>STOP: c00002e2 Directory Services could not start because of the following error: a device attached to the system is not functioning.<\/strong><\/p>\n<p><strong>Error status: 0xc0000001.<\/strong><\/p>\n<p><strong>Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.<\/strong><\/p>\n<p>This was my only Domain Controller and no backup so I had to solve this problem.<br \/>\nTroubleshooting steps:<\/p>\n<ol>\n<li>Boot into Directory Services Restore Mode (F8)<\/li>\n<li>NTDSUTIL:<\/li>\n<\/ol>\n<ul>\n<li>activate instance NTDS<\/li>\n<li>files<\/li>\n<li>Error: Could not initialize the Jet engine: Jet Error -501. Failed to open DIT for AD DS\/LDS instance NTDS. Error -2147418113<\/li>\n<li>quit<\/li>\n<\/ul>\n<ol start=\"3\">\n<li>ESENTUTL \/g C:\\Windows\\NTDS\\ntds.dit<\/li>\n<\/ol>\n<ul>\n<li>ESENTUTL result: successful (no DB corruption)<\/li>\n<\/ul>\n<ol start=\"4\">\n<li>ESENTUTL \/p C:\\Windows\\NTDS\\ntds.dit<\/li>\n<\/ol>\n<ul>\n<li>ESENTUTL result: successful (no DB corruption)<\/li>\n<\/ul>\n<ol start=\"5\">\n<li>Event log:<\/li>\n<\/ol>\n<ul>\n<li>Error 1003: Active Directory Domain Services could not be initialized. The directory service cannot recover from this error. Restore the local directory service from backup media. Error value: -501 JET_errLogFileCorrupt, Log file is corrupt<\/li>\n<li>Error 465: NTDS (2156) Corruption was detected during soft recovery in logfile C:\\Windows\\NTDS\\edb.log. The failing checksum record is located at position END. Data not matching the log-file fill pattern first appeared in sector 6697 (0x00001A29). This logfile has been damaged and is unusable.<\/li>\n<li>Error 454: NTDS (2256) Database recovery\/restore failed with unexpected error -501.<\/li>\n<\/ul>\n<ol start=\"6\">\n<li>Rename edb.log to edb.log.old and restart system<\/li>\n<\/ol>\n<ul>\n<li>Result: same STOP error<\/li>\n<\/ul>\n<p>Solution to this problem: rename <strong>all<\/strong> *.log files in C:\\Windows\\NTDS folder and restart system.<\/p>\n<p>&nbsp;<\/p>\n<p>QUELLE:\u00a0http:\/\/martijnwestera.blogspot.de\/2013\/01\/stop-c00002e2-directory-services-could.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>STOP: c00002e2 Directory Services could not start After a hardware problem (storage) in my virtual lab environment my Windows 2008 R2 Domain Controller VM did not start. When booting the VM I got a BSOD with a STOP error: STOP: c00002e2 Directory Services could not start because of the following error: a device attached to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-477","post","type-post","status-publish","format-standard","hentry","category-windows-server-2008"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=477"}],"version-history":[{"count":2,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/477\/revisions"}],"predecessor-version":[{"id":479,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/477\/revisions\/479"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}