Skip to content

Windows BCDEDIT command

The Windows bcdedit command is a powerful tool that allows users to view, modify, and configure boot configuration data. This command is essential for managing various aspects of the Windows operating system’s boot process, such as adding new boot entries, modifying boot settings, and fixing boot-related issues. By using bcdedit, users can customize boot options, change boot parameters, and troubleshoot boot problems. Understanding how to use bcdedit can help users maintain a stable and efficient boot process on their Windows devices.

BCDEDIT Syntax:

Terminal window
bcdedit [/parameter] [option] [value]

Options:

OptionDescription
/createCreates a new entry for the boot manager
/enumDisplays information about entries in the store
/deleteDeletes entries from the store
/setSets a boot manager entry option value
/bootsequenceSets the one-time boot sequence for the boot manager
/displayorderSets the boot manager display order
/timeoutSets the boot manager timeout value
/defaultSets the default entry for the boot manager
/emsEnables or disables Emergency Management Services
/emssettingsConfigures Emergency Management Services options
/errorcontrolSets the error control options
/resumeloadResumes a hibernated OS image load
/customactionsConfigures custom BCDEdit actions
/driverConfigures options for boot-critical drivers
/hypervisorConfigure the hypervisor launch type

Parameters:

ParameterDescription
/storeSpecifies the store to be used (default is the system store)
/bootsequenceLists the devices in a one-time boot sequence
/emsportSets the COM port for EMS redirection
/emsbaudSets the baud rate for EMS redirection
/defaultSets the default boot entry identifier
displayorderSpecifies a list of boot entry identifiers for display purposes
timeoutSets the waiting time in seconds before the default OS option loads

BCDEDIT Usage:

Set a Description for a Windows Boot Entry

Terminal window
bcdedit /set {identifier} description "Windows 10 Pro"

Set a custom description for a Windows boot entry identified by {identifier}.

Change the Boot Manager Timeout

Terminal window
bcdedit /timeout 10

Change the boot manager timeout to 10 seconds.

Display Detailed Boot Configuration Data

Terminal window
bcdedit /enum [{identifier}] /v

Display detailed information about the boot configuration data, either for all entries or a specific entry.

Restore the Default Windows Boot Entry

Terminal window
bcdedit /default {default}

Restore the default Windows boot entry identified by {default} value.

Common Questions on BCDEDIT Usage:

How do I use bcdedit in CMD?

To use the bcdedit command in CMD, execute the following command:

Terminal window
bcdedit /enum

What does bcdedit /enum do?

The command “bcdedit /enum” displays the current boot configuration data stored in the Windows Boot Manager.

Terminal window
bcdedit /enum

How can I use bcdedit to modify boot options?

To modify boot options using bcdedit in CMD, you can use commands like “bcdedit /set” followed by the appropriate parameters.

Terminal window
bcdedit /set {parameter} {value}

How can I disable a specific boot entry with bcdedit?

To disable a specific boot entry using bcdedit in CMD, you can use the “bcdedit /set” command with the “status” parameter set to “disabled”.

Terminal window
bcdedit /set {entry} description "Windows 10 (disabled)"

How do I delete a boot loader entry with bcdedit?

To delete a boot loader entry using bcdedit in CMD, you can use the “bcdedit /delete” command with the appropriate entry identifier.

Terminal window
bcdedit /delete {identifier}

Yes, bcdedit can be used to troubleshoot boot-related issues by displaying and modifying boot configuration data to resolve problems.

Terminal window
bcdedit /enum {specific parameter}

Applications of the BCDEDIT Command

  • Modify boot settings
  • Create boot entries
  • Delete boot entries
  • Display detailed boot configuration data
  • Set the default operating system
  • Change boot menu display settings
  • Enable or disable kernel debugging
  • Configure firmware boot manager settings