Boot Configuration Data

Also known as: BCD

On this page 7

Boot Configuration Data (BCD) is the firmware-independent database that stores every boot-time setting for Windows, including which operating system loaders exist, where they reside and which options they receive. In the area of Windows updates & recovery, BCD matters because the Windows Recovery Environment, Startup Repair and many update failures all depend on a correct and consistent boot store.

Microsoft introduced BCD with Windows Vista to replace the plain-text boot.ini file used by the NT loader. The store is a binary registry hive, so it is edited with dedicated tools such as bcdedit, bcdboot and the System Configuration utility rather than with a text editor.

How the BCD store controls startup

BCD controls startup by giving Windows Boot Manager (bootmgr on BIOS systems, bootmgfw.efi on UEFI systems) a list of objects to read before any operating system kernel loads. The boot manager reads the store, displays a menu if more than one entry is active, and then hands control to the selected boot application, typically winload.efi or winload.exe.

The store itself is a file named BCD, structured like a registry hive. On UEFI machines it lives in \EFI\Microsoft\Boot\BCD on the EFI system partition; on legacy BIOS machines it lives in \Boot\BCD on the active system partition. While Windows runs, the hive is mounted under HKEY_LOCAL_MACHINE\BCD00000000, but direct registry editing is unsupported and can leave the store inconsistent.

The following table shows where the main boot components are located on each firmware type.

ComponentUEFI systemsLegacy BIOS systems
BCD storeEFI system partition, \EFI\Microsoft\Boot\BCDSystem partition, \Boot\BCD
Boot managerbootmgfw.efibootmgr
OS loader\Windows\System32\winload.efi\Windows\System32\winload.exe
Partition styleGPT diskMBR disk
Firmware boot entryNVRAM entry named Windows Boot ManagerActive partition boot sector
Location of boot components by firmware type

Objects, identifiers and elements in BCD

BCD organizes data into objects, and each object holds elements that store individual settings. Every object has a GUID identifier, and the most common ones also have readable aliases such as {bootmgr}, {current} and {default} that bcdedit accepts in commands.

The table below lists the object types an administrator meets most often and what each one controls.

ObjectTypical identifierWhat it controls
Boot manager{bootmgr}Menu timeout, display order, default entry
OS loader entry{current} or a GUIDPath to winload, system root, boot options
Resume loaderGUID linked to the OS entryWaking from hibernation via winresume
Memory tester{memdiag}Windows Memory Diagnostic
Recovery entryGUID referenced by recoverysequenceBooting Windows Recovery Environment from WinRE.wim
Inherited settings{globalsettings}, {bootloadersettings}Defaults shared by several entries
Common BCD objects and their roles

Elements hold values such as device, osdevice, path, description, recoveryenabled, testsigning, nx and hypervisorlaunchtype. Because objects can inherit elements from shared settings objects, a value visible in one entry may actually come from {globalsettings}, which is a frequent source of confusion during troubleshooting.

BCD differs from older and neighboring mechanisms in that it is a structured, firmware-neutral store rather than a text file or a firmware variable. The comparison below clarifies how it relates to the components administrators often confuse with it.

MechanismFormatScopeEdited with
BCDBinary registry hiveWindows boot entries and optionsbcdedit, bcdboot, msconfig
boot.iniPlain textNT loader on Windows XP and earlierText editor
UEFI NVRAM entriesFirmware variablesWhich boot manager file the firmware startsFirmware setup, bcdedit /enum firmware
GRUB configurationText scriptLinux and multiboot menusgrub-mkconfig, text editor
BCD and related boot configuration mechanisms

On UEFI hardware, the firmware first chooses an NVRAM boot entry, which points to bootmgfw.efi, and only then does BCD take over. A machine can therefore fail at two separate layers: a missing firmware entry prevents the boot manager from starting at all, whereas a damaged BCD store produces the familiar error code 0xc000000f or a message that the boot configuration data file is missing.

Managing and repairing BCD in practice

Administrators manage BCD with a small set of built-in command-line tools, each suited to a different task. Running them requires an elevated prompt, and in recovery scenarios they are usually run from the command prompt inside WinRE or installation media.

  • bcdedit /enum all lists every object and element, which is the first diagnostic step.
  • bcdedit /export C:\bcd-backup saves a copy of the store; always export before editing.
  • bcdboot C:\Windows rebuilds boot files and a fresh store from the installed Windows image.
  • bootrec /rebuildbcd scans disks for Windows installations and offers to add them to the store.
  • reagentc /info shows whether WinRE is enabled and which BCD entry it uses.

The decision table below matches common situations to the most suitable tool.

SituationRecommended actionReason
Change menu timeout or default entrybcdedit /timeout or /defaultPrecise change to one element
Store missing or corruptedbcdboot from WinRERecreates store and boot files together
Installation missing from menubootrec /rebuildbcdDetects and adds existing installations
Recovery tools unavailablereagentc /enableRestores the recovery sequence link
Debugging or test signingbcdedit /set with specific elementSettings apply only at boot
Choosing a BCD tool for the situation

Risks, limitations and common mistakes

BCD is small but critical, so a single wrong element can leave a system unbootable. Most incidents come from manual edits, disk cloning or BitLocker interactions rather than from defects in the store itself.

  • Editing without a backup makes rollback impossible when an identifier is deleted by mistake.
  • Changing boot settings on a BitLocker-protected drive can trigger a recovery key prompt, because the TPM measures BCD values; suspending BitLocker first avoids this.
  • Cloning a disk to new hardware may leave stale device references, which bcdboot corrects.
  • Running bootrec /fixmbr on a GPT disk has no useful effect, since UEFI systems do not use a master boot record.
  • Disabling recoveryenabled hides automatic Startup Repair, which delays diagnosis after a failed update.

A further limitation is visibility: the store is not human-readable, and tools present GUIDs that must be copied exactly. Scripts that parse bcdedit output can break on localized systems, because element names and headings appear in the installed display language.

The short version

When a Windows computer starts, it needs a set of instructions before Windows itself is running. Boot Configuration Data is that instruction sheet. It tells the startup program which version of Windows to open, where it is stored on the disk and which special tools, such as the repair environment, are available.

If the instruction sheet is lost or damaged, the computer still has Windows on its disk but no longer knows how to reach it. Repairing BCD restores the directions, not Windows itself, which is why a quick rebuild often brings a seemingly dead PC back to life.

Where it makes a difference

An IT technician at a small accounting office replaces a failing laptop drive by cloning it onto a new NVMe SSD. After the swap, the laptop shows a blue recovery screen with error 0xc000000f, stating that the boot configuration data is missing required information. Windows files are intact, but the store still references the old disk identifiers.

The technician boots from a USB recovery drive, opens the command prompt, assigns a letter to the EFI system partition and runs bcdboot C:\Windows /s S: /f UEFI. The command writes new boot files and a fresh store in about ten seconds. After a restart, reagentc /enable relinks the recovery entry, and the laptop boots normally within fifteen minutes, with no reinstallation and no data loss.