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.
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:
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.
We will use a third party tool especially designed to refresh the shell icon cache.
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.
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.
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.