JSI Tip 3696. How do I create custom drive icons and labels?

Jerold Schulman

May 15, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today


My server has 7 CD-ROM drives and I wanted to establish a custom icon from each drive. I also wanted a custom label when the drive has no media, instead of the default Compact Disk (E:).

NOTE: E represents the drive letter.

I have created a model .REG file that you can use:

REGEDIT4[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons][HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsE][HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsEDefaultIcon]@="D:\WinNTSAV\Apps\DVDicon.exe,0"[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIconsEDefaultLabel]@="Custom Drive Label"

NOTES:

            1. Replace E with the drive letter you wish to customize. You may also add additional Drive Letter sub-keys.

            2. If the file that you specify has more than one icon, replace 0 with the zero-based index of the icon.

            3. The Custom Drive Label only works for Windows 2000.

            4. Shutdown and restart your computer for the changes to become effective.

            5. You may have to mount / dismount media in the drive before the change becomes effective.




Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like