text
stringlengths
0
4.23k
/set
Sets an entry option value.
Parameters that Control Output
Parameter
Description
/enum
Lists entries in a store. The /enum option is the default value for BCEdit, so running the bcdedit command without parameters is equivalent to running the bcdedit /enum active command.
/v
Verbose mode. Usually, any well-known entry identifiers are represented by their friendly shorthand form. Specifying /v as a command-line option displays all identifiers in full. Running the bcdedit /v command by itself is equivalent to running the bcdedit /enum active /v command.
Parameters that Control the Boot Manager
Parameter
Description
/bootsequence
Specifies a one-time display order to be used for the next boot. This command is similar to the /displayorder option, except that it is used only the next time the computer starts. Afterwards, the computer reverts to the original display order.
/default
Specifies the default entry that the boot manager selects when the timeout expires.
/displayorder
Specifies the display order that the boot manager uses when displaying boot parameters to a user.
/timeout
Specifies the time to wait, in seconds, before the boot manager selects the default entry.
/toolsdisplayorder
Specifies the display order for the boot manager to use when displaying the Tools menu.
Parameters that Control Emergency Management Services
Parameter
Description
/bootems
Enables or disables Emergency Management Services (EMS) for the specified entry.
/ems
Enables or disables EMS for the specified operating system boot entry.
/emssettings
Sets the global EMS settings for the computer. /emssettings does not enable or disable EMS for any particular boot entry.
Parameters that Control Debugging
Parameter
Description
/bootdebug
Enables or disables the boot debugger for a specified boot entry. Although this command works for any boot entry, it is effective only for boot applications.
/dbgsettings
Specifies or displays the global debugger settings for the system. This command does not enable or disable the kernel debugger; use the /debug option for that purpose. To set an individual global debugger setting, use the bcdedit /set <dbgsettings> <type> <value> command.
/debug
Enables or disables the kernel debugger for a specified boot entry.
<dbgsettings> <type> <value>
bdehdcfg: driveinfo
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Displays the drive letter, the total size, the maximum free space, and the partition characteristics. Only valid partitions are listed. Unallocated space is not listed if four primary or extended partitions already exist.
Note
This command is informational only and makes no changes to the drive.
Syntax
bdehdcfg -driveinfo <drive_letter>
Parameters
Parameter
Description
<drive_letter>
Specifies a drive letter followed by a colon.
Example
To display the drive information for the C: drive:
bdehdcfg driveinfo C:
bdehdcfg: newdriveletter
Assigns a new drive letter to the portion of a drive used as the system drive. As a best practice, we recommend not assigning a drive letter to your system drive.