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.
then (Default) = E:\Icons\IconName.ico