Windows: Rebuilding BCD from Scratch
If you are not comfortable proceeding with this guide, please feel free to reach out to us and we will be more than happy to help.
You will need the following tools for this guide:
- A USB stick with a copy of the Windows installer.
Due to many reasons, Windows' boot information may need to be rebuilt. This includes the Windows 11 upgrade installer saying that it can't determine if the disk has enough space (even/epseically when there's plenty of space), or it is bluescreening on boot with the error code 0xc000000e.
- Boot into your Windows Installer USB (see Boot + BIOS Keys)
- Press
Next→Repair this computer(or press Alt-N → Alt-R) Troubleshooting→Advanced Options→Command PromptRun the following:
diskpart list disk sel disk [boot-drive] list volReplace
[boot-drive]above with the disk number of the boot drive; this is typically 0.Make a note of your boot partition's assigned letter (typically
C). This will be the largest part shown. You will need this in step 5.Run the following:
list partMake a note of the number for the partition labeled "System".
Run the following:
sel part [system-partition] assign letter=V: exitReplace
[system-partition]above with the partition number labeledSystemCarefully run the following:
format V: /FS:FAT32 bcdboot [boot-drive]:\windows /s V: /f UEFIReplace
[boot-drive]above with the boot partition's assigned letter you noted in step 2.Run the following:
bootrec /rebuildbcd
You should now be able to perform the action you were attempting to do before!