Important: Make sure that your installation media/recovery disk is the same Windows version and edition as the OS you’re trying to fix. If you’re using a Linux machine, you can check our how to make a bootable Windows USB on Linux here If you don’t have the installation disk with you, you can download ISOs here or use the Windows Media Creation Tool if you’re using a Windows machine.
Windows installation media/recovery disk (e.g. Going back to the BCD error, before you bring your computer to a service center and get charged for its repair, you can try this DIY fix first. If you want to be sure about your files, you can use a Linux live-usb to check. They’re probably still safe as it’s just your OS that’s being problematic. It seems scary but it should be fixed in a pretty straightforward manner. A missing or corrupted Boot Configuration Data (BCD) file prevents your OS from booting up. You’ve probably encountered the image above or one of its iterations while booting into your Windows computer.