Use this when editing or repairing boot entries Windows Boot Manager uses.
BCD
The BCD (Boot Configuration Data) store holds the boot entries Windows Boot Manager uses — which loader to start, devices and options like safe mode. View and edit it with bcdedit.
1. bcdedit /enum — default entry, device, osdevice.
2. Back up: bcdedit /export C:\bcd.bak.
3. Rebuild from WinRE: bcdboot C:\Windows.
4. Timeout and safeboot flags.
5. Reboot.
BCD store → entries → selected loader
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Prove the active BCD path with a cold boot Verify boundary
After a BCD repair, verify the firmware boot entry leads to the intended EFI/boot partition and that Boot Manager selects the expected Windows loader without manual override. Confirm the loader references the intended OS volume and that Windows reaches kernel startup and logon. Then repeat a full reboot or cold boot with recovery or install media removed so hidden fallback paths are not masking the result. If multiple Windows installations exist, test the intended default and any required alternate entry. A successful bcdedit command shows the store was modified; only an unattended boot through the same firmware path shows the active boot chain is repaired.
Step 2 Distinguish store corruption from wrong boot path Narrow the fault
For BCD-related boot failures, first determine whether firmware reaches Windows Boot Manager. If not, BCD may not be the first failing step; inspect the EFI System Partition, firmware boot entry and disk visibility. If Boot Manager runs but reports a missing entry or loader, enumerate the active store and validate the selected object’s device, osdevice, path and recovery references. Be cautious after disk cloning or partition changes because stale identifiers can point to the wrong installation. Rebuilding boot data can be appropriate when the store or boot files are genuinely damaged, but it should not be the first action when the underlying partition is offline, encrypted, missing or mounted differently.
Step 3 Diagnosis Narrow the fault
BCD — discriminating diagnosis for Boot Process → BCD. Use this chain of steps: Concrete boundaries: firmware/device → EFI/System partition → Boot Manager/BCD → winload/kernel → boot drivers → Session Manager → SCM/logon → user/service workload. IF the stable identity (same computer, service/process, security context and concrete runtime object) cannot be matched between adjacent layers, stop and correct scope before interpreting downstream absence. ELSE IF the object is transitional (service start-pending/stop-pending, policy propagation, failover or retry state with progress in event/timestamp/state data), inspect the responsible timer/retry/sequence/queue and show whether it progresses. ELSE IF the owner looks known-good (configured state is consumed by the responsible Windows subsystem and the resulting runtime object/service state matches the intended operation), verify the next consumer/effective state rather than repeating the same local check. A broken signature is SCM/provider/kernel state disagrees with configuration, dependency is unavailable, repeated transition resets or the original client operation still fails It is a candidate boundary, not automatic root cause. Identify the last completed phase, inspect the BCD/system partition only if that phase is implicated, then validate driver/service transition and complete a normal boot plus original workload.
Step 4 Branching troubleshooting Narrow the fault
Concrete boundaries: firmware/device → EFI/System partition → Boot Manager/BCD → winload/kernel → boot drivers → Session Manager → SCM/logon → user/service workload.
Step 5 Common mistakes Narrow the fault
- Editing BCD without
bcdedit /exportfirst.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- One wrong BCD entry can leave the system unbootable.
- On UEFI the BCD store is on the EFI System Partition.
bcdedit /enum all— BCD entriesGet-WinEvent -FilterHashtable @{LogName='System';Id=41,6008,1001}— unexpected shutdowns and bugchecksreagentc /info— WinRE statusConfirm-SecureBootUEFI— Secure Boot statemountvol /s / Get-Partition— EFI System Partition
ReferenceHow it works2 sections · depth on demand
BCD objects, boot manager and loader selection
Boot Configuration Data is the configuration store used by Windows Boot Manager and related boot components to describe boot entries, loader objects, device references, recovery settings and boot policy. On UEFI systems, firmware normally starts Windows Boot Manager from the EFI System Partition, which then reads the applicable BCD store and chooses a loader entry. Multiple disks, cloned installations and recovery environments can leave more than one BCD store on a machine, so editing “a BCD” is not enough—you must identify the store used by the current firmware boot path. Device identifiers can refer to partitions or boot devices in ways that differ from drive letters seen later in Windows.
How it works
BCD — state ownership for Boot Process → BCD. Identity to preserve: same computer, service/process, security context and concrete runtime object Owner sequence: Windows boot proceeds through firmware/UEFI and boot device discovery, Windows Boot Manager/BCD selection, winload, kernel/HAL initialization, boot-start drivers, Session Manager and service/logon initialization. Success at BCD parsing does not show the system volume, driver set or later service stack can initialize. Known-good: configured state is consumed by the responsible Windows subsystem and the resulting runtime object/service state matches the intended operation Transitional: service start-pending/stop-pending, policy propagation, failover or retry state with progress in event/timestamp/state data Broken: SCM/provider/kernel state disagrees with configuration, dependency is unavailable, repeated transition resets or the original client operation still fails Do not collapse configured/requested state, owner state, programmed/effective state and workload outcome into one “healthy” flag. What this does not show: GUI/registry/configuration presence does not show effective runtime state or end-to-end service behavior Scope: Windows/Windows Server with BIOS/UEFI differences; boot files and recovery layout vary by installation/version.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The Boot Configuration Data (BCD) store holds the boot manager settings and OS loader entries — which Windows installations exist, where they are, and boot options such as safe mode, debugging and timeouts. On UEFI systems it lives on the EFI system partition.
bcdedit /enum
bcdedit /enum all /v
bcdedit /export C:\Backup\bcd-backup
bcdedit /set {default} safeboot minimal :: next boots in Safe Mode
bcdedit /deletevalue {default} safeboot
bcdedit /set {bootmgr} timeout 5
bcdboot C:\Windows /s S: /f UEFI :: rebuild boot files and BCD
| Common task | Command |
|---|---|
| Back up BCD | bcdedit /export |
| Rebuild boot files | bcdboot |
| Enable boot logging | bcdedit /set {default} bootlog yes |
| Test signing (labs only) | bcdedit /set testsigning on — never on production |
With BitLocker, changing BCD settings can trigger recovery — suspend BitLocker first.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Boot Process → BCD. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/boot-options-in-windows · confidence 94%