What is Boot Configuration Data (BCD) in Windows

Getting “Boot Configuration Data is missing or contains errors. Error code: 0xc000000f” instead of Windows starting when you power on or restart your PC? Boot Configuration Data (BCD) is a critical, firmware-independent database file in Windows that tells the Windows Boot Manager where and how to load the operating system. This error Boot Configuration Data is missing,” or error code 0xc000000f, usually means Windows cannot find the necessary files to boot, most often due to improper shutdowns, interrupted updates, or hard drive issues. This article explains exactly what Boot Configuration Data is, why these errors occur, and, most importantly, how to fix them step by step.

Whether you’re dealing with a missing BCD file, an error code 0xc000000f, or just want to understand how your Windows system boots up, this article covers everything you need to know.

Contents

What is Boot Configuration Data (BCD)?

Microsoft describes Boot Configuration Data (BCD) as a small but critical database that stores information about how Windows should start. It’s like a special database file that tells your computer how to load Windows and get everything ready for you to use it.

When you press the power button, your computer goes through a series of steps before Windows even appears on your screen. BCD is the file that contains all the instructions for those critical first steps. Without it, or if it’s corrupted or has wrong information, Windows simply doesn’t know how to start, and you see boot errors.

It was first introduced in Windows Vista to replace the older boot.ini file used in Windows XP and earlier versions.

Here’s the key difference:

  • Old system (XP and earlier): Used a simple text file called boot.ini
  • New system (Vista and later): Uses BCD, a binary database file

BCD is more powerful, flexible, and secure than the old boot.ini system. It works with both BIOS (older systems) and UEFI (modern systems), making it compatible with virtually all modern computer hardware.

What Makes BCD Special?

Unlike boot.ini, which was just a text file anyone could edit, BCD is:

  • Binary format: More secure and less prone to accidental corruption
  • Flexible: Can store multiple boot configurations and OS entries
  • UEFI-compatible: Works with modern firmware systems
  • Managed through tools: Requires special commands (like BCDEdit) to modify safely

Key Functions: What Does BCD Actually Do?

The Boot Configuration Data (BCD) is responsible for:

  • Storing OS boot entries – Information about each installed Windows instance
  • Controlling the boot menu – For dual‑boot or multi‑boot setups
  • Pointing Boot Manager to the Windows loader – So it can load the Windows kernel and drivers
  • Holding advanced boot options – Safe Mode, debugging, recovery tools, etc.
What Does BCD Actually Do

Stores Operating System Boot Entries

When you have Windows installed (or multiple operating systems), BCD maintains a list of all bootable systems. It tells your computer:

  • Where Windows is located on your hard drive
  • Which Windows version to load
  • What system files are needed

If you have Windows 11 and Windows 10 installed on the same computer, BCD knows how to load both and can display them in the boot menu.

Controls the Boot Menu

You know that screen you sometimes see when you turn on your computer, where you can select which operating system to boot into? That’s controlled by BCD. BCD tells the boot manager:

  • Which OSes are available
  • What names to display for each option
  • Which one to boot by default
  • How long to wait before auto-selecting

Loads the Windows Kernel and Essential Drivers

BCD contains instructions for loading the core Windows kernel (the fundamental part of Windows that controls everything) and critical drivers needed for your system to function.

Manages Boot-Time Services and Settings

BCD also controls various boot-time settings, including:

  • Safe Mode options
  • Memory testing
  • Driver signing enforcement
  • Debug mode settings
  • Advanced options for troubleshooting

Handles Different Boot Scenarios

BCD can be configured for different boot scenarios:

  • Normal startup
  • Safe Mode
  • Safe Mode with Networking
  • Safe Mode with Command Prompt
  • Last Known Good Configuration

In short, if the BCD file is damaged or missing, Windows cannot boot correctly.

How BCD Works in the Windows Boot Process

Understanding what BCD does requires understanding the complete startup sequence. Here’s exactly what happens when you press the power button on your computer:

How BCD Works in the Windows Boot Process

Step 1: Power On and Firmware Initialization

When you press the power button:

  • BIOS or UEFI firmware (this is firmware built into your motherboard) performs a POST (Power‑On Self Test).
  • Hardware components like RAM, disk drives, and network cards are detected
  • The firmware performs basic checks to ensure the hardware is functioning

What BIOS and UEFI are:

  • BIOS (Basic Input/Output System): The older standard used in computers before ~2012
  • UEFI (Unified Extensible Firmware Interface): The modern standard used in newer computers

Both perform the same basic function—they initialize hardware and prepare the system for booting an operating system.

Step 2: Boot Device Selection

After firmware initialization, the system looks for a bootable device (usually your hard drive or SSD). The firmware checks its settings to determine:

  • Which devices to check for boot files
  • In what order to check them

This is why you might have seen a “Press F12 to select boot device” message—that’s the firmware giving you a chance to override its default boot device selection.

Step 3: Boot Manager Loads

Once a bootable device is found, the Boot Manager (a small program stored at the beginning of your hard drive) starts running.

The Boot Manager’s job is to:

  • Find the BCD file
  • Read BCD to see what operating systems are available
  • Display the boot menu (if multiple OSes are installed)
  • Load the bootloader for the selected OS

This is the critical step where BCD comes into play.

If the Boot Manager can’t find or read the BCD file at this point, you’ll see error messages like:

  • “Boot Configuration Data is missing”
  • “Error code 0xc000000f”
  • “The boot configuration data store could not be opened”

Step 4: Reading BCD File

The Boot Manager reads the BCD file, which tells it:

  • OS Location: Where Windows files are stored
  • Boot Parameters: Special settings for how to load Windows
  • Device Information: Which partition contains Windows
  • Timeout Settings: How long to wait before auto-booting
  • Default OS: Which OS to boot if no selection is made

For Windows 11 or Windows 10, the BCD contains all the necessary information to locate and load the Windows bootloader.

Step 5: Windows Bootloader Starts

Based on information from BCD, the Windows bootloader (called bootmgr.exe) starts and:

  • Loads the Windows kernel (ntoskrnl.exe)
  • Initializes critical drivers
  • Sets up the file system
  • Prepares the system for Windows to fully load

Step 6: Windows Kernel and Drivers Load

With instructions from BCD still guiding the process:

  • The Windows kernel loads into memory
  • Critical drivers (storage, network, display) are loaded
  • Windows services begin starting
  • Your user account login screen appears

The Critical Point: Where BCD Matters Most

BCD is most critical in Steps 3-4. If the BCD file is:

  • Missing: Boot Manager has no instructions, system won’t boot
  • Corrupted: Boot Manager can’t read instructions properly, system won’t boot
  • Pointing to wrong location: Boot Manager looks for Windows in the wrong place, system won’t boot

This is why BCD errors are so serious they prevent your system from even getting to the point where Windows can start loading.

Why Boot Configuration Data Errors Happen

Now that you understand what BCD does, let’s explore why BCD gets corrupted or goes missing. Understanding the cause helps prevent future problems.

Now that you understand what BCD does, let’s explore why BCD gets corrupted or goes missing. Understanding the cause helps prevent future problems.

Cause 1: Abrupt Power Loss or Improper Shutdown

If your computer is forced to shut down suddenly (power outage, unplugged from power, forced restart during updates), the BCD file might be partially written or incompletely saved. Hard drives and SSDs write data in stages. If power is cut mid-write, the BCD file can become corrupted.

Real scenario: A Windows update is in progress. Suddenly, your power goes out. When power returns and you restart, BCD is incomplete or corrupted because the update process was interrupted during a critical write operation.

Why it breaks boot: When the Boot Manager tries to read the corrupted BCD file, it encounters invalid data and can’t properly load Windows instructions.

Cause 2: Corrupted Hard Drive or Bad Sectors

Your hard drive or SSD contains physical storage areas. Sometimes, due to age, manufacturing defects, or normal wear, sections of the disk can become unreadable (called “bad sectors”). If bad sectors develop exactly where the BCD file is stored, the file becomes inaccessible.

Real scenario: Your computer is 5 years old. One of the storage areas on your SSD gradually wears out. One day, you try to boot your computer, and it fails because BCD is stored in one of those bad sectors.

Why it breaks boot: The Boot Manager can’t read data from a bad sector, so it can’t access the BCD instructions.

Cause 3: Malware or Unauthorized Changes

Sophisticated malware sometimes targets boot files, including BCD, to:

  • Prevent your system from booting properly (ransomware)
  • Redirect your system to malicious boot code
  • Prevent you from using legitimate recovery tools

Real scenario: Your system gets infected with a boot-sector virus. The malware modifies the BCD file to point to a malicious bootloader instead of the legitimate Windows bootloader.

Why it breaks boot: The modified BCD points to incorrect or malicious boot files, preventing legitimate Windows from loading.

Cause 4: Incorrect System Maintenance or Manual Edits

If someone with technical knowledge tries to manually edit BCD using BCDEdit (a command-line tool) without understanding what they’re doing, they might:

  • Delete critical boot entries
  • Modify paths to point to non-existent locations
  • Remove important boot parameters

Real scenario: A user tries to “clean up” their boot menu and accidentally deletes the wrong entry, then restarts the computer before realizing the mistake.

Why it breaks boot: BCD no longer contains valid instructions for booting Windows.

Cause 5: Failed or Interrupted Windows Updates

What happens:

Windows updates sometimes modify boot-related files, including BCD. If an update:

  • Fails mid-way through
  • Gets interrupted by a power loss
  • Encounters disk errors during the update process

…the BCD file might be left in an inconsistent state.

Real scenario: You start a Windows 11 update. Halfway through, your internet connection drops. The update fails and can’t roll back properly, leaving BCD in a broken state.

Why it breaks boot: The BCD file is partially updated and contains inconsistent information.

Cause 6: Hardware Issues or Driver Conflicts

Sometimes, new hardware or driver installations can interfere with boot processes. While less common, buggy hardware drivers can potentially corrupt boot configuration.

Real scenario: You install a new RAID controller. The driver causes an error that corrupts the BCD file.

Cause 7: Dual-Boot Configuration Issues

If you have multiple operating systems installed (Windows 11 and Windows 10, for example, or Windows and Linux), an incorrect BCD modification can break the boot menu.

Real scenario: You uninstall Windows 10 from a dual-boot system, but the uninstall process doesn’t properly remove the Windows 10 entry from BCD, leaving corrupted references.

Why it breaks boot: BCD points to an operating system that no longer exists in valid locations.

Common BCD Errors You May See

When your Boot Configuration Data is missing or corrupted, Windows displays specific error messages. Here are the most common ones:

Error 1: “Boot Configuration Data is Missing”

  • Full message: “Boot Configuration Data is missing or contains errors.”
  • What it means: The system cannot find the BCD file at the expected location.
  • When you see it: Usually on a black/blue screen during startup, before Windows logo appears.
Boot Configuration Data File is Missing

Common causes:

  • BCD file was deleted
  • Hard drive corruption
  • Disk not properly connected

Error 2: “Error Code 0xc000000f”

  • Full message: “File not found. Error code: 0xc000000f”
  • What it means: The Boot Manager found the BCD file but can’t read or access specific files referenced in BCD (usually the Windows kernel files).
  • When you see it: During startup, often after BCD is partially readable.

Common causes:

  • BCD points to files that don’t exist or have been moved
  • Hard drive corruption is affecting kernel files
  • Bootloader corruption

Error 3: “The Boot Configuration Data Store Could Not Be Opened”

  • Full message: “The Boot Configuration Data store could not be opened. The file may be missing or corrupt.”
  • What it means: The system found where the BCD file should be, but the file itself is corrupted or unreadable.
  • When you see it: During startup, sometimes followed by recovery options.

Common causes:

  • BCD file corruption
  • Disk errors
  • Failed Windows update

Error 4: “Windows Failed to Start”

  • Full message: “Windows failed to start. A recent hardware or software change might have caused this. To fix this problem: 1) Insert your Windows installation disc…”
  • What it means: Generic error indicating boot failure, often related to BCD or bootloader issues.
  • When you see it: During startup, might offer recovery options.

Common causes:

  • Missing or corrupted BCD
  • Bootloader issues
  • Disk corruption

Error 5: “BOOTMGR is Missing”

  • Full message: “BOOTMGR is missing. Press Ctrl+Alt+Delete to restart.”
  • What it means: The Boot Manager file itself is missing or corrupted.
  • When you see it: Very early in the boot process, usually before any Windows recovery options appear.

Common causes:

  • Bootloader corruption
  • Disk corruption in boot sector
  • Hard drive failure

Error 6: “Invalid Partition Table”

  • Full message: “Invalid Partition Table” or “Missing Operating System.”
  • What it means: The system can’t read the disk’s partition information, often related to boot configuration issues.
  • When you see it: Early in the boot process.

Common causes:

  • Partition table corruption
  • Disk corruption
  • Wrong boot device selected

How to Fix Boot Configuration Data Errors

Now comes the most important part: how to fix these errors. I’m going to walk you through five different methods, from easiest (automatic) to more advanced (manual command-line).

Important: Before attempting any fixes, understand what’s happening:

  • Why it works: I’ll explain the mechanism behind each fix
  • When to use it: I’ll tell you which method is best for your situation
  • What to expect: I’ll prepare you for what you’ll see during the process

Start with Fix 1. If it doesn’t work, move to Fix 2. Most users find success with one of the first two methods.

Fix 1: Use Startup Repair (The Easiest Automatic Fix)

Startup Repair is an automatic troubleshooting tool built into the Windows Recovery Environment. It:

  • Scans for missing or corrupted BCD entries
  • Automatically attempts to rebuild BCD
  • Checks for other common boot problems
  • Often fixes the issue without requiring manual commands

Step 1: Enter Windows Recovery Environment

Your first challenge is getting to the recovery menu since Windows won’t start normally. Here are the methods:

Method A: If Windows is Already Failing to Start

  1. Turn on your computer
  2. When you see the Windows logo or error message, immediately press and hold the Power button for 10 seconds to force shutdown
  3. Turn the computer back on
  4. Repeat Steps 1-3 two more times (three failed boots total)
  5. On the fourth startup, Windows should automatically enter Automatic Repair or Startup Repair mode
  6. Wait for the recovery environment to load (this may take 1-2 minutes)

What you’re doing here: By forcing three failed boots, Windows recognizes something is wrong and automatically boots into recovery mode for you.

Method B: Using Windows Installation Media

If automatic recovery doesn’t trigger, you’ll need Windows installation media (a USB drive or DVD with Windows):

  1. Insert the Windows 11 installation USB or DVD
  2. Restart your computer
  3. When prompted, press any key to boot from the installation media (usually shows “Press any key to boot from CD/DVD…” or similar)
  4. Select your language and click Next
  5. Click Repair your computer (bottom left, small text)
  6. You’ll see recovery options
Repair your computer

Step 2: Select Troubleshoot Options

Once you’re in the Windows Recovery Environment:

  1. You’ll see a screen titled “Choose an option”
  2. Click “Troubleshoot”
  3. You’ll see two options:
    • “Reset this PC” (erases everything)
    • “Advanced options”
  4. Click “Advanced options”
Advanced options on Recovery environment

Step 3: Launch Startup Repair

Click “Next” or “Repair”

In Advanced Options, look for “Startup Repair” or “Automatic Repair”

Click it

Advanced options

You may be prompted to select your Windows installation (usually there’s only one)

Windows automatically attempts to rebuild BCD, and Show you what problems it found and fixed. Once the repair is complete, reboot your PC Your computer should now boot normally into Windows.

If Startup Repair didn’t work: Don’t worry. Proceed to Fix 2, which uses manual commands for more control.

Fix 2: Rebuild BCD Using Command Prompt

When automatic repair isn’t enough, you need to manually rebuild BCD using command-line tools. This method:

  • Gives you full control over BCD reconstruction
  • Repairs more severe corruption
  • Rebuilds boot files from scratch
  • Has a higher success rate than automatic repair for severely corrupted systems

Step 1: Boot into Command Prompt from Recovery Environment

Follow the same steps as Fix 1 to get to Windows Recovery Environment:

  1. Force three failed boots, OR
  2. Boot from Windows installation media

Once you’re in the Recovery Environment:

  1. Click “Troubleshoot”
  2. Click “Advanced options”
  3. Look for “Command Prompt” option
  4. Click it
  5. You’ll be asked to select your Windows installation
    • Usually, there’s only one listed (C:)
    • Select it and click “Next”
  6. A black Command Prompt window will open

Step 2: Run Bootrec Commands (In Order)

You’ll now run three commands in sequence. Type each command exactly as shown and press Enter after each one.

Boot MBR and Rebuild BCD

Command 1: Fix the Master Boot Record (MBR)

bootrec /fixmbr

What this does:

  • The Master Boot Record (MBR) is the first sector of your hard drive
  • It contains the initial code that tells the system to look for the Boot Manager
  • This command repairs it if corrupted

Command 2: Fix the Boot Sector

bootrec /fixboot

What this does:

  • The Boot Sector contains code that loads the Boot Manager
  • This command repairs the boot sector

Command 3: Rebuild BCD (The Most Important One)

bootrec /rebuildbcd

What this does:

  • This command scans your hard drive for Windows installations
  • For each one found, it creates a new BCD entry
  • It rebuilds the entire BCD store from scratch

What you should see:

The system will scan and respond with something like:

Scanning all disks for Windows installations.

Please wait, since this may take a few minutes...
Successfully scanned Windows installations.
Total identified Windows installations: 1
[1] D:\Windows

Add installation to boot list? Yes/No/All:

Type Yes and press Enter.

This tells the system to add the Windows installation to the BCD boot list.

Expected result:

Entry was successfully added to the boot configuration data.
The operation completed successfully.

If you see multiple installations listed:

Example:

Total identified Windows installations: 2
[1] C:\Windows
[2] D:\Windows

You have multiple Windows installations. Type All to add all of them to BCD.

Step 3: Restart Your Computer

  1. Type: exit and press Enter (closes Command Prompt)
  2. Click “Continue” to boot into Windows normally
  3. Your computer should restart and boot into Windows

If it still doesn’t work: This indicates more serious corruption. Proceed to Fix 3.

Fix 3: Use BCDBoot Command (Advanced Rebuild)

BCDBoot is a more advanced tool that:

  • Copies fresh boot files from your Windows installation
  • Recreates the entire BCD store
  • Works even when BCD is severely corrupted
  • Useful when /rebuildbcd didn’t fully work

Step 1: Get to Command Prompt in Recovery Environment

Follow the same steps as Fix 2 to access Command Prompt in the Windows Recovery Environment.

Step 2: Identify Your Windows Installation Drive

First, you need to identify which drive letter contains Windows files.

Type dir C:\Window and Press Enter.

What you’re looking for: A list of Windows system folders like System32, SysWOW64, etc.

  • If you see these folders: Windows is on drive C:
  • If you see “The system cannot find the path specified”: Try the next drive letter (D:, E:, etc.)

Once you find the correct drive, remember it (usually C:).

Step 3: Run BCDBoot Command

The BCDBoot command has a specific syntax. Here’s the command:

bcdboot C:\Windows /s C: /f ALL

Explanation:

  • C:\Windows = Path to Windows installation (change C: if Windows is on a different drive)
  • /s C: = System partition (usually C:)
  • /f ALL = Configures for both BIOS and UEFI systems

If Windows is on a different drive (say, D:):

bcdboot D:\Windows /s D: /f ALL

Press Enter and wait for completion.

What you should see:

Copying boot files...
Successfully copying boot files...
The boot configuration data has been successfully created.

Step 4: Restart and Test

  1. Type exit and press Enter
  2. Click “Continue” or restart your computer
  3. Windows should boot normally

This method has a very high success rate for BCD corruption issues.

Fix 4: Check Disk for Errors (If Corruption Is Physical)

Some BCD errors aren’t caused by file corruption but by physical hard drive problems (bad sectors).

The CHKDSK tool:

  • Scans your hard drive for bad sectors
  • Attempts to repair damaged areas
  • Rebuilds file system structures
  • Often resolves BCD errors caused by disk errors

Step 1: Get to Command Prompt in Recovery Environment

Follow the same steps as Fix 2 to access the Command Prompt.

Step 2: Run CHKDSK Scan

Type this command: chkdsk C: /F /R /B and press enter.

Explanation:

  • C: = The drive letter to scan (usually C:)
  • /F = Fix errors found
  • /R = Locate bad sectors and recover data
  • /B = Re-evaluate bad clusters (advanced repair)

You’ll see:

Cannot open volume for direct access. Schedule this volume to be checked the next time the system restarts. (Y/N)

Type Y and press Enter. This schedules the disk check to run before Windows boots.

Step 3: Restart Your Computer

  1. Type exit and press Enter
  2. Restart your computer
  3. Before Windows loads, you’ll see a black screen with:
Checking file system on C:
Stage 1: Checking basic file system structure...

This is normal. The disk check is running. Do NOT interrupt it.

What to expect:

  • This will take 15 minutes to 2 hours depending on disk size and errors found
  • You’ll see progress for multiple stages
  • Your screen may go black during processing
  • Your computer may restart automatically

When it’s done:

The system will automatically restart and boot into Windows normally.

Step 4: Check Results

After Windows boots:

  1. Right-click the Windows icon (Start menu)
  2. Click “Event Viewer”
  3. Navigate to: Windows Logs → System
  4. Look for entries from “Chkdsk” with details about what was repaired
  5. This shows you what disk errors were fixed

If errors were found and fixed, this often resolves BCD issues caused by disk problems.

Fix 5: Restore from Backup or System Image (If You Have One)

If you previously created a system backup or image:

  • Restores Windows to a state when it worked correctly
  • Includes a functional BCD file
  • Fastest solution if available

Do you have:

  • A backup drive with Windows system image?
  • Windows backup media?

If Yes, proceed. If No, skip this fix.

Step 1: Boot from Backup Media or Backup Drive

  1. Insert the backup media or connect the backup drive
  2. Restart your computer and boot from it
    • You may need to press F2, F12, DEL, or ESC to select boot device
    • Check your computer’s startup screen for the correct key
  3. Your backup software will launch (could be Windows Backup, Macrium Reflect, Acronis, etc.)

Step 2: Select the Restore Option

In your backup software:

  1. Look for “Restore” or “Recovery” option
  2. Select the most recent full system backup
  3. Confirm the restore destination (usually your C: drive)

Important: Restoring will overwrite your current Windows installation. Make sure you want to proceed.

Step 3: Complete the Restore

  1. Click “Restore” or “Begin”
  2. The system will:
    • Copy backup files to your hard drive
    • Restore the previous Windows state
    • Restore the working BCD from backup
  3. Your computer will restart multiple times (normal)
  4. When done, you’ll be back to your previous Windows state (including all your files and settings)

When it’s complete:

Your system is restored with a working BCD from the backup point. All your data and settings from that backup date are restored.

Going forward: Consider setting up regular backups to avoid this issue in the future.

Fix 6: Reset or Reinstall Windows (Last Resort)

If all previous fixes have failed, resetting or reinstalling Windows:

  • Creates a completely fresh Windows installation
  • Includes a new, functional BCD
  • Completely removes any corruption

Option A: Reset This PC (Keeps Your Files)

Step 1: Get to Recovery Environment

Force three failed boots or boot from Windows installation media.

Step 2: Choose Reset Option

In Windows Recovery Environment:

  1. Click “Troubleshoot”
  2. Click “Reset this PC”
  3. You’ll see two options:
    • “Keep my files” (recommended)
    • “Remove everything”
  4. Click “Keep my files”
Keep my files option on advanced options

This will:

  • Remove all programs
  • Remove corrupted system files and BCD
  • Install fresh Windows
  • Keep your Documents, Downloads, Desktop files

Step 3: Complete the Reset

  1. Select your Windows edition (Windows 11 or 10)
  2. Click “Reset”
  3. Windows will reinstall (takes 20-45 minutes)
  4. Your computer will restart multiple times
  5. When done, you’ll have Windows with a fresh, working BCD

Option B: Fresh Install (Cleanest, but Erases Everything)

If you want a completely clean slate:

Step 1: Boot from Windows Installation Media

Create installation media (see Fix 1, Method B) and boot from it.

Step 2: Custom Installation

  1. Click “Install now”
  2. When asked where to install, click “Custom”
  3. Select your C: drive (or main drive)
  4. Click “Format” (this erases everything)
  5. Click “Next”

Windows will perform a fresh installation.

Step 3: Post-Installation

  1. When Windows boots, set up your account
  2. Reinstall your programs from the original media or download them
  3. Restore your files from backup

After the fresh install:

Your BCD will be brand new and working perfectly. The error will be completely gone.

Where is the BCD File Located?

Understanding where BCD is stored helps you understand what’s happening when you rebuild it. The location depends on your system type:

BIOS Systems

On computers using BIOS firmware (older systems, typically pre-2012):

\Boot\BCD

More specifically, the BCD file is stored on your system partition (usually C:) in a hidden folder:

C:\Boot\BCD

The \Boot folder is normally hidden from regular browsing, which is why you don’t typically see it in Windows Explorer.

UEFI Systems

On computers using UEFI firmware (modern systems, typically 2012 and later):

\EFI\Microsoft\Boot\BCD

Or:

C:\EFI\Microsoft\Boot\BCD

This is also a hidden system folder on your EFI System Partition (ESP).

Why You Can’t Just Delete and Recreate It Manually

You might wonder: “Why can’t I just copy a working BCD file from another computer?”

Here’s why:

BCD files are computer-specific. They contain:

  • References to YOUR specific hard drive’s partition layout
  • YOUR Windows installation’s unique identifier
  • Paths specific to YOUR system configuration

Copying a BCD from another computer will almost certainly fail because:

  • The partition information won’t match your hardware
  • The Windows installation paths will be wrong
  • Boot will still fail, potentially worse than before

This is why the command-line fixes (bootrec, bcdboot) work: They scan your hardware and create a BCD customized for your specific system.

How to View the BCD File (Advanced Users)

If you want to see what’s in your BCD file, you use the BCDEdit command-line tool. In an Administrator Command Prompt:

bcdedit

This displays all BCD entries:

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=C:
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
resumeobject            {resumeobject}
displayorder            {default}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
identifier              {default}
device                  partition=C:
path                    \Windows\System32\winload.efi
description             Windows 11
locale                  en-US
recover                 {current}
...

Each section shows one boot entry with:

  • identifier: Unique ID for this entry
  • device: Which partition contains it
  • description: What you see in the boot menu
  • path: Where the bootloader is located

This technical information is mostly useful for IT professionals, but it shows that BCD is essentially a database of boot configurations.

BCD vs Boot.ini: Understand the Difference

If you’ve worked with older Windows versions (XP, 2000, or earlier), you might be familiar with the boot.ini file. It’s helpful to understand how BCD improved on that system.

FeatureBCDBoot.ini
FormatBinary database (secure, fast)Plain text file (editable but risky)
IntroducedWindows Vista (2006) and laterWindows XP and earlier (before 2006)
FlexibilityVery high—can handle complex scenariosLimited—basic configuration only
SecurityRequires special tools to modify (safer)Any text editor can modify (risky)
Firmware SupportWorks with BIOS and UEFIBIOS only
Boot OptionsUnlimited custom entries possibleLimited to basic selections
File LocationHidden system location (\Boot\BCD)Root of C: drive (boot.ini)
Easy to ViewRequires BCDEdit or recovery toolsCan open in Notepad
Error RecoveryBuilt-in recovery toolsManual editing required
Multi-boot SupportExcellentBasic

Why Windows Switched from Boot.ini to BCD

Problems with Boot.ini:

  1. Security Issue: Anyone could open it with Notepad and modify boot settings
  2. Corruption Risk: Users could accidentally break boot by editing it wrong
  3. Limited Features: Boot.ini could only handle basic scenarios
  4. No firmware abstraction: Didn’t work well with newer UEFI firmware

How BCD Improved Things:

  1. Binary Format: Can’t be accidentally corrupted by text editors
  2. Requires Tools: You need BCDEdit or recovery tools to modify (harder to break accidentally)
  3. Rich Features: Supports complex boot scenarios and multiple operating systems
  4. Firmware-Independent: Works equally well with BIOS and modern UEFI systems
  5. Built-in Recovery: Windows recovery tools can automatically rebuild BCD

If You’re Upgrading from Windows XP

If you’re using an older computer with Windows XP and upgrading to Windows 11 or Windows 10:

Before upgrade: Your system uses boot.ini After upgrade: Your system will use BCD

The Windows installation process automatically:

  • Migrates boot configuration from boot.ini to BCD
  • Creates appropriate BCD entries for your system
  • Removes old boot.ini (usually)

You don’t need to do anything—Windows handles the conversion automatically.

How to Backup and Restore BCD

If you want to be extra cautious (and you should be!), you can backup your BCD file before making any changes. This is especially useful if you plan to:

  • Modify boot settings
  • Install additional operating systems
  • Perform system maintenance

Open Command Prompt as Administrator in Windows and run:

bcdedit /export C:\bcd-backup
  • This creates a backup of your BCD store at C:\bcd-backup.
  • You can store this file on an external drive for extra safety.

Restore BCD from Backup

If your BCD becomes corrupted and you can still reach Command Prompt (from Windows or from Recovery Environment), you can restore it.

Steps to Import BCD

  1. Boot into Command Prompt (in Windows or Recovery Environment).
  2. Run the import command: bcdedit /import C:\bcd-backup
  3. Restart your PC.

This can be much faster than rebuilding everything, and it helps advanced users build topical authority over their boot setup.

Note: Be sure the backup came from the same system configuration (same disk layout) to avoid conflicts.

How to Prevent BCD Errors in the Future

Once you’ve fixed your Windows boot configuration, you don’t want to see these errors again. Here are practical tips to avoid future BCD problems.

1. Avoid Forced Shutdowns

  • Don’t hold the power button unless absolutely necessary.
  • Let Windows shut down or restart gracefully.
  • During updates, never cut power or close the laptop lid aggressively.

This reduces the risk of file system corruption and incomplete writes to the BCD file.

2. Keep Windows Updated

  • Regular updates include bug fixes and stability improvements for the boot process.
  • Go to Settings → Windows Update and keep your system current.

Stable, up‑to‑date systems are less likely to encounter boot configuration data errors.

3. Run Disk Checks Periodically

  • Use tools like CHKDSK or your SSD manufacturer’s health tools.
  • If you notice strange freezes, blue screens, or slowdowns, check your disk early.

Catching bad sectors or disk issues early can protect your BCD and other critical system files.

4. Create System Restore Points and Backups

  • Make sure System Restore is enabled.
  • Periodically create full system images or backups.

If something goes wrong, you can quickly roll back to a working boot configuration.

5. Be Careful with Boot‑Related Tools

  • Avoid random “boot optimizer” or “registry cleaner” tools.
  • When editing boot entries with bcdedit, follow guides carefully.

A single wrong command can make the system unbootable, especially if you’re changing the default OS or boot paths.

Frequently Asked Questions

What is Boot Configuration Data (BCD) in Windows?

Boot Configuration Data (BCD) is a firmware‑independent database that stores boot information for Windows. It tells the Windows Boot Manager where the operating system is located and how to load it.

Where is the BCD file stored on a Windows PC?

On BIOS‑based systems, BCD is usually stored in a hidden \Boot\BCD file on the system partition. On UEFI‑based systems, it’s stored on the EFI System Partition (ESP) in \EFI\Microsoft\Boot\BCD.

What causes “Boot Configuration Data is missing or contains errors (0xc000000f)” ?

This error is usually caused by abrupt power loss, interrupted updates, disk errors, malware, or incorrect manual changes to boot settings that corrupt or delete the BCD file.

How do I fix BCD errors in Windows 10/11?

You can usually fix BCD errors by running Startup Repair from the Windows Recovery Environment, or by using Command Prompt with tools like bootrec /fixmbr, bootrec /fixboot, and bootrec /rebuildbcd.

Can I delete BCD and copy it from another PC?

No, you should not copy BCD from another PC. BCD is specific to your disk layout and Windows installation. Instead, rebuild it using tools like bootrec or bcdboot so Windows can generate a correct, system‑specific BCD store.

Steve Ballmer
With over 7 years of experience in the IT industry, I have experience in IT support, helpdesk, sysadmin, network admin, and cloud computing. Certified in Microsoft Technologies (MCTS and MCSA) and also Cisco Certified Professional in Routing and Switching.