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

Win 7 have Customize tab in folder right click context menu for most directory but C:\Windows as an exception. Anyone knows how to customize the icon of %windir% (usually C:\windows)?

BTW, I mean doing this as a user, but not doing this programmatically.

share|improve this question

migrated from Dec 23 '12 at 10:37

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

This might be a better question for superuser. Are you trying to do this programmatically? – Patrick Jones Dec 23 '12 at 3:38
Here's how you can change the icon. – arttronics Dec 23 '12 at 3:42
@patrickmjones no, I'm try to do this as a user via GUI/console – Byzod Dec 23 '12 at 3:57
@attronics C:\Windows is an exception, you troll – Byzod Dec 23 '12 at 4:01

Folder icon overrides are specified in a desktop.ini file in that folder.

Just copy that file from another folder.

share|improve this answer
Hi Slaks, I tried, but it do not work, the windows icon becomes a blank fold when I copied a desktop.ini to C:\windows, even after a restart. The content of it (no multi-line in comment, so \n stands for a newline): [.ShellClassInfo]\n IconResource=D:\ico\Token\System+Settings\Gear.ico,0\n IconIndex=0 – Byzod Dec 23 '12 at 3:42

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.