{"id":335,"date":"2013-10-19T23:18:22","date_gmt":"2013-10-19T22:18:22","guid":{"rendered":"http:\/\/www.digisaster.com\/?p=335"},"modified":"2013-10-19T23:18:22","modified_gmt":"2013-10-19T22:18:22","slug":"stop-c000021a","status":"publish","type":"post","link":"https:\/\/www.digisaster.com\/?p=335","title":{"rendered":"stop c000021a"},"content":{"rendered":"<p><strong>stop c000021a<\/strong><\/p>\n<p>This was a situation where i had a small problem, and after some changes it got bigger and bigger.<\/p>\n<p>The original problem i had was a non working hibernation system on a Windows7 computer.<br \/>\nThe reason was simple. I did have a small boot partition and the system was a factory default fujitsu. I did not like the idea of the small boot partition because i also wanted to use a other BCD loader, so i first made a image of the bootpartiton, and then a remove the boot partition.<\/p>\n<p>After i made a reboot i got this message on the screen<\/p>\n<p>autochk program not found &#8211; skipping autocheck<\/p>\n<p>After this i got a stop C000021a error, and i was expecting a easy fix with a Windows7 bootrepair cd.<\/p>\n<p>The complete error i got was:<\/p>\n<p><strong>STOP: c000021a {Fatal System Error}<\/strong><br \/>\n<strong> The Session Manager Initialization system process terminated unexpectedly with a status of 0xc000003a (0x00000000 0x00000000)<\/strong><br \/>\n<strong> The system has been shutdown.<\/strong><\/p>\n<p>Bootrepair failed<br \/>\nsfc \/scannow failed<br \/>\nboot with option \u201cLast Known Good Configuration\u201d failed<br \/>\nfixing the MBR and BCD failed<\/p>\n<p>To make a long story short, i got it fixed without re installation by using the following steps<\/p>\n<p>First boot with a bootrepair cd\/usb<br \/>\nIf you don&#8217;t have it, create one on another working computer<br \/>\nIf you don&#8217;t know where you can find the option of creating a System Repair Disc, just use google to find out, its just a option on any Windows7 computer.<\/p>\n<p>Then boot into WinRE and launch Command prompt<br \/>\nThen open regedit and take a look at <strong>HKLM\\SYSTEM\\MountedDevices<\/strong><br \/>\nThese keys are NOT the value of your own registry, but from the ramdrive environment<\/p>\n<p>Next load the registry hives from your own system into a subkey<br \/>\nFirst just klik on <strong>HKEY_LOCAL_MACHINE<\/strong> and then click on File, Load hives<br \/>\n(in dutch its Bestand, Component laden)<br \/>\nThen browse to your local windows installation and load the file SYSTEM (normally its in c:\\windows\\system32\\config)<br \/>\nJust name the loaded hive something simple like \u201ctemp\u201d and go to the<br \/>\n<strong>HKLM\\temp\\MountedDevices<\/strong><br \/>\nThen hit on delete, so you completely remove the complete key and subkeys.<br \/>\nThen go back to the temp key and select File -&gt; Unload Hive<br \/>\nThen make a reboot and if you&#8217;re lucky your problem is fixed.<br \/>\nIf you&#8217;re not lucky then the keys are regenerated with the wrong values, but is easy to fix.<\/p>\n<p>Just repeat the above steps and take a look at the values of both the <strong>HKLM\\SYSTEM\\MountedDevices<\/strong><br \/>\nand the<strong> HKLM\\temp\\MountedDevices<\/strong><br \/>\nYou will notice that value of <strong>\\DosDevices\\C<\/strong>: will not match the discid, or that the driveletter is simply wrong<br \/>\n<strong>\\DosDevices\\F:<\/strong> for example instead of <strong>\\DosDevices\\C:<\/strong><br \/>\nTake a look at the values on the ramdrive <strong>HKLM\\SYSTEM\\MountedDevices<\/strong> and you will understand the problem and know what to change.<\/p>\n<p>I hope this info will be helpful for some other people.<\/p>\n<p>p.s. After this fix my hibernation problem was also fixed \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>stop c000021a This was a situation where i had a small problem, and after some changes it got bigger and bigger. The original problem i had was a non working hibernation system on a Windows7 computer. The reason was simple. &hellip; <a href=\"https:\/\/www.digisaster.com\/?p=335\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[72,70,69,71,68,64],"class_list":["post-335","post","type-post","status-publish","format-standard","hentry","category-digi-related","tag-boot-partition","tag-bsod","tag-c000021a","tag-mounteddevices","tag-stop","tag-windows7"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts\/335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=335"}],"version-history":[{"count":1,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts\/335\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=\/wp\/v2\/posts\/335\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digisaster.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}