Share via


BCDBoot Command-Line Options (Standard 7 SP1)

7/8/2014

The file BCDboot.exe is a boot-file creation and repair tool, which is used to set up a system partition, or to repair the boot environment located on the system partition. The system partition is set up by copying a small set of boot-environment files from an installed Windows image. BCDboot.exe also creates a Boot Configuration Data (BCD) store on the system partition with a new boot entry that enables you to boot to the installed Windows image.

Where to Find BCDBoot.exe

In the tools development environment of Windows Embedded Standard 7, BCDBoot.exe can be found at the following locations:

%PROGRAMFILES%\Windows Embedded Standard 7\Tools\x86

%PROGRAMFILES%\Windows Embedded Standard 7\Tools\AMD64

In an installation image of Standard 7 that includes the System Management Utilities feature pack, BCDBoot.exe can be found at %WINDIR%\System32\.

BCDBoot Command-Line Options

The following command-line options are available for BCDboot.exe:

Bcdboot.exe <source> [/l <locale>] [/s <volume-letter>] [/v] [/m [{OS Loader ID}]]

For example, to create a BCD store on the default system partition with the optional locale parameter set to US English, you would use the following command:

bcdboot c:\windows /l en-us

A description of each option follows.

Command

Description

source

Specifies the location of the Windows system root.

/l

Specifies an optional locale parameter to use when initializing the BCD store. The default is US English.

/s

Specifies an optional volume-letter parameter to designate the target system partition where boot-environment files are copied. The default is the system partition identified by the firmware.

/v

Enables verbose mode.

/m

If a system-loader GUID is provided, this option merges the given loader object with the system template to produce a bootable entry. Otherwise, only global objects are merged.

See Also

Other Resources

Command-Line Tools Technical Reference