Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Under Computer Configuration -> Preferences -> Folder Options, I accidentally added an exe file type and now the icons for all the exes show up the same. How do I restore all the application icons back to their defaults using Group Policy? Deleting the setting does not make it revert back.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

I had to set the registry key [HKEY_CLASSES_ROOT\exefile\DefaultIcon] to "%1" using Group Policy and the icons reverted back to their defaults. For some machines, I also had to force Windows to rebuild the icon cache.

Reference: http://filext.com/faq/broken_exe_association.php

share|improve this answer
1  
+1. Good find. Glad you got it fixed. –  joeqwerty Aug 13 '11 at 0:28

There probably isn'y a way to do it with GP. Each icon is specific to the application it's packaged with, if the developers included an icon. For Windows executables, most icons come from shell32.dll. I'm guessing that the best you could do would be to globally replace all of the icons with another icon.

share|improve this answer
    
Um, we're talking about icons for Chrome, MS Word, IE, Firefox, Adobe Reader and all other exes. I couldn't possibly replace all of them with one single icon! –  ErJab Aug 11 '11 at 21:04
    
That's what I'm saying. I think your only choice would be to change them all again in bulk to another icon which puts you back in the same position you're in now. –  joeqwerty Aug 11 '11 at 22:05
    
I found the solution! There is indeed a way to revert back. I posted it as an answer. –  ErJab Aug 12 '11 at 23:49

I agree with @joeqwerty. You've basically taken out all the individuality from the icons that were packaged from the software developer.

The only way you might be able to fix this is with a system restore, one computer at a time. I hope this is a small network.

share|improve this answer

Your Answer

 
discard

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.