Windows

"Your PC needs to be repaired" 0xc000000f? Fix the Missing or Corrupted BCD

Published ✓ Verified ⏱️ 2 min read January 20, 2025 · by Ryan Bennett

Windows won’t start and shows a blue “Your PC needs to be repaired” screen with error code 0xc000000f, usually pointing at the file \Boot\BCD.

Why: 0xc000000f means the Boot Configuration Data (BCD) — the small database that tells the firmware where Windows lives — is missing or corrupted. Microsoft classifies this as a Boot Loader phase failure, alongside “BCD missing or corrupted” and “Boot file or MBR corrupted.” A failed update, an abrupt power loss, or a disk write error commonly causes it. The fix is to repair or rebuild the BCD.

Reach the Command Prompt first

You’ll need Windows RE. Either let it appear after failed boots, or boot from a Windows 11 installation USB:

  1. Boot the USB, click Next, then Repair your computer.
  2. Choose Troubleshoot > Advanced options > Command Prompt.

Fix 1: Let Startup Repair try first

From Troubleshoot > Advanced options, choose Startup Repair. It automatically repairs corrupted BCD, a damaged MBR, and missing boot files, and resolves many 0xc000000f cases on its own. If it can’t, move to the manual rebuild below.

Fix 2: Repair boot codes and rebuild the BCD

In the Command Prompt, run these in order, restarting to test after the scan:

bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd

/scanos lists Windows installations it can find; /rebuildbcd lets you add a found install to the BCD store (type Y when prompted). Restart and check whether Windows boots.

Fix 3: Fully rebuild the BCD store

If /rebuildbcd reported zero installations or the error persists, export and delete the old store, then rebuild from scratch:

bcdedit /export c:\bcdbackup
attrib c:\boot\bcd -r -s -h
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd

Restart afterward. Adjust the drive letter if your Windows install isn’t on C: in the recovery environment.

FAQ

Will rebuilding the BCD delete my files? No. These commands only repair the boot records and the BCD store; your documents and apps are untouched.

bootrec /fixboot says “Access is denied”. That’s common on UEFI systems. Skip it and use the bcdedit /export rebuild in Fix 3, or run Startup Repair, which handles the EFI partition for you.

It worked once, then came back. A failing disk can re-corrupt the BCD. Run chkdsk /f /r from the Command Prompt and check the drive’s health.

Sources: Microsoft Learn — Windows startup issues troubleshooting, Microsoft Support — Startup Repair

↑↓ navigate · ↵ open · Esc close See all results →