Windows 0xc000000fCritical

Windows BCD Error: How to Restore Boot Configuration

Article solves the issue when Windows fails to boot due to a corrupted BCD. Learn how to restore boot configuration using a bootable USB, Command Prompt, and built-in recovery tools.

Updated at February 17, 2026
15-30 min
Medium
FixPedia Team
Применимо к:Windows 7Windows 8.1Windows 10Windows 11

What a BCD Error Means

A BCD (Boot Configuration Data) error is a critical Windows boot failure where the system cannot find or read the boot files. Typical symptoms:

  • When turning on the computer, a black screen appears with the message:
    Boot Configuration Data is missing or corrupted.
  • Error codes: 0xc000000f, 0x0000007b, 0x000000d, 0xc0000225.
  • The system hangs during boot or enters a reboot loop.

BCD replaces the outdated boot.ini file and contains boot parameters, paths to system partitions, and bootloader settings. Its corruption renders Windows inoperable until restored.

Causes

  1. Corruption of boot system files
    A failed Windows update, improper shutdown, or disk failure can damage bootmgr and \Boot\BCD.
  2. Conflict after installing a second OS
    Installing Linux, another Windows distribution, or changing a disk partition can overwrite or delete BCD.
  3. Malware attack
    Ransomware and encryptors often deliberately destroy BCD to block system access.
  4. Disk failure (HDD/SSD)
    Bad sectors on the system partition or partition table damage (GPT/MBR) make BCD inaccessible.
  5. Incorrect manual BCD editing
    Advanced users modifying settings via bcdedit can accidentally delete critical entries.
  6. UEFI/BIOS issues
    Incorrect boot settings (e.g., disabling Secure Boot when BCD is damaged) worsen the problem.

This method works at any level of BCD corruption, including complete boot failure.

Step 1: Create Bootable Media

On another computer:

  1. Download the Media Creation Tool (for Windows 11) or Media Creation Tool for Windows 10.
  2. Run the tool, select "Create installation media"Next.
  3. Select language, edition, and architecture (usually "Recommended options").
  4. Insert a USB drive (8 GB minimum) and click Next to write it.

Step 2: Boot into Recovery Environment

  1. Insert the USB drive into the affected computer.
  2. Enter BIOS/UEFI (Del/F2/F12 key during startup) and set the USB drive as the first boot device.
  3. At boot, select language → click "Repair your computer" (not "Install"!).

Step 3: Restore via Command Prompt

  1. In the recovery window, select "Troubleshoot""Command Prompt".
  2. Execute the commands sequentially (press Enter after each):
bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
  1. If bootrec /rebuildbcd does not find installed Windows, run:
bcdboot C:\Windows

(replace C: with the system partition letter if different. To identify the partition: diskpartlist volume).

Step 4: Finish

  1. Close Command Prompt → "Finish".
  2. Remove the USB drive and restart the computer.

Method 2: Automatic Windows Repair

If the system partially boots (to the logo or blue screen), use the built-in tool:

  1. During startup, interrupt boot 2-3 times (hold the power button). On the 4th attempt, Windows will launch Automatic Repair.
  2. Select "Advanced options""Troubleshoot""Automatic Repair".
  3. Select an administrator account and wait for completion.
  4. If automatic repair fails, return to Method 1.

Method 3: Manual BCD Restoration via bcdedit (For Advanced Users)

Use this to fix specific BCD entries (e.g., after moving the system to another disk).

  1. Boot into the recovery environment (see Method 1) and open Command Prompt.
  2. Run:
diskpart
list volume

Note the system partition letter (usually C: or S: for UEFI). 3. Exit diskpart: exit. 4. Navigate to the BCD file and create a backup:

ren C:\Boot\BCD BCD.bak

(use the correct path if different). 5. Create a new BCD:

bcdboot C:\Windows
  1. For detailed configuration (e.g., specifying a bootloader on another partition), use:
bcdedit /enum all
bcdedit /set {default} device partition=C:
bcdedit /set {default} osdevice partition=C:

Method 4: Restore via Installation Media (If BCD is on a Non-System Disk)

If BCD is stored on a separate partition (common in UEFI systems):

  1. Boot from installation media → "Repair your computer"Command Prompt.
  2. Identify the BCD partition:
diskpart
list disk
select disk 0  (or your disk number)
list partition

Look for a System partition (usually 100-500 MB, FAT32) or a Primary partition with the Boot flag. 3. Assign a drive letter to this partition (if it has none):

select partition X  (X — partition number)
assign letter=S
exit
  1. Restore BCD to this partition:
bcdboot C:\Windows /s S: /f ALL

(where S: is the boot partition letter, C:\Windows is the system path).

Prevention

  1. Regular system restore points
    Enable system protection:
    Control PanelSystemSystem protectionConfigureTurn on system protection.
  2. Use stable power sources
    A UPS (Uninterruptible Power Supply) prevents file corruption during power outages.
  3. Safe BCD editing
    Always export the configuration before changes via bcdedit:
    bcdedit /export C:\bcd_backup.
  4. Update drivers and BIOS/UEFI
    Install updates only from the manufacturer's official website. Avoid beta versions.
  5. Back up BCD
    Every quarter, save BCD to external media (via bcdedit /export).
  6. Disk error checking
    Monthly, run:
    chkdsk C: /f /r (replace C: with the target drive) in an elevated Command Prompt.

Frequently Asked Questions

Q: Can I restore BCD without a Windows bootable media?
A: Yes, if the system partially boots, use WinRE (Windows Recovery Environment)—it may be built into a recovery partition. To access: during startup, press F8 (Win 7) or hold Shift while clicking "Restart" (Win 10/11).

Q: What if bootrec /rebuildbcd doesn't find any Windows installations?
A: Check if the system partition is visible in diskpart. If the partition is hidden or has an unsupported filesystem (exFAT), assign it a drive letter and ensure the C:\Windows folder exists.

Q: Will a BCD restored with bcdboot work on another computer?
A: No. BCD contains hardware-specific identifiers (e.g., partition GUIDs). Moving it to another machine will almost always cause a boot failure. Restore BCD only on the original computer.

Q: How to distinguish BCD corruption from bootloader (bootmgr) issues?
A: The error "BOOTMGR is missing" indicates a bootmgr problem. Errors 0xc000000f or "Boot Configuration Data is missing" point to BCD. The first step in both cases is bootrec /fixmbr and bootrec /fixboot.

F.A.Q.

What is BCD in Windows and why is it needed?
Why does a BCD error occur and how to identify it?
Can BCD be fixed without a bootable USB?
How to create a Windows bootable USB for BCD recovery?

Hints

Prepare bootable USB
Boot into recovery environment
Execute BCD recovery commands
Reboot and verify
FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community