The bcdedit command in Windows

Boot Configuration Data files (BCD) - boot configuration data provide a store that is used to describe boot applications and boot application settings.

Boot Configuration Data (BCD) files - boot configuration data - provide a store that is used to describe boot applications and boot application settings. The objects and elements in the repository replace the Boot.ini effect .

BCDEdit is a command line tool for managing BCD stores. It can be used for many different purposes, including creating new stores, modifying existing stores, adding parameters to the boot menu, etc. BCDEdit basically has the same purpose as Bootcfg.exe on previous versions of Windows, but with two major improvements:

  1. Displays a wider boot parameter range than Bootcfg.exe.
  2. Improved script support.

Note : Admin permissions are required to use BCDEdit to modify BCD.

BCDEdit is the main tool for editing the boot configuration for Windows Vista and later versions of Windows. It is included in the Windows Vista distribution in the % WINDIR% System32 folder.

BCDEdit is limited to standard data types and is primarily designed to make unique general changes to BCD. For more complex operations or non-standard data types, consider using the Windows Management Instrumentation (WMI) application programming interface (API) for BCD to create powerful and flexible custom tools more active.

The bcdedit command in Windows

  1. Syntax
  2. Parameters
    1. General command line option BCDEdit
    2. The parameters work on a store
    3. Parameters operate on entries in a store
    4. The parameters work on the import options
    5. Parameter control output
    6. Boot Manager control parameter
    7. Control parameters Emergency Management Services
    8. Parameter control debugging

Syntax

 BCDEdit / Command [] [] . 

Parameters

General command line option BCDEdit

Options / options? Display the list of BCDEdit commands. Running this command without arguments displays a summary of the available commands. To show detailed help for a specific command, run bcdedit /? , that's the name of the command you're looking for more information. For example, bcdedit /? createstore displays detailed help for Createstore command.

The parameters work on a store

OptionsOptions / createstore Create a new store with a blank boot configuration. Store created is not a system store. / export Export the contents of the system store to a file. This file can be used later to restore the state of the system store. This command is only valid for system store. / import Restores the state of the system store by using the previously created backup data file, using the option / export. This command deletes any existing entry in the system store, before the import process takes place. This command is only valid for system store. / store This option can be used with most BCDedit commands, to specify which store will be used. If this option is not specified, BCDEdit will work on the system store. Running bcdedit / store is equivalent to running bcdedit / enum active.

Parameters operate on entries in a store

Parameter Description / copy Create a copy of a boot item specified in the same system store. / create Create a new entry in the boot configuration data store. If a common format is specified, it is not possible to specify parameters / application, / inherit and / device. If a format is not specified or is not famous, choose an / application option , / inherit or / device. / delete Delete an element from a specified item.

The parameters work on the import options

Parameter Description / deletevalue Delete an element specified from the boot item. / set Set optional value for entry.

Parameter control output

Parameter Description / enum Lists entries in a store. The / enum option is the default value for BCDEdit, so run the bcdedit command with no parameters equivalent to running the bcdedit / enum active command. / v Verbose mode. Typically, any identifier for common entries is represented by their friendly abbreviation form. Specify / v as a command line option that displays all full identifiers. Running bcdedit / v is equivalent to running bcdedit / enum active / v .

Boot Manager control parameter

Parameter Description / bootsequence Specifies the one-time display order used for the next boot. This command is similar to the / displayorder option , except that it is only used during the next computer boot. After that, the computer will return to the original display order. / default Specifies the default entry that Boot Manager chooses when the timeout expires. / displayorder Specifies the display order that Boot Manager uses when displaying boot parameters to users. / timeout Specifies the waiting time, in seconds, before Boot Manager selects the default entry. / toolsdisplayorder Specifies the display order for Boot Manager to use when displaying the Tools menu.

Control parameters Emergency Management Services

Parameter Description / bootems Turn on or turn off Emergency Management Services (EMS) for the specified entry. / ems Enable or disable EMS for the specified operating system boot entry. / emssettings Set general EMS settings for computers. / emssettings does not turn on or off EMS for any specific boot item.

Parameter control debugging

Description / bootdebug parameter Turns on or off the debugger for a specified boot item. Although this command works for any boot item, it is only valid for boot applications. / dbgsettings

Specify or display the general debugger settings for the system. This command does not turn on or off the kernel debugger; but must use options / debug for that purpose. To set up a single debugger installation, use the command:

 bcdedit / set 
/ debug Enables or disables the kernel debugger for a specified boot entry.

See more:

  1. Command at in Windows
  2. Bcdboot command in Windows
  3. The autofmt command in Windows
Update 26 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile