Windows Boot Error 0xc0000098 / winload.efi Fix
\Windows\System32\winload.efiError code: 0xc0000098

Blue screen on boot showing winload.efi / 0xc0000098, or boots straight into BIOS, or Windows Boot Manager is missing from the boot list.
Root cause: Windows EFI boot entry is lost or BCD boot configuration is corrupted.
1. Check BIOS Boot Entriesβ
Enter BIOS and check if Windows Boot Manager exists in the boot list.
- If present β Set it as the first boot option, save and restart
- If missing β Continue with the repair steps below
MSI motherboards: press F11 for boot menu, DEL for BIOS setup.
2. Preparationβ
Prepare a Windows 11 installation USB drive (not a BIOS flash drive β it must boot into the Windows installer).
3. Enter Recovery Environmentβ
- Insert the USB drive, press
F11on boot, select theUEFIUSB boot entry - On the install screen, do NOT click "Install now"
- Click Repair your computer (bottom left) β Troubleshoot β Advanced options β Startup Repair
If Startup Repair fails (e.g. "could not repair" / SrtTrail.txt / automatic repair failed), use manual repair:
Troubleshoot β Advanced options β Command Prompt
4. Manual Repair Stepsβ
Step 1: List Partitionsβ
diskpart
list vol
Identify two partitions:
- EFI partition:
FAT32, size100MB ~ 300MB - Windows system partition:
NTFS, large capacity

Step 2: Assign a Drive Letter to the EFI Partitionβ
Assuming the EFI partition is Volume 2:
select vol 2
assign letter=S
exit
Replace 2 with your actual EFI partition number. S is a temporary drive letter.

Step 3: Verify EFI Partition Contentsβ
S:
dir
You should see an EFI directory:

Step 4: Identify the System Drive Letterβ
Drive letters may change in the recovery environment. Try each one:
dir C:\Windows
dir D:\Windows
dir E:\Windows
Whichever shows the Windows directory contents is the system drive.
Step 5: Rebuild EFI Boot Filesβ
Assuming the system drive is C: and EFI partition is S::
bcdboot C:\Windows /s S: /f UEFI
Success message: Boot files successfully created.
5. Common Errorsβ
bcdboot shows DiskPart help textβ
You haven't exited diskpart yet. Run exit first to return to the regular command prompt.
Error: Failure when initializing library system volumeβ
Wrong system drive or EFI drive letter wasn't assigned. Re-verify both, then run bcdboot again.
dir S:\ seems to show X: driveβ
Use two separate commands (S: then dir) instead of dir S:\.
6. After Repairβ
- Reboot into BIOS, confirm
Windows Boot Manager (your SSD)appears - Set it as the first boot option (
Boot Option #1 = Windows Boot Manager) F10to save and exit- Remove the USB drive, restart
7. Quick Referenceβ
Automatic Repairβ
USB boot β Repair your computer β Troubleshoot β Advanced options β Startup Repair
Manual Repairβ
diskpart
list vol
select vol <EFI partition number>
assign letter=S
exit
S:
dir
dir C:\Windows
dir D:\Windows
bcdboot <system drive>:\Windows /s S: /f UEFI
BIOS Setupβ
Boot mode = UEFI
Boot Option #1 = Windows Boot Manager
F10 save and exit, remove USB, restart