bcdedit /copy current /d "Windows 11 - Debug Mode" The command returns a new GUID, e.g., 5d5f9a7c-... . Use this GUID in subsequent commands. Set the boot menu description:
bcdedit /deletevalue current safeboot bcdedit /delete 5d5f9a7c-... /cleanup The /cleanup flag removes associated files (e.g., hiberfile for that entry). 4. Special Identifiers | Identifier | Meaning | |------------|---------| | current | The OS entry that is currently running. | | default | The entry that will boot if no user selection is made. | | bootmgr | The Windows Boot Manager entry (controls the menu). | | memdiag | Windows Memory Diagnostic entry. | | ntldr | For booting legacy OSes (Windows XP) via ntldr . | | fwbootmgr | Firmware boot manager (UEFI only). | 5. Advanced Use Cases 5.1 Repairing or Rebuilding the BCD Store Boot from Windows installation media → Repair your computer → Troubleshoot → Command Prompt: bcdedit
bcdedit /set 5d5f9a7c-... bootlog Yes Disable Driver Signature Enforcement (for test-signed drivers): bcdedit /copy current /d "Windows 11 - Debug
bcdedit /set hypervisorlaunchtype off To directly boot the default OS without showing the menu: Set the boot menu description: bcdedit /deletevalue current
bcdedit /set 5d5f9a7c-... testsigning on Set timeout (seconds):
bcdedit /default 5d5f9a7c-... Set boot menu display order:
bcdedit /set 5d5f9a7c-... description "Windows 11 Safe Mode" Enable boot logging: