The bcdedit command in Windows
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:
- Displays a wider boot parameter range than Bootcfg.exe.
- 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
- Syntax
- Parameters
- General command line option BCDEdit
- The parameters work on a store
- Parameters operate on entries in a store
- The parameters work on the import options
- Parameter control output
- Boot Manager control parameter
- Control parameters Emergency Management Services
- 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 /?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. / dbgsettingsSpecify 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:
- Command at in Windows
- Bcdboot command in Windows
- The autofmt command in Windows
You should read it
- Del command in Windows
- Set command in Windows
- Command at in Windows
- Cmd command in Windows
- Fc command in Windows
- The command reg add in Windows
- Rem command in Windows
- The echo command in Windows
- Reg command copy in Windows
- Bitsadmin getdisplayname and bitsadmin geterror command in Windows
- Doskey command in Windows
- Sub-commands in nslookup Windows command (Part 2)