Bdehdcfg: newdriveletter


Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

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>




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: