Encountering the dreaded blue screen with error code 0xc0000098 on your Windows 11 system can be a frustrating experience, often leaving you locked out of your own computer. This error typically signals a problem with the Boot Configuration Data (BCD) – the critical files that tell your computer how to start Windows. But don’t despair! This guide provides a step-by-step approach to diagnose and fix this common boot issue, getting you back up and running.
What Causes Error 0xc0000098?
This error arises when your Windows 11 system can’t find or read the necessary BCD files. Several factors can trigger this, including:
- Failed Windows Updates: Updates that are interrupted or corrupted can damage boot files.
- Disk Errors: Problems with your hard drive or SSD can make boot data inaccessible.
- Incorrect BIOS/UEFI Settings: Incorrect boot order or other settings in your system’s firmware can lead to this error.
Corrupted or Missing Files: Critical boot files like \BCD, winload.efi, or those within \windows\system32\config\system can be damaged or missing.
Issues with Installation Media: Problems during the creation of a Windows 11 installation USB drive.
Let’s dive into the solutions!
1. Startup Repair: Your First Line of Defense
Windows 11 has a built-in tool designed to automatically fix boot-related problems. Here’s how to use it:
Boot from Installation Media: Insert your Windows 11 installation USB or recovery drive into your computer. Power on the device and repeatedly press the appropriate key (usually F12, F2, Esc, or Del) to enter the boot menu and select your USB drive as the boot device.
Access Recovery Options: On the Windows Setup screen, choose your preferred language settings and click “Next”. Instead of “Install now,” select “Repair your computer” at the bottom left.

Run Startup Repair: In the recovery options, choose “Troubleshoot,” then “Advanced options,” and finally, “Startup Repair.” Windows will scan your system and attempt to automatically resolve any issues, including those affecting the BCD.

If successful, Startup Repair will restart your computer, and Windows should boot normally.
2. Rebuilding the BCD with Command Prompt
If Startup Repair fails, you can manually rebuild the BCD using the Command Prompt. This process repairs or replaces potentially corrupt boot configuration data.
1- Boot from Installation Media: As above, boot from your Windows 11 installation USB or recovery drive and access the Windows Setup screen. Choose “Repair your computer” and navigate to “Troubleshoot” > “Advanced options” > “Command Prompt.”

2- Execute Commands: In the Command Prompt window, enter the following commands one by one, pressing Enter after each:
bootrec /fixmbrbootrec /fixbootbootrec /scanosbootrec /rebuildbcd
Y and press Enter.

Restart Your PC: Close the Command Prompt and restart your computer to see if the error is resolved.
3. Checking and Repairing Disk Errors
Disk errors can prevent Windows from accessing boot data. Use the chkdsk command to scan and repair your system drive.
1- Open Command Prompt: Access the Command Prompt from the Windows Recovery Environment as described in the previous steps.

2- Run Disk Check: Enter the following command (assuming C: is your system drive): chkdsk c: /f The /f switch instructs Windows to fix any detected file system errors. Allow the process to complete and then restart your computer.

4. Running System File Checker (SFC) Offline
Corrupted system files can cause this error. The System File Checker (SFC) utility can scan and replace these.
1- Access Command Prompt: Again, open Command Prompt from the recovery environment.

2- Run SFC Command: Type and execute the following command: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows (Adjust the drive letter if your Windows installation is not on C:). This command scans the specified Windows directory for corrupted files and replaces them with correct versions. Restart your system after the process completes.

5. System Restore to a Previous Point
If you created system restore points before the issue, restoring your system to an earlier state might resolve the problem.
1- Enter Recovery Environment: Access the Windows Recovery Environment and navigate to “Troubleshoot” > “Advanced options” > “System Restore.”

2- Choose a Restore Point: Follow the on-screen instructions to select a restore point from before the error occurred. Your system will restart and attempt to revert to that state. Note: This process won’t affect your personal files but will remove apps and drivers installed after the restore point.
6. Resetting Your PC (Keep Files or Remove Everything)
If previous methods have failed, resetting your PC can reinstall Windows.
- Enter Recovery Environment: Navigate to “Troubleshoot” > “Reset this PC” in the recovery environment.
- Choose Your Option: Select “Keep my files” to retain your personal files or “Remove everything” for a clean installation. Follow the prompts to complete the reset.

7. Clean Installation of Windows 11 (Last Resort)
If all else fails, a clean installation is the most reliable solution. This process will erase all data on your Windows drive, so back up your important files first.
- Create Installation Media: Create a new Windows 11 installation USB using the official Media Creation Tool on a working computer.
- Boot from USB: Boot from the USB drive on your affected computer, as described above. On the setup screen, select “Install now” and follow the prompts.
- Choose Custom Installation: When prompted, select “Custom: Install Windows only (advanced)” to perform a clean installation. Delete old Windows partitions if necessary and choose the unallocated space to install Windows 11.
Additional Troubleshooting Tips for Success
- Verify Boot Order: Ensure your BIOS/UEFI settings are configured to boot from the correct drive.
- Disconnect Unnecessary Drives: Remove any external HDDs or secondary internal disks to eliminate potential boot conflicts.
- Use Reliable Installation Media: Use official ISO files and a reliable USB drive for installation media creation to prevent corruption.
- Check for RAID/NVMe Drivers: Ensure you have appropriate drivers loaded during installation or repair if your system uses RAID or NVMe drives.
- Check Connections and Update Firmware: Examine drive connections and, if possible, update firmware.
Conclusion:
Error 0xc0000098 doesn’t have to be the end of your computing experience. By systematically applying the steps outlined above, you can diagnose and repair the root causes of this frustrating boot issue. Whether through automated repair, manual BCD reconstruction, or, as a last resort, a clean install, you can overcome this obstacle and restore your Windows 11 system to full functionality. Remember to back up your important data regularly and practice smart update management to minimize the risk of future boot problems.
And if you'd like to go a step further in supporting us, you can treat us to a virtual coffee ☕️. Thank you for your support ❤️!
We do not support or promote any form of piracy, copyright infringement, or illegal use of software, video content, or digital resources.
Any mention of third-party sites, tools, or platforms is purely for informational purposes. It is the responsibility of each reader to comply with the laws in their country, as well as the terms of use of the services mentioned.
We strongly encourage the use of legal, open-source, or official solutions in a responsible manner.


Hello,
Thank you for your article. However, none of the options described work. The USB Win11 install media boots right into recovery with press F8 for recovery options that have Safe Mode, Safe Mode Command Prompt, others. None work it returns to the first menu with Press Enter to try again, Press F8 for recover options , Press ESC to enter UEFI settinigs. The autorun.inf file on the win11 install USB contains an auto run section with “[AutoRun]
open=sources\SetupError.exe x64
icon=sources\SetupError.exe,0”
I remove it and try booting again, but no change, right back to recovery. Can CMD.EXE be added to the Win11 install USB with the sfc /scannow command into the [AutoRun] section?
Take care,
Doug
Step 1: Launch the Windows Recovery Command Prompt
Boot from your official Microsoft Windows 11 USB drive (you can recreate it using the Media Creation Tool).
When you see “Press any key to boot from USB…”, do so.
If you reach the installation screen, click:
Repair your computer → Troubleshoot → Command Prompt
(If it automatically boots into recovery, choose Advanced options → Command Prompt)
Step 2: Identify the Correct Windows Partition
In the Command Prompt, type:
diskpart
list vol
Look for the volume labeled Windows or OS, note its drive letter (for example, C:), then type:
C:
exit
Step 3: Rebuild the Boot Configuration
Type these commands one by one (replace C: with your Windows drive if different):
C:
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
If you see the message “Access is denied” on the /fixboot command, use these instead:
bcdboot C:\Windows /s Z: /f UEFI
(where Z: is your EFI partition — usually 100–300 MB in size and formatted as FAT32; you can assign it a letter if it doesn’t have one using diskpart).
Step 4: Run the System File Checker (if Windows files are accessible)
If your Windows installation is still present and mountable, type:
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
This scans and repairs Windows files offline.