SYMPTOMS
When you use the
DiskPart text-mode command interpreter
create vol
command to create virtual drives on a dynamic disk, a
drive letter is automatically assigned to each volume that is created. When you
create many virtual drives, you may receive an error message when all 26 drive
letters have been used. When you are creating virtual drives by using a script file with
DiskPart, issue the
remove command to remove the associated drive letter and to prevent this error condition.
Example (correct script):
Select
disk 1
create vol
remove
detail vol
The
automatically assigned drive letters may
not be consistently
removed if
both of the following conditions exist:
- The create and remove commands are separated by other commands.
- The commands are programmatically performed from a service
instead of from a command prompt and a script.
Example (incorrect script):
Select disk 1
create
vol
detail vol
remove //Warning: Incorrect. Move the "remove" command closer to the "create vol" command.