Take control of your files and folders with AB Commander file manager for Windows 11, 10, 8.
User rating: 4.8/5
Purchase
or
download a free trial.
Read more...
Sometimes something happens and Windows starts displaying wrong icons on the desktop. For example, you might have upgraded an application and the new version came with a new and improved application icon, but you still see the old icon on the Desktop. Or, a blank or damaged icon image appears where a perfectly good icon was displayed before. Does this sound familiar?
The most common reason for the problem with the icons is the corruption of the Windows icon cache. If you don't know what icon cache is, it's a special file that Windows uses to keep copies of each icon handy. When Windows needs to draw an icon, it uses the copy from the cache rather than retrieving the icon image from the original application file. It makes Windows draw the icons much faster.
UPDATE: With the release of Windows 8, Microsoft changed the rules of the game: the icon cache is no longer stored in the IconCache.db file described below. Read more: How to repair the icon cache in Windows 11/10/8
The location of the icon cache file depends on the version of Windows that you have. In Windows 7 and Vista, the icon cache file is:
C:\Users\User\AppData\Local\IconCache.db
In Windows XP the icon cache file is:
C:\Documents and Settings\User\Local Settings\Application Data\IconCache.db
So, what to do if the icon cache file became corrupted or damaged, or if Windows did not replace a copy of an icon in the icon cache with a new image of the icon for some reason? The solution is simple: you need to force Windows to rebuild its icon cache! The easiest ways of doing that is by deleting the IconCache.db file. If that file is missing, Windows will build it from scratch. However, deleting this file is tricky: it turns out that Windows keeps a copy of this file in the RAM memory, and if you delete it, with will create a new copy of this file from it's RAM copy, without refreshing the icon images!
To prevent Windows Explorer from recreating the old icon cache file, you can do the following:
1. If you have not done so already, make Windows display the hidden files and folders. To do so, choose the Folder options command from the Tools menu of AB Commander (or open it from Windows Control Panel), select the View tab, and change the option:
If you don't like Windows displaying the hidden files and folder, you can change this option back after completing the steps below.
2. Use AB Commander to navigate to the folder where the IconCache.db file is located (see above for the possible locations):
(If you have just enabled the Show hidden files option, you may need to press F5 in AB Commander to refresh is window and make the hidden files and folders to appear in the file listings.) Delete the IconCache.db file, and keep AB Commander window open, do not close or minimize it, you will need it a bit later.
3. Now end the Windows Explorer process. To do that, start Windows Task Manager (by, for example, right-clicking on an empty space of Windows taskbar and selecting Start Task Manager from the menu). Select the Processes tab and right-click on explorer.exe in the list. Finally, select End Process from the menu:
The icons on your desktop will disappear, but don't panic, they will be back in a minute!
4. Finally, restart the Explorer process. To do that, switch to AB Commander window, enter explorer in its launch box, and press OK:
Take control of your files and folders with AB Commander file manager for Windows 11, 10, 8.
User rating: 4.8/5
Purchase
or
download a free trial.
Read more...
(You could also start Explorer using the File - New Task (Run) command of Windows Task Manager.) Your desktop icons should be back.
The above procedure should force Windows to recreate its icon cache file from scratch. If you don't see the IconCache.db file right away, don't worry, it will appear after you log off and log back on to (or restart) Windows.
UPDATE: If you use Windows 8 (or newer) the above procedure may not work. In such a case, you need to use a different procedure. Read more: How to repair the icon cache in Windows 11/10/8
If you want to link to this article, you can use this HTML code: <a href="http://www.winability.com/repair-windows-desktop-icon-cache/">How to repair Windows desktop icons</a>
More information
- What people are saying about AB Commander...
- A FREE 30-day license is included
- What's new in the new version
- AB Commander press release
- End User License Agreement (EULA)
- Space Investigator
- Using DiffMerge as the external tool of AB Commander
- Is "Wipe the content" the same as "Secure Delete"?
- How to start programs elevated from a batch file
- How to make elevated programs recognize network drives
- How to disable hibernation with AB Commander
- How to set up Notepad++ as the external text editor for AB Commander
- Integrating AB Commander with Universal Viewer
- How to repair Windows desktop icons with AB Commander
- How to show drive letters first in AB Commander and Windows Explorer
- Organize your photo library with the Rename tool of AB Commander
- How to move images from an Android device to PC
- How to synchronize images between a PC and an Android device
- Using junction points to change the iTunes backup folder location
- Always have a backup of your important files
Hi…
Just wanted to say thanks for saving my sanity. There are so many so-called fixes out there and none have worked. I have been trying to fix my icons for 2 days and was about to give up until I searched once more, found your link, followed the much easier steps than what i have previously been thru & “vwalla” . YOU’RE MAGIC! Thanks again :)
Another ty from someone who was going to reinstall windows,tried the other solutions sfc /scannow command line restored most icons but never windows explorer or hdd icons.followed your steps easy all back thanks again think i will actually purchase AB because im always installing themes and what not icons all change cant get them back now i can :)
This is one awesome blog.Really thank you! Great.
Thanks for this.
Thanks so much! It worked for me! (Win 7 64-bit) It’s been driving me crazy and none of the Microsoft tech guys in the forums seem to have the answer.
Thanks it totally worked peace
I have followed your instructions and can not find the IconCache.db file at all.
( I searched C:\Users\User\AppData\Local\IconCache.db – using both the Folder Iptions and the AB way as layed out here.)
So I carried out the instructions and stopped explorer via task manager and restarted via AB….no difference.
Any advice?
I am using Vista Business.
Max
Max: You need to replace User with your actual user name, that is set up for you in Windows. Good luck!
thanx for the article. I have a 2gb thumb drive that i formated but since then i cant see it in my computer when i plug it. I have tried it in windows xp and linuxmint12 but to no avail. Have i lost my drive or what?
P.s. You can email me your answer directly, thanx.
He is not a fool. He did not find THE FILE, not THE FOLDER. I have the same problem – no file at that location.
Slicer: if you don’t see the folder, you may need to use Windows Control Panel – Folder Options to enable the display of the hidden and system files.
paul breeze: try opening Device Manager, do you see the dvice there? If yes, you may need to format it again. If not, it could be damaged. Try attaching it to a different computer and see if it shows up there. Good luck!
this is ok but i need that:
Restore taskbar icons
Restore Start Menu to work (i use ViStart at now)
Restore Desktop Icons
Remove Desktop Lag
it worked
For Windows 7 use my batch file.
@echo off
taskkill /F /IM Explorer.exe
set “path=%UserProfile%\AppData\Local\IconCache.db”
if exist “%path%” del /A:H “%path%”
start explorer.exe
exit
have fun
Thanks! Worked great and easy to understand your directions.
Also, to restart explorer.exe without using AB commander, just type Ctrl + Alt+ delete and start the task manager. You can run explorer.exe from “Run” in the file menu options.
ie4uinit.exe -ClearIconCache does the job :)
Re: How to restore default website icons on desktop.
I have been struggling with this problem for the last couple of weeks. I am running Windows XP Professional SP# on a Dell E520 computer, about 10 years old.
I followed your steps very carefully, and in fact got to the point where the icons on the desktop disappeared but the incorrect icons did not change back to their website defaults.
I have tried many different ways to resolve this issue and felt very confident in yours. Perhaps I did something wrong, but I don’t think so. Do you have any suggestions?
Thank you
John M