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 file icons in Windows 7?

I don't want to use any tools for this purpose - I've tried some registry hacks but they didn't work.

share|improve this question

migrated from May 10 '11 at 21:18

This question came from our site for professional and enthusiast programmers.

15 questions, 1 accepted answer. Not good. – David Heffernan May 10 '11 at 19:29

The registry keys are under HKEY_CLASSES_ROOT. Your program will need Administrator permissions to be able to modify them.

Every file type registered will have an entry in HKEY_CLASSES_ROOT, for example .suo. The value of this key will be a more verbose file type, in my example VisualStudio.Launcher.suo. Go to that key and you'll find another key underneath it, DefaultIcon. The value of this key will be the name of the file containing the icon and an index to the proper icon within the file.

share|improve this answer

You must log in to answer this question.