Renaming volume created via "DOS Devices" registry key?

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

1 Answer

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

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like