Renaming volume created via "DOS Devices" registry key?

4

2

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

Devil's Advocate

Posted 2016-06-01T13:47:44.493

Reputation: 1 397

Answers

3

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

ozbek

Posted 2016-06-01T13:47:44.493

Reputation: 291

1Flawless Victory! – Devil's Advocate – 2016-06-02T13:46:31.627

1It 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. – Devil's Advocate – 2016-06-03T13:36:30.163