I accidentally deleted the bcd file for Windows 10

As the title says, I deleted the bcd boot loader for Windows 10 by mistake using Easy BCD, and when I tried to restart the PC it could not boot and got the error.

Note I have access to grub2 Linux command line as I had a USB media to install Linux (which I tried to install it but didn't succeeded with it) and I don't have any other device to create USB media for Windows 10.

1


Solution 1:

If you have ever created a recovery disk for the computer, now is the time to use it.

If you haven't, then you absolutely need a Windows 10 installation media. Perhaps a friend could help you in creating one.

When you have the boot media, you need to boot into the Command Prompt in order to issue the command:

bootrec /rebuildbcd

For more information with screenshots see the article How to Rebuild the BCD in Windows.