[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

Wrong Icon!! (default exe icon changed)

It seems that while installing a porgram it reset the defaul icon for exe files to it's icon.

All exe file that don't have a icon in them now no longer show as the "box" icon.

How do I reset it back??

I looked up HKEY_LOCAL_MACHINE\Software\CLASSES\exefile\DefaultIcon
and it's set to (default) %1
1 Solution
Dark, did you try deleting the shelliconcache and let windows recreate it?
dark_shadow_2000Author Commented:
I don't think that the error.
Some progams still show as "box's" ie COMMAND.COM

Or will deleting it reset the links as well??


Will windows recreate it it self, asking for my win98 CD or do I have to go a find a file myself??
1)Restart Windows in Safe mode. To do so, restart your computer, press and hold down the CTRL key after your computer completes the Power On Self Test (POST), and then choose Safe Mode from the Startup menu.

2)Use Windows Explorer to remove the ShellIconCache file from the Windows folder.

NOTE: You need to be able to view hidden files to see the ShellIconCache file. To view hidden files in Windows 98, click Folder Options on the View menu in Windows Explorer, click the View tab, click Show All Files, and then click OK.

Restart your computer
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Patricia Siu-Lai HoCommented:
darkshadow, give us some of your examples in C:\windows\.
Dark, if you feel that some files were altered by this program, run the system file checker.

1.      Insert your Windows 98 CD Rom disk into the drive.
2.      Click Start, Run and type  SFC <OK>
3.      This will start the System File Checker.
4.      Click on the settings button and select “Check for changed and deleted files” and click OK to start.
5.      Replace any files that are detected as bad or corrupt. Also watch the file dates carefully and always try and replace older files (pre-May 1998) with newer files, and most important, always use the latest version numbers for all files. SFC will copy the old file to X:\Windows\Sysbckup in case you need it back.
6.      When SFC is done, reboot the system and note the performance.

There are several ways to do this that involve registry hacks. However, the simplest is to use a little piece of shareware called the Deskxtend association wizard from

After installing it, right click the exe file you want to change, click to the "change icon" button, and make sure the box for the icon file contains "%1" without quotes. Click to finish and you're done!
rwcrain, your are new to this site, and with that welcome. However, we do observe a protocol here that is not observed elsewhere such as in Usenet and Newsgroups, in that we do not post as answers that should have been posted as a comment unless there is a certainty that it will resolve the issue. We would appreciate your cooperation in this, as by posting as you have, you have locked the question possibly without a resolution and other experts will view it as being resolved.
dark_shadow_2000Author Commented:

Sorry you don't understand the error.
ALL my exe file that don't have icons in that should show as the defaul 'box' icon.

Mine don't!!

If I only wanted to change one exe file I use Deskxtend.

But I'll have a look at it anyway, and if it's helps I'll give you some points :)

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now