BCDBOOT – A boot file creation and repair tool.
BCDBOOT command line tool is used to copy critical boot files to the system partition and to create a new system BCD store.
Syntax
bcdboot options
Options
source | Provide the location of the windows system root. |
/l | Provide an optional locale parameter to use when initializing the BCD store. The default is US English. |
/s | Provide 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 an OS 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. |
BCDboot can update an existing boot environment on the system partition:
If there is already a boot entry for this Windows partition, by default, BCDboot erases the old boot entry and its values. To retain the values from an existing boot entry when you update the system files, you can use the /m option together with the BDCBoot.exe command.
BCDboot copies newer versions of files from the Windows image to the system partition.
If a BCD store already exists on the system partition, BCDboot creates a new boot entry in the existing BCD store based on settings in the BCD-Template file.
On BIOS-based systems, the system partition is the active partition on disks using the Master Boot Record (MBR) disk format. BCDboot creates the \Boot directory on the system partition and copies all required boot-environment files to this directory.
Supported OS: Windows 8, Windows 7, Windows Vista, Windows Server 2012, Windows Server 2008 R2 or Windows Server 2008
Examples:
bcdboot c:\windows /l en-us
bcdboot c:\windows /s g:
bcdboot c:\windows /m {d58d11c6-df54-12dc-878f-00064f4f4e09}