At the conclusion of a migration job, the target machine fails to boot with a Stop (BSOD) error of 0xc000021a
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
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.