In this article, we will learn how to repair the Windows bootloader on a modern computer that uses UEFI instead of a classic BIOS and GPT disk partition table (instead of MBR). The corruption of the Windows bootloader can occur after installing a second OS (in Dual Boot configurations), file system corruption, incorrect actions during Windows recovery, removal of some data on hidden partitions, malicious software (virus, ransomware, etc.), and for some other reasons. (adsbygoogle = window.adsbygoogle []).push();
Download File https://tinurli.com/2yMInm
A UEFI computer with Windows installed in native mode will not be able to boot if the Windows EFI bootloader is corrupted. When trying to boot from a disk with a damaged or missing EFI bootloader, the following BSOD (Blue Screen of Death) error appears:
In this example, you can see that the EFI boot partition has the partition 2 index (aka Volume 5 with the Hidden label). The easiest way to identify an EFI partition is by the FAT32 file system and 100 MB in size (this is the standard minimum size of EFI partition for Windows computers; in rare cases, the partition size may differ). The most commonly used label for it is System EFI or ESP/EFI System Partition).
In this case, K: is the drive letter assigned to the EFI partition just above. If the \EFI\Microsoft\Boot\ directory is missing (error The system cannot find the path specified), try the following commands:
You can use all these commands only for MBR-based disks. If your computer boots in UEFI mode, then it uses the GPT partition table (as in our case). Therefore, when you run bootrec commands, you will see an error: access is denied
You need to use the BCDBoot.exe tool to restore bootloader files and fix the boot records on the EFI partition by copying them from the system directory on the Windows partition. The BCD bootloader configuration is recreated using the %WINDIR%\System32\Config\BCD-Template file.
Delete the current BCD configuration file by renaming it (this will keep the old boot configuration as a backup): ren BCD BCD.bak
Using the bcdboot tool, you need to copy the critical files of the UEFI boot environment from the system directory to the EFI boot partition and recreate the BCD bootloader config file:
bcdboot C:\Windows /l en-us /s k: /f ALL
An entry should appear in the Windows Boot Manager section containing the full path to the UEFI boot file (\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI).In this example, it is located on volume 5 (partition=\Device\HarddiskVolume5).
The Windows Boot Manager section must contain the path to the EFI partition (=\Device\HarddiskVolume5 ) and the path to the boot manager file (bootmgfw.efi). The Windows Boot Loader section contains the Windows partition info and the path to the Windows EFI bootloader ( \Windows\system32\winload.efi). When you turn it on, your computer will pass control to the EFI bootloader, which will start the Windows bootloader.
Now you need to restart your computer and disconnect the bootable media. If you did everything correctly, the Windows Boot Manager should appear in the list of bootable devices, where you can choose a desired operating system to boot. Your EFI bootloader and BCD configuration have been restored successfully!
I was looking for fix for so long but finally this solved my problem. I thought thats end for 1TB of data on my disk because of damaged boot BCD files but this helped me a lot! Thank you for this guide
what about if you press f9 for your bios boot options, not only do I see the bootmanager as an option, I see the second fat32 partition I made with winodow setup ISO extracted on it as a boot option label as my Hard drive model number . IE ST1503xxxxxxxx , something like that, and when I choose that, it goes right into setup to install or repair my computer..
For a moment I thought I would never be able to bring my laptop back to life again, but this page helped me to fix the problem. Just needed to change the language in the syntax to nl-NL and find the right volume and file (was 300MB in my case, but also a FAT32, also slighly different name of the BCD-file). Thanks a lot!
I skipped the steps with the FAT 32 and got all the way until renaming BCD I fixed it and was successful but when I went to rename it access got denied. When I attempted to copy the boot files they also failed. Any other ideas?
Thanks a lot.
Worked for me too on Windows 10. I read many forums and you were the only one to provide the correct instructions for creating the BCD store again:
bcdboot C:\Windows /l en-us /s k: /f ALL
In my case I actually had to run the free Boot-Repair tool afterwards but I got the job done.
if your os is corrupted, you could have use windows 10 setup ISO on a usb and repaired it by using DISM command from the command prompt and targeted C: by using the install.wim as your source to fix it .
I have read many similar articles on how to fix Windows boot problem in order to get mine working again. This is the ONLY article that actually works. You have helped me a lot. Thank you so very much!!!
This works! Thank you i appreciate it. For all who get the failure when initializing library system volume eroor. Just try the next FAT32 volume. I got that error at first. I tried the next FAT32 drive and it worked. Trust me. I was frustrated too, until i found the blog. Thank again.
Thanks for your help. I was getting no where with trying to fix the boot issues with this server. The boot info was corrupted or just not readable. No matter what i did nothing worked until i tried your steps. yours worked on the first try.
Havent been to H/W for very long and while moving my OS to SSD and then cleaning up my HDD i messed it up. Was quite confused about the solutions provided and i was getting errors because I was looking at wrong partitions. Never knew there is something called EFI partition too. This article helped a lot and find the exact partition which i should work with when all other articles didnt mention about EFI and how to find them in the Volume. Thanks a lot it worked after I ran bootrec /rebuildbcd on the EFI partition selecting the folder of EFI.
Beware if you have optane on a gigabyte board, there is no solution. Reinstalling is mandatory. I dual boot win7 and 10, unplugging the drives is required when going between OSs. Otherwise win7 will see your win10 drive, but not the optane, and it will see an incomplete array and attempt to repair it, obliterating your install in the process. A bcd repair or manual reentry is impossible because the RAID is not visible to the system in recovery modes. It sees 2 separate drives, one with your files and the seemingly empty (but not really empty) optane drive, where the meta is held.
It never occurred to me that what I did then was related to an ongoing problem of not being able to update from Windows 10 version 1709 no matter what I tried. Many of you will have already figured this out but for those having problems with Windows update this may be of some help.
It started recently when once again I wanted to update my desktop PC to the same Windows version as my laptop which never had problems with updating. I found I could not even get into Safe Mode; I could not access boot options in MSConfig, and no joy with F8. Other ways to interrupt the boot process did not work, it just went to BIOS setup.
I would just like to say a BIG THANK YOU! You saved my Windows 7 installation with all the small little settings and apps I have inside. Thank you. I have a GPT record so I used the approach like you suggested, with copying and it worked. Saved me a lot of time. Cheers
Hi, Whoever wrote this post i am thanking them very much. it was create content and fixed lot of effort instead of going new windows installation.
AS you have MENTIONED, i have used three tools bcdedit, EasyUEFI, BOOTICEx64. I have mistankly remove the main bootrecord.
Perfect. Using an ubuntu-live-usb-stick storting of WIN10 on a MSI GPT UEFI was corrupted. On internet there are many recommendations, which made the situation worse and worse.
However using your recommendation, step by step, the start file ESP in FAT 32 was recovered and win10 started again.
Thank you very much for very and only professional advise.
Best regards!
Hi Zoki, I have the same problem as yours and could fix the ESP in FAT32 following the pretty recommendations but I still cannot make Windows 10 starting.
Did you put the Ubuntu live usb again or just without it?
Thanks & Best Regards
Alhamdulillah. Terima Kasih Atas tips dan panduan nya. Berkat Cara ini, saya akhirnya tidak jadi install ulang windows 10 di komputer desktop saya. Saya bersyukur bisa menemukan cara berharga ini sehingga menjadi penyelamat hidup saya. Sekali lagi, terima kasih atas tips dan panduan nya. Sukses selalu.
This was a point of contention for me, because I had done everything instructed and this was the only thing not matching up. But be assured, that is not your issue. What ended up eventually helping me was this:
WOW, this totally saved me. Thank you! All the other guides just tell you the bare minimum on what to do ie just type bootrec /fixboot blah blah blah. This article however gets into the true details on what to do! Massive thanks!
Hi, yes I still need help with this issue. I ended up having to purchase a new computer but I still want to be able to use my other one. If you can help me that would be superb! Please let me know how to contact you perhaps?
I followed tutorials all day,im not joking. 6+hrs Burning hirens boot cd and using partitioning tools, the mbr tools. Installing grub just to try and get into windows.. Turning UEFI to legacy, and back. Trying different bbs options in the bios. Loads of things..
Every other website was listing /fixmbr etc which resulted in the access denied.
I have worked in IT before MOST of you were born and this is by far the BEST and most detailed set of instructions to restore a dead drive and keep it from becoming a brick. Kudos to the author for not leaving out a single step (including what ifs) in the process of creating this documents!
b1e95dc632