Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

How can I change the icon of one of my HDDs in Windows 7, not using the autorun.inf trick? I'm trying to speed up my laptop for every day use as much as possible so I mapped my desktop to a RamDisk. I would like the ramdisk's icon to be the desktop icon, but since the ramdisk can't have any files in it while it is being initialized and autorun file would never run.

Are there any other ways to change the icon of a drive? Here is a screen shot of what I am talking about.

Here it is in my users folder. enter image description here

And in the my computer window. enter image description here

share|improve this question
up vote 3 down vote accepted

You can set the default icon in the Registry.

In RegEdit, open HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons. There may or may not be any subkeys.

Find or create a subkey(folder) with the drive letter as its name.

In that key, create a subkey(folder) named DefaultIcon. Change the (Default) value of the DefaultIcon key to the path of the icon you want to use.


Windows Registry Editor Version 5.00

share|improve this answer
Worked like a charm. Thanks, mate. – Sponge Bob Oct 31 '12 at 2:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .