Boot Configuration Data (BCD) files provide a store that is used to describe
boot applications and boot application settings. The objects and elements in the
store effectively replace Boot.ini.
BCDEdit is a command-line tool for managing BCD stores. It can be used for a
variety of purposes, including creating new stores, modifying existing stores,
adding boot menu parameters, and so on. BCDEdit serves essentially the same
purpose as Bootcfg.exe on earlier versions of Windows, but with two major
improvements:
• Exposes a wider range of boot parameters than Bootcfg.exe.
• Has improved scripting support.
BCDEdit is the primary tool for editing the boot configuration of
Windows Vista and later versions of Windows. It is included with the
Windows Vista distribution in the %WINDIR%\System32 folder.
BCDEdit is limited to the standard data types and is designed primarily to
perform single common changes to BCD. For more complex operations or
nonstandard data types, consider using the BCD Windows Management
Instrumentation (WMI) application programming interface (API) to create more
powerful and flexible custom tools.
Syntaxes
BCDEdit /Command [
Syntax Description
/? = Displays a list of BCDEdit commands. Running this command without an argument displays a summary of the available commands. To display detailed help for a particular command, run bcdedit
/?
information about. For example, bcdedit /? createstore displays detailed help for the Createstore
command.
Parameters that Operate on a Store
Syntax Description
/createstore = Creates a new empty boot configuration data store. The created store is not a system store.
/export = Exports the contents of the system store into a file. This file can be used later to restore t
he state of the system store. This command is valid only for the system store.
/import = Restores the state of the system store by using a backup data file previously generated by using
the /export option. This command deletes any existing entries in the system store before the import takes place. This command is valid only for the system store.
/store = This option can be used with most BCDedit commands to specify the store to be used. If this option is not specified, then BCDEdit operates on the system store. Running the bcdedit /store command by itself is equivalent to running the bcdedit /enum active command.
Parameters that Operate on a Store
Syntax Description
/createstore = Creates a new empty boot configuration data store. The created store is not a system store.
/export = Exports the contents of the system store into a file. This file can be used later to restore the state of the system store. This command is valid only for the system store.
/import = Restores the state of the system store by using a backup data file previously generated by using the /export option. This command deletes any existing entries in the system store before the
import takes place. This command is valid only for the system store.
/store = This option can be used with most BCDedit commands to specify the store to be used. If this option is not specified, then BCDEdit operates on the system store. Running the bcdedit /store command by itself is equivalent to running the bcdedit /enum active command.
No comments:
Post a Comment