Renaming volume created via "DOS Devices" registry key?
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\
.
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
Related videos on Youtube
![THE JOATMON](https://i.stack.imgur.com/7heMQ.png?s=256&g=1)
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, 2022Comments
-
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?
-
THE JOATMON about 8 yearsFlawless Victory!
-
THE JOATMON about 8 yearsIt 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.