Enter the following command on a Windows 10 PC to instantly clear icon cache. Ie4uinit.exe -show If you have any other version of Windows installed, type the following command to clear icon cache. I've discovered that the BEST, most RELIABLE way to rebuild the icon cache in macOS is to right click the app, 'Get Info', drag ANYTHING to its icon in the top left of the 'Get Info' window (you can drag a FOLDER to its icon if you want to) to assign a new temporary icon, then CLICK the icon in the 'get info' window and press BACKSPACE to clear it.

If icons in your Windows 10 File Explorer look strange or broken, your icon cache might have become corrupt. This issue is very common for all Windows versions. In this article we will see what to do to fix broken icons and reset the icon cache.

To show icons faster, Windows caches them into a file. This special file contains icons for many apps and file types, so File Explorer doesn't need to extract the icons for known file extensions and apps. This allows File Explorer to work faster, but it has an annoying side effect. If the cache ever gets corrupted, Windows displays wrong icons. Some files in File Explorer and the Desktop can stop showing the right icons or get a blank 'unknown file type' icon. Some shortcuts can display the incorrect icons. To fix this, you need to reset the icon cache.

Edit: there is a better way to reset the icon cache and fix broken icons. Read this article:

Unfortunately, there is no special button or option in Windows 10 to rebuild the icon cache. Despite this being a fairly common issue, Microsoft didn't provide any tool bundled with the operating system to fix it. To reset the icon cache in Windows 10, there are two methods available:

Option one. Delete the corrupted icon cache in Windows 10

  1. The icon cache file is hidden in Windows so if you have set hidden and system files to not show, you will have to show them. To do this, open Control Panel.
  2. Then, open Folder Options and go to the View tab. Select the option Show hidden files, folders and drives. Also uncheck the option Hide protected operating system files. Then click OK and close Control Panel.
  3. Press the Win+R keys together on your keyboard to open the Run dialog.
  4. In the Run dialog type %localappdata% and press Enter.
  5. Your local app data folder (C:Users<your user name>AppDataLocal) will open. Locate the iconcache.db file. Delete this file.
  6. Now restart the Explorer shell or log off and log on again.

You are done with the first method. If a logoff does not work, try restarting Windows after deleting Iconcache.db. However, your problem might be that the icon cache file on disk is not corrupted but Windows is still showing incorrect icons because it loaded the wrong icons in memory. In that case, try the next option.

Option two. Reset the in-memory icon cache in Windows 10 with a small freeware app

Reset Icon Cache Mac

We will use a third party tool especially designed to refresh the shell icon cache.

  1. Download Winaero Tweaker.
  2. Run it and go to ToolsReset Icon Cache:
  3. Now every time you want to refresh the icon cache, click the button 'Reset Icon Cache'.

That's it.

Tell us in the comments which method worked for you or if you know of another way to fix corrupt icons. Note that despite these methods, your Windows 10 Start Menu might continue to not show some icons for desktop apps. This is a known problem with the Windows 10 Start Menu. On a number of systems, we have seen that the Start Menu shows blank/empty white icons for desktop shortcuts.


Reset Icon Cache Windows 10

If you see some widget or configuration dialog in Linux, complaining about the fact that your icon cache files are missing, here’s how you can easily fix it.

Reset Icon Cache

Using the manual method, or folder-by-folder method that is displayed in the small tooltip on the image, is cumbersome, and if you have a lot of icons that have missing cache files, it can take up a lot of time and would force you to do a lot of unnecessary typing.

*see update at the end*

The simplest way to regenerate all the icon cache files, is to use bash commands to parse the icon directories on the system into a variable, and then pass that variable’s content into another command as an argument, to regenerate the caches both in the system-wide /usr/share/icons folder’s subfolders, and in your home directory’s .icons folder’s subfolders, if you have some.

Here’s a snippet I’m using on peppermint;

for i in $(find /usr/share/icons/ -maxdepth 1 -type d); do sudo rm -f $i/.icon-theme.cache; sudo gtk-update-icon-cache -t -i $i; done

for i in $(find ~/.icons -maxdepth 1 -type d); do sudo rm -f $i/.icon-theme.cache; sudo gtk-update-icon-cache -t -i $i; done

You can easily save the code part to a file, like “regeniconcache”, to whatever directory you want, and then make it executable by typing this in the terminal (in the same folder where you’ve saved the file)

chmod 755 ~/regeniconcache

and then put it into the user-executable scripts folder by typing this into the terminal :

sudo ln -sf ~/regeniconcache /usr/sbin/regeniconcache

Every time you notice that some widget complains that there’s an icon cache file missing, you can simply type


Cloudera vm download for mac. into the terminal and press enter, and the entire icon cache will be regenerated.

This should work on almost all versions of ubuntu, linux mint, peppermint linux, and similar ubuntu derivatives / flavors / offshoots.



If you are on a peppermint 8 or other linux mint flavour, or ubuntu flavour that doesn’t have the command “gtk-update-icon-cache”, add the “update-icon-caches” program as a linked command, by typing this into the terminal :

sudo ln -sf /usr/sbin/update-icon-caches /usr/sbin/gtk-update-icon-cache

Afterwards, you can run the same “regeniconcache” bash script, as described above.