A. Windows 2000 lets you assign a different icon to drive letters. To do so, complete the following steps:

  1. Start the registry editor (regedit.exe).
  2. Move to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer.
  3. From the Edit menu, select New - Key. Enter the name DriveIcons.
  4. Select the new key, select New - Key, then enter the name of the drive (e.g., C).
  5. Select the created key, select New - Key, then enter the name DefaultIcon.
  6. Move to DefaultIcon, and double-click the (default) value.
  7. Set the default value to the DLL containing the icon and the icon number (e.g., icons.dll,-24 is icon 24 in icons.dll). Click OK.
  8. Close the registry editor.

You can click F5 (refresh) in Windows Explorer to show the new icons.

For example, here’s a DLL that contains a C and D icon that I created (ID 24 and 25, respectively) and a registry file that configures them on your machine.. To use the registry file, the icons.dll file would be at the root of C:, but you can easily change the registry file.

Windows Registry Editor Version 5.00
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\]<br><br>
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\]<br><br>
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon\]<br>
@="c:\\icons.dll,-24"<br><br>
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\]<br><br>
\[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\D\DefaultIcon\]<br>
@="c:\\icons.dll,-25"

Click here to view image