This tweak allows you to change the name and icon shown in Explorer for a specific drive letter.
Open your registry and find the key below. If the key does not already exist then create it.
Within the main key create a new sub-key with a single letter representing the drive letter of the drive to be modified. (e.g. [HKEY...\DriveIcons\D])
Within the drive letter key create another sub-key called "DefaultIcon" (e.g. [HKEY...\DriveIcons\D\DefaultIcon]) and set the "(Default)" value to equal the fully qualified name of the icon file. If the file contains more that one icon follow it with a comma and the zero-based index of the icon (e.g. "c:\icons\myicons.dll,4").
Create another sub-key within the drive letter key called "DefaultLabel" (e.g. [HKEY...\DriveIcons\D\DefaultLabel]) and set it's "(Default)" value to equal the label for the drive letter (e.g. "My ZIP Drive").
For example: HKEY_LOCAL_MACHINE
Software
Microsoft
Windows
CurrentVersion
Explorer
DriveIcons
D
DefaultIcon
(Default) = c:\icons\myicons.dll,4
DefaultLabel
(Default) = My ZIP Drive
You may need to restart Windows for the change to take effect, or press F5 to refresh My Computer.
Note: The "DefaultLabel" value only works with Windows 2000 and higher.
Settings:
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
DriveIcons]
Name: Default
Type: REG_SZ (String Value)
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Change Drive Name and Icon (All Windows)
Posted on Wednesday, May 7, 2008
by khabibkhan