Troubleshooting BSOD Stop code 0xc000021a

  • 7016175
  • 10-Feb-2015
  • 10-Feb-2015

Environment

PlateSpin Migrate 9.x
PlateSpin Migrate 11.x

Situation

At the conclusion of a migration job, the target machine fails to boot with a Stop (BSOD) error of 0xc000021a

Resolution

Troubleshooting BSOD Stop code 0xc000021a :

The session manager initialization system process terminated unexpectedly with a status of 0xc000003a(0x00000000,0x00000000)

The second parameter “0xc000003a” resolves to “STATUS_OBJECT_PATH_NOT_FOUND”.

Step 1 :

The first reboot after bugcheck you may not be able to get Advanced Boot Options when you press F8 and may only get Windows Error Recovery screen, as seen below.

In such scenarios there is no crash memory Dump generated.

Next thing we need to do is launch Startup Repair from Window Recovery Environment (WinRE). If you do not have WinRE installed on the machine you can boot from either Windows Server 2008/R2/Windows 7 boot disc.

Step 2 :

Once booted into WinRE launch Command prompt and open RegEdit

 

Highlight HKEY_LOCAL_MACHINE

 

 

Click on File & Load hive

 

 

Note: Whenever you are booting into WinRE you are actually booted into a RAMDRIVE. When opening registry editor you are seeing the hives from RAMDRIVE and NOT from installed Windows.  Make sure you are loading the hives from your Windows.

Consider E: as your installed drive. Browse to “E:\Windows\System32\Config” folder and select “System” hive.

 

Now click open and name it as “Test”.

 

Step 3 :

Navigate to HKEY_LOCAL_MOACHINE\Test\Select and check the value “Current”. This dword value tells us the correct ControlSet to use.

 

Navigate to Controlset001 and access the following key HKEY_LOCAL_MACHINE\Test\ControlSet001\Services\mountmgr

Selecting “mountmgr”, on the right side pane look for “NoAutoMount” Dword value & modify the value to “0”.

Step 5 :

Once done, Select Test Key from top and click on File to Unload Hive. Click Yes if prompted.

Step 6 :

Close the registry editor and reboot the server in normal mode.