Cause and Fix
The
most likely cause of this error is that you tried to dual boot two operating
systems and then later decided to remove one. This inadvertently may have
deleted the bcd boot store. The trick here is to run the above commands in the
right order and set your boot partition to active. Let’s get started.
Make sure your boot partition is set to
Active
Boot
from your DVD and choose the repair option. From the recovery console type
“diskpart” and press enter and then type “list disk” to get a list of physical
disks installed.


Repair the MBR and boot sectors
From
the recovery console run these commands in this order:
§
bootrec /fixmbr
§
bootrec /fixboot
Now reboot the machine again into the
recovery console and type “bcdboot path to
your windows folder“. Your windows folder will normally be c:\windows
but in the recovery console it may show up as D:\windows so make sure you get
the path right. In my case it was “bcdboot d:\windows”. This will will build a
new bcd boot store and copy over all boot files needed to boot. Now reboot your
machine one last time and it should work. If it doesn’t run the two bootrec
commands again.
If
you have any additional operating systems you want to add use the bootrec
/scanos command.