dir B:\
EFI
(e.g., B:\EFI\Microsoft\Boot\
and similar).bootx64.efi
—this is your ESP and it’s in good shape.bcdboot C:\Windows /l en-us /s B: /f UEFI
C:\Windows
with the path to your actual Windows...bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
bcdboot C:\Windows /l en-us /s X: /f ALL
Thank you for the clear photo and details! Here’s what’s happening and what could help:
Analysis
- You have several partitions: some are NTFS (likely Windows), some are FAT32 (for live systems like KALI and YUMI), and two DVD/CD-ROMs.
- The system is booted into a Windows Recovery/Preinstallation Environment (notice the path is X:\windows\SYSTEM32\cmd.exe).
- The Windows System Reserved partition is visible, but Windows’ main partition isn’t clearly labeled as “Windows” in the list (G: and H: are likely your main Windows installations).
- Your boot process is skipping Windows and going straight to an external/removable volume or Linux.
Causes
- You might have changed a volume label, partition, or boot order, or your EFI boot record is messed up. Sometimes Linux distros overwrite or hide the Windows bootloader, especially with dual boot setups.
Steps to Fix
1. Unplug All External Drives
2. Set Windows Boot Manager as First Boot Option
- Disconnect any USB sticks or external HDDs not needed for booting. Sometimes the BIOS/UEFI just boots to the first available device.
3. Repair Windows Boot Loader
- Enter your BIOS/UEFI settings (usually pressing Del, F2, F10, F12, or Esc during boot—check your manufacturer’s splash screen).
- Set “Windows Boot Manager” as the first priority in the boot order.
Since you’re already in the recovery environment, do the following:
- In Command Prompt (what you have open), enter these commands one by one, pressing Enter after each:
Code:bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
4. Reboot Without USBs
- If you get “Access Denied” on /fixboot, enter:
bcdboot C:\Windows /l en-us /s X: /f ALL
(Change C:\Windows if your Windows partition is actually G: or H: per your volumes.)
- After successful repair, remove any live USBs and reboot. Windows should boot.
If You Still Can’t Boot
- Go back to BIOS and try “Boot override” or manual boot to any “Windows Boot Manager” entry.
- You may need to repair your EFI partition using diskpart if it's missing labels or active flags. Let me know if you want those detailed steps.
Let me know which drive is your actual Windows install (G:, H:, or another) if the above doesn’t resolve it, or if you see any specific boot errors—screenshots help!
We’ll get you back into Windows!
bootrec /fixmbr
worked (good sign).bootrec /fixboot
failed: Element not found
.bcdboot
returned BCD error codes 0xc00000bb
(Failed to set element application device, Failed to populate BCD store).diskpart
list, the likely EFI partition is Volume 4 (512 MB, FAT32, Ltr Gdiskpart
again:diskpart
list disk
list volume
select volume 4
assign letter=S
exit
bcdboot C:\Windows /l en-us /s S: /f UEFI
C:\Windows
with the correct letter (could be G:\Windows
, etc.—whichever contains your actual Windows
folder)./s S:
uses the letter just assigned to the EFI partition.dir S:\
and dir C:\Windows
for clarity./fixboot
, it often means the active boot partition isn’t set or the ESP is confused.\EFI\
(folder)\EFI\
, subfolders like Microsoft\
, and files like bootx64.efi
Windows
folder—this is not suitable as an EFI partition. This likely means:diskpart
select volume 9
assign letter=Z
exit
dir Z:\
EFI
folder here, that's your ESP.EFI
folder!Z:
) that has an EFI
folder or is empty (no huge apps), then run:bcdboot C:\Windows /l en-us /s Z: /f UEFI
C:\Windows
to match your Windows install location as needed.diskpart list disk
and diskpart list volume
again, so I can double-check your structure.\EFI
directory and bootloader filesbcdboot S:\Windows /l en-us /s S: /f UEFI
Boot files successfully created.
dir B:\
EFI
(e.g., B:\EFI\Microsoft\Boot\
and similar).bootx64.efi
—this is your ESP and it’s in good shape.bcdboot C:\Windows /l en-us /s B: /f UEFI
C:\Windows
with the path to your actual Windows installation if it’s different.)dir B:\EFI
and dir B:\EFI\Microsoft\Boot
results.EFI
(this is what we want to see)FileHistory
TeraBoxDownload
dir B:\EFI\Microsoft\Boot
bootmgfw.efi
or BCD
, that’s good.bcdboot C:\Windows /l en-us /s B: /f UEFI
FileHistory
or TeraBoxDownload
should NOT be on the EFI partition.EFI
should exist in the root of B:dir B:\EFI\Microsoft\Boot
and share the result, or tell me if you hit any errors during the bcdboot step. This will let us confirm everything is in place for a successful boot!Windows
, Program Files
, etc.). This is a regular Windows partition, NOT an EFI System Partition.EFI
folder → This is your correct EFI System Partition (ESP).dir B:\EFI\Microsoft\Boot
bootmgfw.efi
or BCD
, your ESP is healthy.bcdboot C:\Windows /l en-us /s B: /f UEFI
dir B:\EFI\Microsoft\Boot
or any error message during boot for further help.