How to rename or label a disk drive

Tip: These steps only work for physical drives. If a drive has been created with the subst command or another software utility, you cannot rename it.

Note: While you can rename a removable drive, like an external hard drive or USB flash drive, after disconnecting and reconnecting the drive it reverts back to its default name.

Windows logoMicrosoft Windows 95, 98, NT, ME, 2000, XP, Vista, 7, and 8 users

  1. Open My Computer (named This PC in Windows 8 and 10).
  2. From My Computer, right-click the drive you want to rename and select Properties. For example, if we wanted to rename the "Local Disk (C:)" seen in the image below, we would right-click the C: drive icon.
  3. Within the Properties window, on the General tab, type the new name in the Label box and click OK. (The Label box is the text field at the top of the General tab.)

Local Disk (C:) in Windows

Note: Microsoft Windows users can also use the below command line steps to change the name of their drive.

Windows 3.x, MS-DOS, and Windows command line users

To change the name of a disk drive from an MS-DOS prompt, type the below text, substituting "hope" for what you want to name the drive.

label c: hope

The above example will rename your C: drive to hope. Substituting the c for any other drive letter will rename that drive.

Additional information

  • See the label command page for additional information about this command.
  • See the volume label definition for further information and related links.