My parents' Windows 10 PC was showing a blue screen on startup:
Your PC needs to be repaired. A required device isn't connected or can't be accessed. Error code: 0xc000000e
When pressing F8, the screen would blink and show a slightly different message that said that \Windows\system32\winload.exe
was missing.
In multiple places on the Internet, people were indicating that it might have something to do with the "BCD".
I had two SATA SSD disks:
In the Stackoverflow page Unable to boot Windows 10 after cloning to SSD, a user suggested to boot from a USB disk with a Windows installation ISO, which I did. I select "Repair my computer", and pressed Maj+F10 to spaw a command prompt. I listed the volumes:
I tried the following:
It would end with the error message "multiple indistinguishable devices":
I tried two other commands. "fixboot" was failing with "access refused".
Also, bcdboot
would not work:
I think that's because the Boot folder isn't in my system partition F:\
. Instead, it is in my system protected partition I:\
:
I also realized that this disk was using an MBR (master boot record), which meant I would not be able to use the EFI boot method since it requires a GPT disk. So I tried mbr2gpt
:
In the post https://www.diskpart.com/gpt-mbr/mbr2gpt-cannot-find-os-partition-7201.html, it is suggested to check the contents of the BCD file. But the command fails for me:
The person also suggest giving the command the path to the BCD file. This time, it works:
As you can see, the device
and osdevice
both say unknown
for {bootmgr}
and {default}
.
At this point, I fixed up the entries {bootmgr}
and {default}
:
and I deleted the entries that I wasn't able to fix like the "Recovery" one and most of the others:
NOTE: don't worry about messing the BCD, you can bootrec /rebuildbcd
to fix everything. Actually, I should have moved from MBR to GPT after fixing bootrec /rebuildbcd
.
Then, mbr2gpt started working:
Back to the problem with bootrec /rebuildbcd
. was the only way to move forward, since my BCD file seemed to be completely off. The "multiple indistinguishable devices" had to be the key of the problem.
One thing that was suggested on Reddit to fix "multiple indistinguishable devices" was to "recreate" the system protected partition. It is actually very easy:
Then, re-copy the boot files to it:
You should now see the Boot folder:
In https://www.bleepingcomputer.com/forums/t/709202/windows-wont-boot-properly-resulting-in-error-code-0x0000007b/page-2, a user also reported "multiple indistinguishable devices". He mentioned something about multiple partitions that had the type "System protected partition". He mentioned the last 5 characters of the partition ID:
Partition Type | Partition ID |
---|---|
EFI | c12a7328-f81f-11d2-ba4b-00a0c93ec93b |
Data | ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 |
I realized that I had two "EFI" partitions: the one on disk 1 (expected), and the one on the USB disk:
So I changed the ID on the USB partition and it started working!
And then:
and it worked! The machine finally started booting to Windows 10.