Since I installed Mac OS X El Capitan on my laptop, I seldom used Windows 10. The other day, I had to use it for some tutorials with Windows and it updated itself then hung the computer. Turned off the power and the HP blue screen came up with the message “Your PC ran into a problem and needs to restart. We’re just collecting some error info, and then we’ll restart for you. MACHINE_CHECK_EXCEPTION” and it sit there forever, I had to turn off again with power button.
Turned on the power the second time, it tried to automatically fix the problem then failed, went into debugging options, I tried everyone of the advance options, but none of them work: startup repair, recover, reset.
After a few times, it didn’t go into the repair mode any more, I had to use the Windows USB boot disk to access the advanced options repair. This time, I used Command Prompt and run chkdsk c: /F . It scanned and fixed and deleted files then rebooted. Now the blue screen came up with NTFS_FILE_SYSTEM Error. Ran chkdsk c:/r /x again, it rebooted and now the new blue screen \EFI\Microsoft\Boot\BCD. So now I have to fix the boot BCD file.
To fix the boot EFI\Microsoft\Boot\BCD, I need to go to Command Prompt again using Windows 8 or 10 USB or ISO disk to access the Advance options repair menu. I need to access diskpart -> list vol to find out where the EFI folder is.
I have 2 hard drives: 1 SSD and 1 1TB, I had 2 EFI folders. If you only have 1 EFI folder, you can just use the commands:
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Yes
Because I have 2 EFI folders, I need to select the correct EFI folder to install the BCD.
diskpart
list vol
select vol 5
assign letter=b:
exit
bootrec /fixboot
bcdboot c:\windows /s b: /f ALL
After this the EFI sector is fixed and it boots again to Windows 10. I didn’t have to reinstall anything.
5 Comments
Hello,
Great guide but in need special assistance. I made some wrong changes:
diskpart
list vol
select vol 5
assign letter=b:
exit
bootrec /fixboot
bcdboot c:\windows /s b: /f ALL
I did that but my partition wasn’t EFI.. And I just made it EFI and I cannot boot the system anymore and fix it.. Now when I enter Bios it says that my windows boot manager is EFI and partition to. Can I reverse those changes somehow? I cannot boot the PC
Error code: 0xc0000225 system registry not found or something like that
if you redo this on a correct partition FAT, it will work. All you did was assign the boot to a wrong partition. What this does is redirect the boot partition to any EFI folder you created and chose, it must be FAT32
I don’t have any FAT volume, only NTFS and RAW. Any idea why is that or how to fix it?
I’d really appreciate any help
Are you sure your system is UEFI? The size of the EFI should be less than 300MB
Hi! I’ve only one drive, but when I used the “bootrec /rebuildbcd”, after I typed “Y”, it gave the error message “The requested system device cannot be found”. It turns out that some(?) USB3 connections are not working properly for the recovery environment, and the suggestion is that I should use an USB2 connection instead. Problem is that my computer (an Asus UX360CA) doesn’t have an USB2 connector.
The solution was Fix #5 on https://neosmart.net/wiki/the-drive-where-windows-is-installed-is-locked/ which says to assign the letter x to the EFI partition (just like you did), then “cd /d x:\EFI\Microsoft\Boot”, “bootrec /fixboot”, “ren BCD BCD.Backup”, and “bcdboot c:\Windows /l en-us /s x: /f ALL”. It boots fine now, thankfully.