BCDEdit /bootdebug

The /bootdebug boot option enables or disables boot debugging of the current or specified Windows operating system boot entry.

Note  Before setting BCDEdit options you might need to disable or suspend BitLocker and Secure Boot on the computer.

    bcdedit /bootdebug [{ID}] { on | off } 




The {ID} is the GUID that is associated with the boot entry. If you do not specify an {ID}, the command modifies the operating system that is currently active. If a boot entry is specified, the GUID associated with the boot entry must be enclosed in braces {}.


Enables boot debugging of the specified boot entry. If a boot entry is not specified, boot debugging is enabled for the current operating system.


Disables boot debugging of the specified boot entry. If a boot entry is not specified, boot debugging is disabled for the current operating system.


The /bootdebug boot option enables boot debugging for a specific boot entry. Use the /dbgsettings option to configure the type of debugging connection (debugtype) to use and the connection parameters. If no /dbgsettings are specified for the boot entry, the global debug settings are used. The default values for the global settings are shown in the following table.

dbgsetting parameterDefault value








For information about Windows debugging tools, see Windows Debugging. For information about setting up and configuring a kernel-mode debugging session, see Setting Up Kernel-Mode Debugging Manually.

The following command disables boot debugging of Windows Boot Manager (Bootmgr.exe). Windows Boot Manager selects which operating system will start, and then loads the Windows boot loader.

bcdedit /bootdebug {bootmgr} off 

The following command enables boot debugging of the Windows boot loader for the current operating system. The Windows boot loader (Winload.exe) controls the progress bar and loads the kernel boot drivers.

bcdedit /bootdebug on 

In the following example, the first command sets the global debugger settings for a 1394 kernel debugging connection. The next three commands enable debugging of Windows Boot Manager, the boot loader, and then kernel debugging of the operating system. This combination allows debugging at every stage of startup. If this combination is used, the target computer will break into the debugger three times: when Windows Boot Manager loads, when the boot loader loads, and when the operating system starts up.

bcdedit /dbgsettings 1394 CHANNEL:1 
bcdedit /bootdebug {bootmgr} on 
bcdedit /bootdebug on 
bcdedit /debug on 



Send comments about this topic to Microsoft