Recovering from BCD error 0xC000000D with BitLocker and Hyper-V

No Gravatar

I recently had a nasty issue with my seriously awesome laptop (Lenovo ThinkPad P50 with a Samsung 950 Pro NVMe n.2 SSD).  After a full shutdown (hold Shift when shutting down Windows 10) on the next power on I got a BitLocker recovery prompt.

That’s happened before, so I just powered off and back on like I’ve always done.  However, this time I was greeted with a foreboding BCD error:


Keep reading at

I pulled out my handy-dandy USB drive that just happened to still be configured as boot media for Windows 10 v1511 and used the F12 boot selection to boot to it.  When prompted to install Windows, instead I typed Shift+F10 to get a command prompt.

I ran the following commands to confirm that the SSD did still exist.

All seemed fine there.

Time to rebuild the BCD… so I ran the following to scan for the instance of Windows

Hmm… no Windows OS found.  Ah, BitLocker is enabled.  Of course BootRec can find anything.  Let’s unlock the drive with the following commands:

Great!  Let’s try BootRec again:

Time to see if it worked… reboot… success!  Windows loaded right up.  Awesome, I’m back in business.

I decided to suspend BitLocker on my Windows partition for now just to be safe.  I’ll re-enable it after I’m sure everything is working.

Now let’s get back to work… booting up my ConfigMgr lab…

Doh!  The VM guest failed to start because the hypervisor is not running.


Checking Services confirmed that the HV Host Service was stopped but still set to Automatic.  Attempting to start the service threw another error:

Windows could not start the HV Host Service service on Local Computer.  Error 31: A device attached to the system is not functioning.


That’s right… I destroyed the Hypervisor configuration in BCD.  Let’s go fix that:

P.S.  PowerShell doesn’t like the ‘{current}’ syntax so I used a standard Administrative Command Prompt

BCD configuration before and after the change:

image image

The home stretch…

Reboot again and Hyper-V is now running my VM lab!  Whew.  That’s wasn’t much fun!


Thanks to a few blogs and forum posts that helped out a ton.

August 12, 2016

Posted In: Windows 10