Bootmgr
Bcdedit
Bcdedit commands
bcdedit Command Cheatsheet
Understanding bcdedit Blocks
Running bcdedit without arguments displays the boot configuration blocks, each with its identifier:
C:\Users\Administrator> bcdedit
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {2e778b72-f5bc-11ef-942a-884e54a024e9}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 10
Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.efi
description Windows 10
locale en-US
inherit {bootloadersettings}
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {2e778b72-f5bc-11ef-942a-884e54a024e9}
nx OptIn
bootmenupolicy LegacyGeneral Syntax:
bcdedit /set <{identifier}> <parameter> <value>Modifying Boot Manager
Set timeout for selection menu:
bcdedit /set {bootmgr} timeout <value>Set OS display order:**
bcdedit /set {bootmgr} displayorder <OS1> <OS2> …Set default OS:
bcdedit /set {bootmgr} default <{identifier}>Set boot manager language:
bcdedit /set {bootmgr} locale <language_code>Modifying Operating System Entries
Change displayed name in menu:
bcdedit /set <{identifier}> description "Your OS Name"Set OS partition:
bcdedit /set <{identifier}> device partition=<drive_letter>:Modify winload.exe path:
bcdedit /set <{identifier}> path <path_to_winload.exe>Enable/disable Hyper-V:
bcdedit /set <{identifier}> hypervisorlaunchtype <auto|off>Other Useful Commands
List all entries:
bcdedit /enum allCreate a new OS entry:
bcdedit /copy {current} /d "New OS Entry"Delete an entry:
bcdedit /delete <{identifier}>Restore default BCD settings:
bcdedit /import <backup_file>Export BCD for backup:
bcdedit /export <backup_file>Troubleshooting with bcdedit
Repair Boot Configuration:
bootrec /rebuildbcdSet Safe Mode boot:
bcdedit /set {current} safeboot minimalEnable Legacy Boot Menu (F8 on startup):
bcdedit /set {bootmgr} displaybootmenu yesDisable Driver Signature Enforcement:
bcdedit /set nointegritychecks onEnable Debugging Mode:
bcdedit /set {current} debug onTools
Last updated on