Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know how can I change a Hard Drive icon under Windows XP. I know how to change folder icons, but how is it done for a Drive icon?

share|improve this question
up vote 7 down vote accepted

Okay, the way to do it with a removable drive (not sure if this works with, e.g. your hard drive), is to make an autorun.inf file in the root of the drive with these contents (e.g. in E:)


where drive.ico is the file name of the icon you want for your drive. Note that it should probably be on the same drive as the autorun file. You may wish to hide the icon file - this won't affect the display of the icon in any way.

share|improve this answer

There is an article here on how to do this. Steps below:

To change a drive icon:

  1. Click Start | Run | Type regedit and click OK
  2. Navigate to: HKEY_LOCAL_MACHINE | SOFTWARE | Microsoft | Windows | CurrentVersion | Explorer
  3. Create a new key called DriveIcons
  4. Under DriveIcons create a new key with the drive letter (e.g. C)
  5. Within this drive letter key create a new key and name DefaultIcon.
  6. Give the default value, the icon you want to use e.g. c:\windows\system32/shell32.dll,74
share|improve this answer
The change is instant, no need to restart. Works in Vista/Windows 7 too. – Kez Aug 24 '09 at 7:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.