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.
| Component | UEFI systems | Legacy BIOS systems |
|---|---|---|
| BCD store | EFI system partition, \EFI\Microsoft\Boot\BCD | System partition, \Boot\BCD |
| Boot manager | bootmgfw.efi | bootmgr |
| OS loader | \Windows\System32\winload.efi | \Windows\System32\winload.exe |
| Partition style | GPT disk | MBR disk |
| Firmware boot entry | NVRAM entry named Windows Boot Manager | Active partition boot sector |
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.
| Object | Typical identifier | What it controls |
|---|---|---|
| Boot manager | {bootmgr} | Menu timeout, display order, default entry |
| OS loader entry | {current} or a GUID | Path to winload, system root, boot options |
| Resume loader | GUID linked to the OS entry | Waking from hibernation via winresume |
| Memory tester | {memdiag} | Windows Memory Diagnostic |
| Recovery entry | GUID referenced by recoverysequence | Booting Windows Recovery Environment from WinRE.wim |
| Inherited settings | {globalsettings}, {bootloadersettings} | Defaults shared by several entries |
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 compared with related boot mechanisms
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.
| Mechanism | Format | Scope | Edited with |
|---|---|---|---|
| BCD | Binary registry hive | Windows boot entries and options | bcdedit, bcdboot, msconfig |
| boot.ini | Plain text | NT loader on Windows XP and earlier | Text editor |
| UEFI NVRAM entries | Firmware variables | Which boot manager file the firmware starts | Firmware setup, bcdedit /enum firmware |
| GRUB configuration | Text script | Linux and multiboot menus | grub-mkconfig, text editor |
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 alllists every object and element, which is the first diagnostic step.bcdedit /export C:\bcd-backupsaves a copy of the store; always export before editing.bcdboot C:\Windowsrebuilds boot files and a fresh store from the installed Windows image.bootrec /rebuildbcdscans disks for Windows installations and offers to add them to the store.reagentc /infoshows whether WinRE is enabled and which BCD entry it uses.
The decision table below matches common situations to the most suitable tool.
| Situation | Recommended action | Reason |
|---|---|---|
| Change menu timeout or default entry | bcdedit /timeout or /default | Precise change to one element |
| Store missing or corrupted | bcdboot from WinRE | Recreates store and boot files together |
| Installation missing from menu | bootrec /rebuildbcd | Detects and adds existing installations |
| Recovery tools unavailable | reagentc /enable | Restores the recovery sequence link |
| Debugging or test signing | bcdedit /set with specific element | Settings apply only at boot |
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.