Symptoms: Occured on a Hyper-V Server 2008 R2 Virtual Machine with Server 2008 R2 OS.
When logging into the server via RDP or at the console, the above 'Blue Screen of Death' appears with error *** STOP: 0x00000051 (click to enlarge)
WinDbg on the dump file gave the following information: probably caused by ntkrnlmp.exe (nt !RtlStringFromGUID+4fb5 )
This was logged with Microsoft.
From the Memory dump, it was apparent that System was in the process of syncing the current control set (control set 1) to last known good (control set 2). While doing so it detected inconsistency in \registry\machine\system\ControlSet002. This initiated the crash. (Basically a corruption in the registry)
Create a new LastKnownGood Configuration in the registry, which
can sync with Current Control set correctly. We should change ControlSet002 (currently LastKnownGood) to failed, and create a new ControlSet003(new LastKnownGood)
Steps to do this:
Boot failed server in Safe Mode. Open the registry HKEY_LOCAL_MACHINE\SYSTEM\Select
Change LastKnownGood to 3
Change Failed to 2