Renaming volume created via "DOS Devices" registry key?

5,013

First, clear custom label from the original drive.

Then create custom key and label for your drives, both original and virtual, at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\.

For E drive: Custom label for E: drive

For O drive: Custom label for O: drive

Note DriveIcons\E and DriveIcons\O - the letters should match. Modify the (Default) keys and put drive names to value fields.

Reboot.

It should be noted that after doing this you cannot rename the original volume via Explorer. It will change the other volume labels back. It is easily undone though by removing the label again, no reboot required. However, if you want to rename the original you can follow the same procedure and create an entry in the registry

Share:
5,013

Related videos on Youtube

THE JOATMON
Author by

THE JOATMON

Hobbies include off-roading, gaming, reading and infuriating SO users by attempting to write code myself. "I must create a system, or be enslaved by another man's; I will not reason and compare: my business is to create." - William Blake

Updated on September 18, 2022

Comments

  • THE JOATMON
    THE JOATMON almost 2 years

    Following the instructions in this question, I have created two drives that point to folders on an existing drive. Everything works great. The only problem is that they all have the same volume label. When I try to rename the created drives, I get The volume label is not valid. Please enter a valid volume label.

    So, is there a way around this error? Perhaps another registry key for the volume label?

    enter image description here

  • THE JOATMON
    THE JOATMON about 8 years
    Flawless Victory!
  • THE JOATMON
    THE JOATMON about 8 years
    It should be noted that after doing this you cannot rename the original volume via Explorer. It will change the other volume labels back. It is easily undone though by removing the label again, no reboot required. However, if you want to rename the original you can follow the same procedure and create an entry in the registry.