Bdehdcfg: newdriveletter

Applies To: Windows 7, Windows Server 2008 R2

Assigns a new drive letter to the portion of a drive used as the system drive. For an example of how this command can be used, see Examples.


bdehdcfg -target {default|unallocated|<DriveLetter> shrink|<DriveLetter> merge} -newdriveletter <DriveLetter>


Parameter Description


Defines the drive letter that will be assigned to the specified target drive.


As a best practice, it is recommended that you do not assign a drive letter to your system drive.


The following example shows the default drive being assigned the drive letter P.

bdehdcfg -target default -newdriveletter P:

Additional references