Loader Block Mismatch Error in Windows 11: How to Fix
In this article
A loader block mismatch error in Windows 11 is almost always a boot configuration problem, not a dead PC. The quickest fix is to boot from Windows installation media, open the Command Line, and run bootrec /rebuildbcd and bootrec /fixboot to repair the boot records. If that does not work, rebuilding the BCD store manually or running a startup repair usually resolves it. The error means the boot loader and the boot configuration data (BCD) no longer agree on where Windows lives, so the system cannot hand off from the firmware to the operating system.
You will see it as a black screen with a message along the lines of "The boot configuration data for your PC is missing or contains errors" or a loader block mismatch reference, often after a failed update, a cloned drive, a partition resize, or a sudden power loss. Because Windows itself may be intact, the goal is to repair the startup files rather than reinstall. Labels and menu wording can differ slightly between Windows 11 builds, so treat the paths below as a guide and look for the closest match on your screen.
What You'll Need
- A second working PC to create USB installation media (or a recovery drive you already made)
- A USB flash drive with at least 8 GB of space, which will be erased
- The official Windows 11 installation media from Microsoft's download page (the Media Creation Tool)
- Your BitLocker recovery key if the drive is encrypted, since repair steps can prompt for it
- Patience: a full repair cycle can take 20 to 40 minutes depending on the drive
Step-by-Step
- Create the installation media. On a working PC, download the official Windows 11 Media Creation Tool from Microsoft, run it, and choose the option to create installation media for another PC. Select the correct language and edition, choose USB flash drive, and let it finish. This is the only reliable way to get a bootable repair environment.
- Boot the affected PC from the USB. Insert the drive, restart, and open the boot menu. The key varies by manufacturer (commonly F12, F11, Esc, or F9 during startup). Pick the USB entry, not the internal drive.
- Choose the language and click Next, then select Repair your computer in the bottom corner of the setup window. Do not click Install now.
- Open the recovery tools. Go to Troubleshoot > Advanced options. From here you can try Startup Repair first, which is the least invasive option and automatically attempts to fix boot problems.
- If Startup Repair fails, open Command Prompt. It is listed in the same Advanced options menu. The prompt usually starts on the X: drive of the USB environment, which is normal.
- Check which drive letter holds Windows. Type
diskpart, press Enter, thenlist volume. Look for the volume labelled with your Windows partition and note its letter. Typeexitto leave diskpart. In the recovery environment Windows is often not on C:, so confirm rather than assume. - Rebuild the boot configuration data. Run these one at a time, pressing Enter after each:
bootrec /fixmbr,bootrec /fixboot, andbootrec /rebuildbcd. The last command scans for Windows installations and asks whether to add each one; answer Yes. If it reports that no installations were found, continue to the next step. - Rebuild the BCD store manually if the scan found nothing. Run
bcdboot X:\Windows /s Y:where X is the Windows drive letter and Y is the small system or EFI partition letter you identified. Then runbootrec /rebuildbcdagain. - Run a disk check. Type
chkdsk X: /f /rusing your Windows drive letter. This repairs file system errors and bad sectors that can corrupt boot files. It can take a while on large drives. - Restart and remove the USB. Close the Command Prompt, choose Continue or Turn off your PC, unplug the USB drive, and power on normally. Windows should now boot.
Common Mistakes
- Assuming C: is always the Windows drive inside the recovery environment. It frequently is not, and running commands against the wrong volume can make things worse.
- Clicking Install now instead of Repair your computer, which starts a fresh installation and can overwrite data if you are not careful.
- Skipping the BitLocker key. If the drive is encrypted, repair tools may ask for the recovery key before letting you proceed, and without it you cannot access the volume.
- Using a third-party "boot repair" tool downloaded from an unofficial site. Stick to Microsoft's own media and built-in tools.
- Forgetting to unplug the USB before restarting, so the PC boots back into setup instead of Windows.
Tips
- Write down the drive letters you find in diskpart before running any command. A sticky note saves a lot of guessing.
- If you recently cloned a drive or resized a partition, the mismatch is very likely a BCD pointing at the old layout, and rebuilding it is usually enough.
- Keep a recovery drive on hand for future problems. You can create one from within Windows using the Recovery Media option in the Control Panel.
- After a successful repair, create a restore point and check that Windows Update is working, since a failed update is a common trigger.
Troubleshooting
If Startup Repair and the bootrec commands both fail, the boot files may be too damaged to rebuild in place. In that case, from the recovery Command Prompt, run sfc /scannow /offbootdir=X:\ /offwindir=X:\Windows to repair system files on the offline installation. If that still does not help, use the Reset this PC option under Troubleshoot, choosing Keep my files, which reinstalls Windows while preserving personal documents but removes installed programs and settings. Back up anything important first if you can access the drive from another PC. As a last resort, a clean installation is the definitive fix, but it erases the drive, so only do it after confirming your data is safe or expendable.
Frequently Asked Questions
Does this error mean my hard drive is failing?
Not necessarily. It is most often a software or configuration problem with the boot files. A failing drive is possible, which is why running chkdsk is worth doing, but the error alone does not confirm hardware failure.
Will repairing the boot loader delete my files?
No. The bootrec and bcdboot commands only touch startup configuration. Your documents and programs stay in place. Only a reset or clean install removes data, and those are separate, later options.
Can I fix it without a USB drive?
Sometimes. If Windows can still reach the Advanced startup menu, you can open a Command Prompt from there and run the same bootrec commands. If the PC cannot boot at all, USB media is required.
Why does bootrec say no Windows installations were found?
The BCD store is likely missing or the Windows volume is not being detected. Check the drive letters with diskpart, then use bcdboot to recreate the store before running rebuildbcd again.
Do I need my BitLocker key?
If the drive is encrypted, yes. The recovery environment may ask for it before allowing repairs. Find it in your Microsoft account's device page or wherever you saved it when encryption was enabled.