Before Windows 8, repairing the desktop icons was relatively easy: all you needed to do was to force Windows Explorer to rebuild the iconcache.db file, and that would fix the corrupt desktop icons almost magically. That worked for Windows XP, Vista, and Windows 7, but starting with Windows 8, Microsoft changed the rules of the game, and erasing the iconcache.db file to fix the corrupt or outdated icons no longer works. In this article, we explain what has changed and what needs to be done to repair the icon cache in Windows 8, 8.1, 10, and future versions of Windows.
Password-protect and hide personal files and folders with Folder Guard for Windows 10,8,7, and XP.
User rating: 4.6/5
Purchase
or
download a free trial.
Read more...
If you want to follow along, you may want to install our AB Commander first. (It's free for the first 30 days, you can always uninstall it later on if you find no other use for it.) You can certainly do the following without AB Commander, too.
Also, if you have not done so already, you may need to enable the Windows option that makes the hidden files visible. To do that with AB Commander, choose Tools - Folder Options from the menu. Without AB Commander, open Windows Control Panel and choose the Folder Options command. When the Folder Options window is displayed, select the View tab and enable the "Show hidden files, folders, and drives" option:
While you are changing the folder options, you may also want to clear the option "Hide extensions for known file types": seeing the file extensions should make it easier to recognize the files that we will encounter along the way. Don't worry, if you don't like these changes, you can always change them back when you are done.
With that out of the way, let's navigate to the folder where Windows keeps the iconcache.db file. With AB Commander, you can use its Go to command (on the Folder menu) and select the Application Data (local) in the list:
Press OK, and AB Commander will take you directly to the right folder. Without AB Commander, navigate to the folder C:\Users\[User]\AppData\Local, where [User] must be replaced with the actual login name of your user account, which is Admin in our example.
Let's take a look inside of the AppData\Local folder: there may be several sub-folders and files there, depending on which programs you have installed on your computer, but if you look closely, you should notice the IconCache.db file there:
Yes, the IconCache.db file is still there, as it was in Windows 7, Vista, and XP, but the difference is, Windows 8 (and Windows 10) no longer uses this file to store the icon cache! How do we know? Simple: under Windows 7 and earlier, if you delete this file as described in our previous article, Windows will rebuild it next time it needs to show the icons, and repair any damaged or missing icons. However, if you do this with Windows 8 or 10, there is no effect on the icons, and if you had any wrong icons displayed on the desktop, they would still be wrong. This indicates that Windows 8/10 keeps the icon cache somewhere else.
After looking around a bit, we've solved the mystery. While in the AppData\Local folder, double-click on Microsoft, then on Windows, and finally on Explorer, to navigate to the following folder:
C:\Users\[User]\AppData\Local\Microsoft\Windows\Explorer
(Again, replace [User] with the actual login name of your user account, which is Admin in our example.)
In that folder, you should find quite a few files which names begin with iconcache, such as:
- iconcache_32.db
- iconcache_48.db
- iconcache_96.db
- iconcache_256.db
- iconcache_1024.db
- iconcache_1600.db
- iconcache_exif.db
- iconcache_idx.db
Encrypt and password-protect external drives with USBCrypt encryption software for Windows 10,8,7, and XP.
User rating: 4.7/5
Purchase
or
download a free trial.
Read more...
... and possibly a few others. That's the files where Windows 8 and 8.1 store the icon cache! If you scroll down, you should see another group of files with names starting with thumbcache:
- thumbcache_32.db
- thumbcache_48.db
- thumbcache_96.db
- thumbcache_256.db
- thumbcache_1024.db
- thumbcache_1600.db
- thumbcache_exif.db
- thumbcache_idx.db
You don't have to be a computer geek to figure out that these files are used by Windows to keep the thumbnail cache of the image files.
To force Windows to rebuild its icon cache, you need to delete all the iconcache files that appear in this folder, and that should repair any damaged icons that you see on your Windows 8/8.1 desktop. If you need to repair a corrupted thumbnail of an image file, you need to delete the thumbcache files. Easy, right?
Take control of your files and folders with AB Commander file manager for Windows 10,8,7,Vista, and XP.
User rating: 4.8/5
Purchase
or
download a free trial.
Read more...
Not so easy, actually. If you attempt to delete the iconcache files right within AB Commander or Windows Explorer, Windows will refuse to delete some of them, because the files would still be in use by AB Commander or Explorer! That's right, Windows cannot delete the files that are in use. To solve this problem, we need to close AB Commander and Windows Explorer, but how would we delete the files then?
The Command Prompt to the rescue! In case you don't know, the Command Prompt is a tool where you type commands that you want Windows to do. To open the command prompt window in AB Commander, choose Tools - Command Prompt window from its menu, and it will open the command prompt, already navigated to the folder which was active in ABCommander at the time:
If you are still not using AB Commander, you can achieve the same the hard way: start the command prompt in whatever way you usually do (using the Run command of Windows, for example), and then use the cd command to navigate to the correct folder.
To make sure the command prompt is in the correct folder, type the dir command first, and verify that the displayed list includes the iconcache and/or thumbcache files that we've discussed above:
If you don't see the iconcache and/or thumbcache files after using the dir command, stop and DO NOT PROCEED! Go find someone who is more experienced with computers and ask them to help you out.
If you do see the iconcache and/or thumbcache files, you are ready to delete them using the command prompt window, but before you do that, you need to close every single program that you might have running, including AB Commander and Explorer, to make sure none of them is using the icon cache files when you attempt to delete them. Closing AB Commander is easy, but to close Explorer you need to use a trick:
- Right-click on the taskbar to display the shortcut menu;
- Choose Task Manager from the shortcut menu;
- In the Task Manager window, click on More details, if the simple display is shown;
- Select the Details tab;
- Right-click on explorer.exe in the list;
- Choose End task from the shortcut menu;
The Explorer should disappear, as well as the desktop, but don't worry, they will be back soon. Exit Task Manager, too! Make sure that no other program is running except for the command prompt window that we've opened earlier. Now switch to the command line window and type into it the following: del iconcache* and press Enter:
(In case you are wondering, the star character after iconcache is necessary to make sure all files with names that start with iconcache will be included in the delete operation.) That should delete all the icon cache files. You can use the dir command again to check the list of files remaining; if there is still one or more of the iconcache files listed, it means that you either did not enter the command correctly, or some program is still using the icon cache.
Take control of your files and folders with AB Commander file manager for Windows 10,8,7,Vista, and XP.
User rating: 4.8/5
Purchase
or
download a free trial.
Read more...
What if instead of (or in addition to) the icon cache you want to erase the thumbnail cache? (The thumbnail cache is used by Windows to display small preview images of the files when you are browsing them with Explorer or AB Commander. If the thumbnail images appear to be corrupted on your computer, you can fix them by erasing the thumbnail cache.) To do that, enter the following command into the command prompt window: del thumbcache* and press Enter. It should delete all the thumbnail cache files and force Windows to rebuild it. Again, use the dir command to check the results.
When all is done, how to get back the regular desktop? Press the Ctrl-Alt-Del keys simultaneously, choose Sign off on the screen that appears, then sign back on. When you switch to the desktop view, all the usual icons should be back, and any damaged ones should be repaired now.
Happy computing!
If you want to link to this article, you can use this HTML code: <a href="http://www.winability.com/how-to-erase-icon-thumbnail-cache-windows-8/">How to erase the icon and/or thumbnail cache in Windows 8 and 10</a>
Read more
- Solved: How to add Group Policy and Local Security Policy to Windows 10 Home
- File too large for USB drive? Here is how to fix it.
- Forget your WI-FI password? Find it in Windows 10 settings
- What is FAT32 maximum file size limit?
- How to create a secret folder with Folder Guard for Windows 10
- How to easily password-protect Windows 10 Linux folders with Folder Guard
- How to reset the root password after upgrading MariaDB
- How to upgrade MySQL or MariaDB properly
- Force DISKPART to delete EFI system partition on Windows 10
- How to make Windows 10 recognize a cloned hard drive again
- How to stop Windows 10 from using thumbnail preview icons for folders
- How to hide pictures from the Photos app in Windows 10
- How to save Windows Spotlight photos to your computer
- How to move the OneDrive folder to an encrypted drive
- Windows 10 fails to upgrade? Here is how to fix it.
- How to stop Microsoft Edge from hijacking PDF files
- Preventing installations of specific programs with Folder Guard
- Folder Guard licensing explained
- Speed up the updates of the network folders
- Make your Windows laptop work as a Wi-Fi access point
- How to stop automatic updates on Windows 10
- Windows cannot connect to the printer. Access is denied.
- Migrating encrypted data from TrueCrypt to USBCrypt
- Enhancing a photo CD collection with PhotoLauncher
- “The Microsoft account service is unavailable right now. Try again later.”
- Using DiffMerge as the external tool of AB Commander to compare plain text files
- How to erase the icon cache and/or thumbnail cache in Windows 10
- Transferring images between your PC and an Android device: Part 2
- Transferring images between your PC and an Android device: Part 1
- Case study: Using SoftDetective to suppress Corel Guide sign-in prompt
- Using junction points to change the iTunes backup folder location
- How to tell if my Windows is 32- or 64-bit?
- How do I stop Windows from rearranging my desktop icons?
- Organize your photo library with the Rename tool of AB Commander
- Windows does not offer the NTFS format option? Here is how to bring it back.
- Encrypt Firefox profile, bookmarks, and cookies with USBCrypt
- Restarting Windows 10 and Windows 8 in the safe mode
- Integrating AB Commander with Universal Viewer
- How to delete a protected EFI system partition with Windows 10, 8, or 7
- Using Folder Guard to protect from the social engineering attacks
- How to erase Windows login password if you forget it
- How to unhide a folder hidden with Folder Guard
- How to repair Windows desktop icons with AB Commander
- Slow network in Windows 7 Virtual PC? Speed it up!
- How to show drive letters first in AB Commander and Windows Explorer
- What is my IP address?
- Why can’t I copy large files over 4GB to my USB flash drive or SD card?
- Test the strength of your password with USBCrypt
- How to set up an external text editor for AB Commander
- How to restrict Internet Explorer from downloading programs from the Internet
- Personal vs business license for USBCrypt
- Use Folder Guard to restrict access to Control Panel
- Compare MySecretFolder and Folder Guard
- Hide folders and make files invisible with Folder Guard
- WINEXIT vs ActiveExit: automatically log off users from Windows 10
- Password protect folders, lock files and folders with passwords
- How to restrict access and lock external drives with Folder Guard
- How to password-protect Dropbox folder with USBCrypt
- How to set up Folder Guard to stop downloading from the Internet
- Is [Wipe the content] the same as [Secure Delete]?
- How to encrypt and protect the system C: drive with USBCrypt
- Make it easier to return your lost encrypted drive
- USBCrypt for users of Microsoft® Office
- How to start programs elevated from a batch file
- How to make elevated programs recognize network drives
- How to disable hibernation with AB Commander
- Using names and labels to organize USBCrypt drives
- How to password-protect a USB flash drive
- Always have a backup of your important files
This was incredible useful. I was about to format my computer because I installed an icon pack that will change the icons “magically” over the time. Now I don’t have such problem.
Thanks a lot!
(Win 8.1/Acer Desktop/x64))
Strangely “thumbcache_16” (the first on my list) was the only one I could delete, and the only one that I seemed to need to.
All of my mp3 thumbnails were totally restored after reboot.
Thanks for this. I will now add a shortcut to my ‘explorer’ files, saved for possible future need.
Thanks for your excellent instructions regarding “How to erase the icon and/or thumbnail cache in Windows 8/8.1” but it does not solve the problem with the missing two blue cloud icons on the OneDrive folder. It is not completely true, because right after your instructed procedure has been executed the two blue cloud icons appear on the OneDrive folder in 5-10 minutes but then they disappear again. I tried more times and deleted as well icon- as thumbcache. Actually this issue annoys me boundaryless as I have no more shots in my gun, how I can resolve this problem. I would highly appreciate if Winability could be helpful with this issue?
When i tried to list the directory It returned file not found (definitely the right directory though) any ideas?
I was having problems with IconPackager by Stardock (the program is not optimized for windows 8.1)and needed to use this fix. You can save time by following these instructions (be sure to change the [User] to your account name before pasting in command line:
1. open Command Prompt
2. open Task Manager and end Explorer.exe Task
3. cd C:\Users\[User]\AppData\Local\Microsoft\Windows\Explorer
\\this changes to the directory when the icon cache is stored
4.for %i in (*db) do %i erase
\\this will delete any file with the extension .db
to get rid of every .db file in one command.
I was having an issue with the wrong program’s icon showing at the bottom right corner of thumbnails, and was able to fix the issue more simply than is indicated in this post.
All I had to do was go into the Folder View settings as explained at the beginning of this post, check “Always show icons, never thumbnails”, apply that setting, then uncheck it again and hit OK.
The program icons at the lower right of my thumbnails were fixed immediately.
Obviously this won’t fix all icon issues, but thought I’d let y’all know in case it helps.
THANK YOU !
Worked on windows 8.1 :)
Odd. Deleting the old iconcache.db file still works for me in Win 8.1-64. Never needed to mess with those others.
Did not work for me (Win 8.1, 64 just today updated from 8.0). Tim, or others, if you don’t have AB commander, how do you delete iconcache.db? I can see it using the search function, but not using command prompt C:\users\user\appdata\local>dir. All that displays is a bunch of DIR’s. No .db. at the bottom. Thought I would try to duplicate your success. Thanks.
Did not work for me.
I have several MS Surface Pro 3 Tablets running Win 8.1 Pro. I remove all tiles from the Start Menu except for 3: A Metro RDP app, and 2 web site links for Chrome.
The shortcuts for the 2 websites are in:
C:\users\store\AppData\Roaming\MS\Win\Start Menu
When viewed in their file location they have the icons I want. When I Pin them to Start Menu they rever to the Chrome icon.
I have deleted all copies of the Chrome.ico file and now my links are just black squares.
I removed the icon and thumbnail cache files but I still get the black squares.
I have also tried changing the icons then changing them back – still no good.
I don’t think this is the correct method to clear thumbnail cache — too much fiddling.
I would do the “canonical” way:
1. Right-click on C drive
2. Choose Properties
3. Press “Disk Cleanup” button
4. In the list “Files to delete”, uncheck everything EXCEPT Thumbnails
5. Press OK
I don’t know what caused this problem, but this morning MOST of the icons on my desktop, and ALL of the icons on the taskbar were changed to a white page with upper-right corner folded over. NOTHING would get them to return to their original images.
After trying several ‘fixes’, I found this page, went through the process as described, following the steps exactly, and the only thing that changed was that now ALL the icon images are gone from the desktop, and the icon images on the taskbar are a white and blue image of some sort. I can’t make out exactly what it is.
So now on my desktop, I have several groups of icon titles all bunched together without any icon images at all, and the icons on the taskbar will show their title when the cursor is held on it for at least 4 seconds.
How the heck can I get the icons back?
H E L P !
We have tried all of the iconcache clearing.
what worked for us was a registry hack
Manually resetting the Registry key values to the default values
Click Start, click Run, type Regedit in the Open box, and then click OK.
Locate and then click the following registry key:
HKEY_CLASSES_ROOT\lnkfile\shellex\IconHandler
Reset the registry key value to:
{00021401-0000-0000-C000-000000000046}
Locate and then click the following registry key:
HKEY_CLASSES_ROOT\piffile\shellex\IconHandler
Reset the registry key value to:
{00021401-0000-0000-C000-000000000046}
Restart the computer