text stringlengths 0 4.23k |
|---|
Syntax |
bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -newdriveletter <drive_letter> |
Parameters |
Parameter |
Description |
<drive_letter> |
Defines the drive letter that will be assigned to the specified target drive. |
<drive_letter> |
Examples |
To assign the default drive the drive letter P: |
P |
bdehdcfg -target default -newdriveletter P: |
bdehdcfg: quiet |
Informs the bdehdcfg command-line tool that all actions and errors are not to be displayed in the command-line interface. Any Yes/No (Y/N) prompts displayed during the drive preparation will assume a "Yes" answer. To view any error that occurred during drive preparation, review the system event log under the Microsoft-Windows-BitLocker-DrivePreparationTool event provider. |
Syntax |
bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -quiet |
Parameters |
This command has no additional parameters. |
Examples |
To use the quiet command: |
bdehdcfg -target default -quiet |
bdehdcfg: restart |
Informs the bdehdcfg command-line tool that the computer should be restarted after the drive preparation has concluded. If other users are logged on to the computer and the quiet command is not specified, a prompt appears to confirm that the computer should be restarted. |
Syntax |
bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} -restart |
Parameters |
This command has no additional parameters. |
Examples |
To use the restart command: |
bdehdcfg -target default -restart |
bdehdcfg: size |
Specifies the size of the system partition when a new system drive is being created. If you do not specify a size, the tool will use the default value of 300 MB. The minimum size of the system drive is 100 MB. If you will store system recovery or other system tools on the system partition, you should increase the size accordingly. |
Note |
The size command cannot be combined with the target <drive_letter> merge command. |
target <drive_letter> merge |
Syntax |
bdehdcfg -target {default|unallocated|<drive_letter> shrink} -size <size_in_mb> |
Parameters |
Parameter |
Description |
<size_in_mb> |
Indicates the number of megabytes (MB) to use for the new partition. |
<size_in_mb> |
Examples |
To allocate 500 MB to the default system drive: |
bdehdcfg -target default -size 500 |
bdehdcfg: target |
Prepares a partition for use as a system drive by BitLocker and Windows Recovery. By default, this partition is created without a drive letter. |
Syntax |
bdehdcfg -target {default|unallocated|<drive_letter> shrink|<drive_letter> merge} |
Parameters |
Parameter |
Description |
default |
Indicates that the command-line tool will follow the same process as the BitLocker setup wizard. |
unallocated |
Creates the system partition out of the unallocated space available on the disk. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.