You’re right — that’s the usual cause and the usual fix. Below is a compact, safe checklist you can follow (or copy/paste into WinRE / an elevated CMD). I’ve included the specific commands and the common gotchas for a dual‑boot Windows 11 system.
Important: before you start, back up any irreplaceable files from both installs (use a working Windows session or WinPE/Hiren to copy them off).
1) Prep — boot media & identify disks
- Boot the PC into the working Windows 11 OR boot from Windows 11 installation USB → Repair your computer → Troubleshoot → Command Prompt.
- In the recovery Command Prompt, run:
Code:
diskpart
list disk
select disk X (replace X with your system disk number)
list vol
exit
Note the FAT32 volume that’s the EFI System Partition (ESP).
2) Backup current BCD / EFI (do this first)
- Export BCD and copy EFI contents:
Code:
bcdedit /export C:\BCD_Backup
diskpart
select disk X
select vol Y (Y = the EFI/FAT32 volume from step 1)
assign letter=Z
exit
robocopy Z:\ C:\EFI_Backup /e
This preserves the current boot files before you touch them.
3) Try the standard bootrec sequence
- From the recovery prompt run:
Code:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
This is the usual first‑line repair for BCD/boot issues.
4) If bootrec /fixboot returns “Access is denied”
- This is common on UEFI/GPT systems. Mount the EFI partition and use bcdboot to recreate the UEFI boot files:
Code:
diskpart
select disk X
select partition Y (EFI partition)
assign letter=Z:
exit
bcdboot C:\Windows /s Z: /f UEFI
Replace C: with the drive letter of the affected Windows installation if it’s not C: in WinRE. Using bcdboot rebuilds the UEFI boot manager files if /fixboot fails. fileciteturn1file16turn1file12
5) If winload.efi itself is missing/corrupt on the Windows partition
- Repair system files (offline SFC) from WinRE (set correct drive letter for the Windows volume):
Code:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
DISM /Image:C:\ /Cleanup-Image /RestoreHealth
If DISM needs source files, use a matching Windows install.wim as source or run DISM online from the working install. These restore the missing/corrupt system files (including winload.efi).
6) If BCD entries still point at the wrong installation (dual‑boot specifics)
- Inspect the BCD and fix/create entries:
bcdedit /enum all
If needed, set the boot loader entry for the second Windows:
Code:
bcdedit /set {default} device partition=C:
bcdedit /set {default} osdevice partition=C:
bcdedit /set {default} path \Windows\system32\winload.efi
bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
bcdedit /default {default}
Use the GUIDs you get from /enum all to add both installs to the boot menu or reorder the display. For UEFI systems you’ll generally prefer bcdboot to regenerate entries, but bcdedit is useful to tweak them.
7) If the EFI partition is missing/damaged — recreate it
- (Only if you have a verified backup of your files) create a new ESP and repopulate it:
Code:
diskpart
select disk X
create partition efi size=100
format fs=fat32 quick
assign letter=Z
exit
bcdboot C:\Windows /s Z: /f UEFI
This rebuilds the EFI area and boot files from your Windows install.
8) Final checks & Recovery Environment
- Verify WinRE status and re-enable if necessary:
Code:
reagentc /info
reagentc /enable
- Reboot and test both entries. If one install still doesn’t show, run bcdedit /set {bootmgr} displayorder {GUID1} {GUID2} (use the GUIDs from /enum all).
Common gotchas and notes
- Make sure the PC is booting in the same mode both Windows installs expect (UEFI vs Legacy/CSM). GPT disks require UEFI. Switching modes can make an OS unbootable.
- If you have NVMe or special drivers and WinRE can't see the drive, use a WinPE that includes them (Hiren/WinPE or your OEM rescue media) to copy data off first.
- If you’re unsure which partition is the Windows partition in WinRE, run
dir C:\
(then D:, E: etc.) to locate the Windows folder before running commands that change boot files.
If you want, post the outputs (paste the text) of these three commands (from WinRE Command Prompt) and I’ll give the exact commands to run for your machine:
- diskpart → list disk and list vol (paste both)
- bcdedit /enum all
- dir C:\Windows\system32\winload.efi (or check the drive letter that contains the Windows folder)
Tell me those outputs and I’ll tailor the exact disk/partition numbers and the precise commands to repair your dual‑boot safely.