BCDEdit Options Reference

Boot entry parameters, or boot parameters, are optional, system-specific settings that represent configuration options. You can add boot parameters to a boot entry for an operating system.

This section describes the boot options for supported versions of Windows that are related to developing, testing, and debugging drivers on computers with x86-based and x64-based processors. You can add these parameters to the boot entries for Windows operating systems.

Caution

Administrative privileges are required to use BCDEdit to modify BCD. Changing some boot entry options using the BCDEdit /set command could render your computer inoperable. As an alternative, use the System Configuration utility (MSConfig.exe) to change boot settings.

Note

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

In this section

Topic Description

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 /dbgsettings

The /dbgsettings option sets or displays the current global debugger settings for the computer. To enable or disable the kernel debugger, use the BCDEdit /debug option.

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

BCDEdit /debug

The /debug boot option enables or disables kernel debugging of the Windows operating system associated with the specified boot entry or the current boot entry.

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

BCDEdit /deletevalue

The BCDEdit /deletevalue command deletes or removes a boot entry option (and its value) from the Windows boot configuration data store (BCD). Use the BCDEdit /deletevalue command to remove options that were added using BCDEdit /set command. You might need to remove boot entry options when you are testing and debugging your driver for Windows 7, Windows 8, Windows 8.1, Windows 10 and later versions of Windows.

BCDEdit /ems

The /ems option enables or disables Emergency Management Services (EMS) for the specified operating system boot entry.

BCDEdit /emssettings

The /emssettings option sets the global Emergency Management Services (EMS) settings for the computer. To enable or disable EMS, use the /ems option. The /emssettings option does not enable or disable EMS for any boot entry.

BCDEdit /set

The BCDEdit /set command sets a boot entry option value in the Windows boot configuration data store (BCD) for Windows 7, Windows Server 2008, Windows 8, Windows 8.1,Windows 10, Windows Server 2012, and Windows Server 2012 R2. Use the BCDEdit /set command to configure specific boot entry elements, such as kernel debugger settings, memory options, or options that enable test-signed kernel-mode code or load alternate hardware abstraction layer (HAL) and kernel files. To remove a boot entry option, use the BCDEdit /deletevalue command.

See also

Adding Boot Entries