Assigns a new drive letter to the portion of a drive used as the system drive. As a best practice, we recommend not assigning a drive letter to your system drive.
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. |
Examples
To assign the default drive the drive letter P:
bdehdcfg -target default -newdriveletter P:
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.
