In this article we will learn how to repair Windows 10 / 8.1 /8 bootloader on a computer with UEFI. The corruption of the Windows bootloader can occur after the installation of the second OS (in Dual Boot configurations), be caused by the erroneous actions while failure recovering, removal of some data on hidden partitions, malicious software (virus, ransomware, etc.) and for some other reasons.
Jul 03, 2017 The boot sector is a small section at the beginning of a hard drive that gets created whenever you format the drive. The boot sector contains some code and data that helps BIOS hand off control of the startup process to Windows. The boot sector also hosts the Master Boot Record (MBR). In this video, you can see how to access the Windows 10 Boot Manager, which is similar to the Windows 8/8.1 Boot Manager, which is very interactive.
Hi I messed up Windows 10 boot loader with a program called Easy BCD. There is no way for me to get into Windows 10 right now. Can someone help me do this. I can access all the files via Linux. If Windows is working fine and you can access the desktop, then you can use the below-mentioned methods to access Windows 10 boot options. I – Hold the Shift key and restart. This is the easiest way to access Windows 10 boot options. All you need to do is hold down the Shift key on your keyboard and restart the PC.
In this article, we will show how to repair a damaged or deleted bootloader on Windows 10 / Windows 8.1 / 8 systems with EFI. This guide should help in case when the system does not boot due to missing or damaged boot configuration in EFIMicrosoftBootBCD.
The boot configuration data for your PC is missing: EFIMicrosoftBootBCD
If the bootloader in Windows on UEFI system is corrupted – it’s impossible to start the system or user facing a blue screen with the following error:
The boot configuration data for your PC is missing or contains errors. File :EFIMicrosoftBootBCD Error code: 0xc000000f
All this can imply corruption or even total removal of Windows 10 / 8 bootloader configuration – Boot Configuration Data (BCD). You won’t be able to recover the BCD loader using bcdedit. When running this command, the following error appears:
The boot configuration data store could not be found. The requested system device cannot be found
The matter is that the BCD loader configuration in Windows 8 installed in UEFI mode is stored on a separate hidden EFI volume (100 MB in size on FAT32 file system). Bcdedit can’t see it and, therefore, manage the bootloader configuration on it.
Automatic Windows Bootloader Recovery
The procedure for automatic recovery of the bootloader, which is used in the Windows Recovery Environment (WinRe), is usually powerless in such cases. But it’s worth trying all the same:
Try to boot system from the recovery disc or installation Windows 10 media
On the installation screen, click the Restore System
Then select Troubleshoot -> Startup Repair and select the OS whose bootloader you want to try to recover
But most likely the result will be negative: Automatic Repair Couldn’t Repair Your PC
Manually restoring the Windows 10/ 8 bootloader using the installation media
Let’s proceed to the procedure of manual recovery of the EFI boot loader on Windows 10 / 8.1.
So to recover the loader (BCD) configuration, you have to boot from the original installation Windows 10 media (or a recovery disk or a special EFI bootable flash drive) and open the command line choosing System Restore – > Troubleshoot-> Command Prompt or pressing Shift+F10).
Start diskpart:
Display the list of disks in the system:
Select the disk with Windows installed (if there is one disk in the system, it will have zero index):
Display the list of volumes in the system:
In this example, you can see that the EFI volume (it can easily be recognized by its size of 100 MB and FAT32 file system) has the index volume 1, and the boot partition with Windows installed is volume 3.
Assign any disk letter to the EFI volume:
A line that indicates the successful assignment of the drive letter to the EFI partition should appear:
DiskPart is successfully assigned the drive letter or mount point.
Close diskpart:
Go to the bootloader directory in the hidden volume
In this case, K: is the drive letter assigned to the EFI partition just above. If the EFIMicrosoftBoot directory does not exist (error The system cannot find the path specified), try the following commands: cd /d K:Boot or cd /d K:ESDWindowsEFIMicrosoftBoot
Recreate the boot sector on the boot partition
Delete the current BCD configuration file by renaming it (save the older configuration as a backup):
With bcdboot.exe, create BCD store again by copying the boot files from the system directory:
where C:Windows – is the path to the directory with Windows 8 installed. /f ALL – means that the boot files have to be copied including those for UEFI and BIOS computers (potential ability to boot in EFI and BIOS systems) /l en-us – is a type of the system locale. By default, en-us – English (USA) is used.
Tip. If you use a localized version of Windows 10 / Windows 8, the command will be different. For example, in the Windows version for the UK, use the following command bcdboot c:Windows /l en-uk /s K: /f ALL Version for Netherlands: bcdboot c:Windows /l nl-NL /s K: /f ALL
Possible errors:
BFSVC Error: Can not open the BCD template store. status – [c000000f] – check if the entered command is correct and whether you have localized Windows (in such case you need specify the local language code in a correct way);
BFSVC Error: Error copying boot files from Last Error = 0x570 – try to check drive with the help of command: CHKDSK K: /F
Execute the commands:
bootrec /scanos bootrec /rebuildbcd
Now you have to restart your computer. Then the Windows Boot Manager appears in the list of bootable devices, where you can choose desired operating system to start.
The instructions for restoring the EFI bootloader in Windows 7 are slightly different – see the article Repair Deleted EFI Boot Partition in Windows 7.
PowerShell: Generating QR Code for Wi-Fi Network in..
October 8, 2019
How to Configure Google Chrome Using Group Policy..
October 8, 2019
Wi-Fi Network Disappears After Sleep/Wake/Hibernate in Windows 10
October 4, 2019
Installing SFTP (SSH FTP) Server on Windows with..
October 2, 2019
Boot Loader Windows 10 Linux
How to Disable UAC Prompt for Specific Applications..
September 27, 2019
You can restore Windows Boot Loader manually using Windows utilities
Introduction
Should you need to restore Windows Boot Loader, proceed as described in this article.
One of the symptoms when you need to do this, is when you have the BOOTMGR is missing error on an attempt to start Windows.
Solution
Windows 2000/XP/Server 2003 Installation CD
Boot the computer from the installation CD, start Recovery Console and run fixmbr and fixboot commands.
Further information is available at:
Windows 2000: http://support.microsoft.com/kb/229716/
Windows XP: see here
Windows Server 2003: http://support.microsoft.com/kb/326215/
(!) If the system partition was not restored to its original position, then the boot.ini file needs to be updated.
This can be done with the Recovery Console command bootcfg /rebuild
Further information is available at:
Windows Server 2003: http://support.microsoft.com/kb/317521/
For Windows 2000:
Create a boot disk first: http://support.microsoft.com/kb/301680/
Then change the boot.ini from Windows: http://support.microsoft.com/kb/311578/
Windows Vista or Windows 7 installation CD/DVD
Boot from Windows Vista installation disc, select language and keyboard or input method, click Next and choose to Repair your computer. Then you will need to select the operating system that you want to repair. In the System Recovery Options dialog box click Command Prompt and type the following:
Bootrec.exe /FixMbr Bootrec.exe /FixBoot
If you want to completely rebuild Windows Vista Boot Configuration Data, then you should issue the following command:
Bootrec.exe /RebuildBcd
This command scans all disks for installations that are compatible with Windows Vista. Additionally, this option also allows select the installations that you want to add to the Boot Configuration Data store.
Bmw tis download. Further information is available at https://support.microsoft.com/en-us/help/927392/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues
Windows 8/8.1
See instructions at Microsoft Knowledge Base http://support.microsoft.com/kb/2622803/
Windows 10
1. Boot from Windows 10 installation DVD.
2. Press any key at the “Press any key to boot” message
3. When you get to the screen with 'Install now' button, сlick the Repair your computer button in the lower-left corner.
4. Click on Troubleshoot
5. Click on Advanced options, then select Command prompt
6. Use Bootrec tool to repair the MBR by running the following commands in command prompt, one after the other:
bootrec /RebuildBcd
bootrec /fixMbr
bootrec /fixboot
7. Exit and reboot the computer
You can find more information at https://neosmart.net/wiki/bootrec/#Bootrec_in_Windows10
Stm32f4 Dis Boot Loader Windows
More information
Boot Loader Windows Editor
Please keep in mind that fixmbr is supported only on x86-based machines.