Windows XP: How To Set The Icon of any Drive

To set the icon of any drive (hard disk, cd rom, etc.) with a letter, follow these steps:

Note: We also have instructions for changing drive icons in windows 7.

1. Open the Registry Editor click on the Start button on your taskbar, then click on Run and type “regedit” and click on OK to start the regedit utility.

2. Expand HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

3. Create a new key called “DriveIcons”. Under this key, create a new key with the letter of your drive.

4. To change the icon for that drive, create a key inside that one called “DefaultIcon” and set the path of (Default) to the location of your icon.

Example: C:\DefaultIcon\
then (Default) = E:\Icons\IconName.ico

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply

You may also like-

Windows 8: Change a Shortcut Icon in the Start Screen TilesWindows 8: Change a Shortcut Icon in the Start Screen TilesBesides Windows 8 apps, Windows also allows users to pin desktop programs to the Start screen for easier access. The problem is that the ... Load an Icon from an Embedded Resource in .NETLoad an Icon from an Embedded Resource in .NETWhen you are developing a Windows Forms application in.NET, it's not immediately obvious how to programatically load an icon file embedded in your executable. ...