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> mergecommand.
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. |
Examples
To allocate 500 MB to the default system drive:
bdehdcfg -target default -size 500
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
