How to Fix Error Code 0xc000000f in Windows 11

Few things are more frustrating than starting your PC and being met with a black screen and the message: “Your PC needs to be repaired. The Boot Configuration Data file is missing or contains errors. Error code: 0xc000000f.”

This error stops Windows 11 from booting properly and usually points to a corrupted Boot Configuration Data (BCD) file — the set of instructions Windows needs to start your system. Fortunately, even though it looks scary, the 0xc000000f error is fixable with a few repair tools built into Windows.

In this step-by-step guide, we’ll walk you through every reliable way to fix error code 0xc000000f in Windows 11, from rebuilding the boot records to repairing your system files.

What Causes Error Code 0xc000000f in Windows 11?

Before diving into the fixes, it helps to understand what causes the issue. Common culprits include:

  • Corrupted or missing boot files (BCD or MBR).
  • Damaged system files due to improper shutdowns or failed updates.
  • Faulty hard drive sectors or physical drive failure.
  • Unplugged or failing boot drives (especially after hardware changes).
  • Interrupted Windows updates or power loss during installation.

With that in mind, let’s start fixing the boot process.

Step 1: Check Hardware Connections

Before using advanced tools, make sure your hardware is properly connected.

  1. Power off your computer.
  2. If you’re using a desktop, open the case and check that all SATA or NVMe cables are securely connected to your hard drive or SSD.
  3. For laptops, make sure the drive isn’t loose.
  4. Remove any external drives or USB devices (except your keyboard/mouse).
  5. Boot again and see if the error disappears.

If the error persists, proceed with the repair steps below.

Step 2: Boot from a Windows 11 Installation Media

You’ll need a bootable Windows 11 USB to access repair tools. If you don’t have one:

  1. On another PC, visit the Microsoft Windows 11 download page.
  2. Use the Media Creation Tool to create a bootable USB drive (8 GB or more).
  3. Plug this USB into your affected PC.
  4. Restart your computer and press F12, F2, or DEL to open the Boot Menu.
  5. Choose your USB drive to boot from it.

Once you’re on the Windows Setup screen, click Next → Repair your computer at the bottom-left corner.

Step 3: Run Automatic Startup Repair

Windows includes an Automatic Repair feature that can fix many boot-related issues automatically.

  1. From the Windows Recovery Environment (WinRE), go to:
    Troubleshoot → Advanced options → Startup Repair.
  2. Select your Windows installation (usually C:).
  3. Let the repair tool run — it will diagnose and fix any issues it finds.
  4. When finished, restart your PC.

If Windows boots normally, you’re done! If not, move to the next step.

Step 4: Rebuild the Boot Configuration Data (BCD)

If the BCD file is missing or corrupted, rebuilding it manually usually resolves the 0xc000000f error.

  1. Boot again from your Windows 11 USB and choose Repair your computer.
  2. Go to Troubleshoot → Advanced options → Command Prompt.
  3. Type the following commands one by one, pressing Enter after each: bootrec /fixmbr bootrec /fixboot bootrec /scanos bootrec /rebuildbcd
  4. If prompted to add an installation to the boot list, type Y and press Enter.
  5. Close Command Prompt and restart your PC.

Tip: If you get an “Access Denied” error when running bootrec /fixboot, use these extra commands before retrying:

bootsect /nt60 SYS /force
bootrec /fixboot

Step 5: Check Disk for Errors (CHKDSK)

A failing or corrupted drive can also cause boot problems. Run a disk scan to repair bad sectors.

  1. In Command Prompt (WinRE), type the following command and press Enter: chkdsk C: /f /r (Replace C: with your Windows drive letter if it’s different.)
  2. Wait for the scan to complete — this may take a while depending on drive size.
  3. Once done, restart your PC and check if Windows loads normally.

Step 6: Run System File Checker (SFC) and DISM

If Windows boot files are intact but essential system files are damaged, SFC and DISM can repair them.

  1. From the same Command Prompt in WinRE, type these commands one by one: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows Then run: DISM /Image:C:\ /Cleanup-Image /RestoreHealth (Make sure C: is your Windows drive letter.)
  2. Once the scans finish, restart your PC.

Step 7: Use BCDBoot to Restore Boot Files

If the BCD is completely missing or Windows won’t rebuild it automatically, you can recreate it using BCDBoot.

  1. In Command Prompt, run: bcdboot C:\Windows /s C: /f ALL This command copies the boot files from your Windows folder to the system partition.
  2. After it completes successfully, restart your PC.

You should now see Windows booting normally.

Step 8: Check Your BIOS Boot Order

If your BIOS isn’t pointing to the correct drive, Windows won’t start.

  1. Restart your PC and press DEL, F2, or Esc to enter BIOS/UEFI setup.
  2. Go to the Boot tab.
  3. Make sure your main Windows drive (SSD or HDD) is listed first in the boot order.
  4. Save changes and exit (usually F10).

Reboot your PC — the error should be gone if your boot priority was incorrect.

Step 9: Restore Windows Using System Restore

If the issue started after a recent update or driver installation, using a System Restore point may fix it.

  1. Boot from your Windows installation USB and go to:
    Repair your computer → Troubleshoot → Advanced options → System Restore.
  2. Select a restore point created before the issue occurred.
  3. Follow the on-screen prompts to restore your system.

Once the process completes, your system should boot normally again.

Step 10: Replace Damaged Hardware (Last Resort)

If none of the above solutions work, the issue could be hardware-related, particularly with your hard drive or SSD.

Try the following:

  • Connect your drive to another PC and check if it’s accessible.
  • Run manufacturer diagnostic tools (like Samsung Magician, Crucial Storage Executive, or WD Dashboard).
  • If errors appear or the drive isn’t detected, consider replacing it and reinstalling Windows 11.

Wrapping Up

The 0xc000000f error in Windows 11 usually indicates a corrupted boot configuration or damaged drive sectors, but it’s rarely permanent.

Start by running Startup Repair, then rebuild the BCD using Command Prompt. In most cases, that’s enough to bring your system back to life. If it doesn’t, repairing system files or checking the hardware will almost always fix the issue.

Once you’ve recovered your system, consider:

  • Keeping a system restore point enabled.
  • Regularly backing up your data.
  • Avoiding sudden shutdowns or forced power-offs.

That way, if Windows ever throws another cryptic boot error, you’ll be ready to fix it in minutes — not hours.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.