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.