Managing Windows Drive Labels

Label volumes in a Windows-based virtual machine to ensure that they are correctly mapped before you export the virtual machine.

Caution: If you plan to run Sysprep to create a golden image of a VM that you can export to other systems for redeployment, ensure that each volume has a unique identifiable label before running Sysprep. This process requires administrator privileges.

To set a label from the command prompt, type:

C:\>label C:c-drive

To list and verify all volume labels, use the diskpart utility:

C:\> diskpart
DISKPART> list volume
...
DISKPART> exit

After importing the virtual machine, use Disk Manager to reassign the drive letters. The labels you assigned before the export will help to identify the drives. For instructions on reassigning drive letters on a Windows system, search for the Microsoft Support web site.

Related Topics

Creating and Migrating Virtual Machines

Configuring Windows-based Virtual Machines