How can I change the icon for drive letters? - 17 Feb 2000

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

Click here to view image

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.