Complete CLI & GUID Reference
bcdedit.exe Command Index, Well-Known Identifiers & Error Matrix
Authoritative reference covering every store management verb, firmware identifier, kernel boot parameter, and WinRE recovery stop code across Windows 10, Windows 11, and Windows Server.
Core bcdedit & bcdboot Syntax Matrix
Showing 16 of 16 commands and recovery stop codes
| Category | Command Syntax | Behavior & Notes |
|---|---|---|
| Inspection | bcdedit /enum ALL /v | Displays every boot application and raw GUID in the store without well-known alias truncation. |
| Inspection | bcdedit /enum {bootmgr} | Shows Boot Manager partition, EFI path, timeout, displayorder, and toolsdisplayorder. |
| Backup | bcdedit /export C:\bcd-backup.bak | Saves a consistent binary snapshot of the live system BCD store prior to modifications. |
| Recovery | bcdedit /import C:\bcd-backup.bak | Restores the active BCD store from an exported snapshot (supported in WinRE Command Prompt). |
| Recovery | bcdboot C:\Windows /s S: /f UEFI | Re-initializes \EFI\Microsoft\Boot\BCD on a mounted FAT32 EFI System Partition (S:). |
| Multi-OS | bcdedit /copy {current} /d "Label" | Clones an OS loader entry and emits a fresh GUID so dual-boot or test flags never overwrite daily boot. |
| Multi-OS | bcdedit /timeout 10 | Configures how many seconds Windows Boot Manager displays OS choices before booting {default}. |
| Multi-OS | bcdedit /bootsequence {guid} | Sets a one-time boot target for the next restart without changing the permanent default OS. |
| Kernel Flags | bcdedit /set {current} hypervisorlaunchtype off | Stops Hyper-V root hypervisor startup for Type-2 hypervisors (re-enable with auto). |
| Kernel Flags | bcdedit /set {current} safeboot minimal | Persistent Safe Mode boot flag; clear using bcdedit /deletevalue {current} safeboot. |
| Kernel Flags | bcdedit /set {current} testsigning on | Allows test-signed drivers during kernel development (requires Secure Boot off). |
| VHD / VHDX | bcdedit /set {guid} device vhd=[C:]\vhds\lab.vhdx | Points loader application device to a virtual hard disk container stored on host volume C:. |
Well-Known BCD Object Identifiers
Well-known aliases resolve automatically in interactive elevated terminals and recovery prompts:
{bootmgr}- Controls global timeout, displayorder, toolsdisplayorder, and firmware EFI boot manager behavior.
{current}- Targets the OS loader entry that booted the currently active Windows session.
{default}- Resolves to whichever OS loader is currently configured as the Boot Manager default selection.
{fwbootmgr}- Inspects or reorders UEFI NVRAM firmware boot entries (Windows Boot Manager, PXE, Linux shimx64.efi).
Windows Boot Manager Error Code Diagnostics
| Stop Code | Symptom | Root Cause | Verified CLI Recovery |
|---|---|---|---|
0xc000000f | The Boot Selection Failed / BCD Missing | Missing \EFI\Microsoft\Boot\BCD or unmounted/corrupted FAT32 EFI System Partition. | Assign ESP letter in diskpart, then run bcdboot C:\Windows /s S: /f UEFI |
0xc0000225 | A Required Device Isn’t Connected | Loader device or osdevice reads unknown after drive cloning or GPT GUID change. | bcdedit /set {default} device partition=C: && bcdedit /set {default} osdevice partition=C: |
0xc0000098 | BCD File Doesn’t Contain Valid OS Info | Empty or zero-byte BCD hive after failed Windows Update or interrupted repair. | Rename old BCD to BCD.old, then regenerate cleanly with bcdboot C:\Windows /s S: /f UEFI |
0xc0000428 | Cannot Verify Digital Signature (winload.efi) | Driver test-signing mismatch or unsigned third-party storage driver under Secure Boot. | Suspend BitLocker first; either restore signed sys binary or toggle testsigning / Secure Boot |