Recently I received a query wherein the user has installed Foxit Reader. Later, he set accidentally associated .zip file type with Foxit Reader via the Open with dialog. Later they got the association problem straightened out by running the .zip association fix from the File association fixes page. However, the .zip file type was still showing the Foxit Reader icon, although the association settings were correct.
Fix Incorrect icon shown for a file type
Usually, the icon should be refreshed after a restart. If that does not happen, you can force a shell icon refresh by performing a task that triggers the SHChangeNotify API. For example, you can use Default Programs or Default Apps and change the program defaults (e.g., Google Chrome or IE as the default) in order to refresh the shell icons. Follow these steps:
- Open Settings, Default Apps
- Click on the Photo viewer and select a different program from the list
- Again, click on the Photo viewer and select your preferred program this time.
This refreshes the shell icons automatically.
In earlier versions of Windows, use the Default Programs applet.
- Click Start, Default Programs
- Click Set your default programs
- Select your web browser, email client or any other item in the list.
- Click the Set this program as default button.
- Click OK.
This should fix the .zip file type icon.
Whenever the file association settings are changed or new association is created via the registry or script, the system might not be aware of the change. Programs use the SHChangeNotify API call specifying the SHCNE_ASSOCCHANGED event, in order to refresh the icons without requiring a reboot.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Other Methods to Refresh the Icons and Thumbnails
- Quickly Refresh the Shell Icons Using IE4UINIT.exe
- How to Rebuild the Icon Cache in Windows 10 and earlier
- How to Clear the Thumbnail Cache in Windows
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.