How to Rebuild the Icon Cache in Windows
Method 1 of 2:
Manually Deleting the File
- Press the Start button at the bottom-right corner of your screen.
- Type folder options and select the result that matches your search. This will allow you to change file viewing settings so that you can see hidden files like IconCache.
- Go to the View tab.
- Scroll down under Advanced settings: and click the circle next to Show hidden files, folders, and drives.
- Click or tap the OK box to save your changes and close folder options.
- Open File Explorer. File Explorer lets you see all the files on your computer, including system files like IconCache.
- Note: In Windows 7 and earlier, it is called Windows Explorer.
- In the address bar of File Explorer, type %userprofile%/AppDataLocal.
- Scroll through all of the files until you find a file named IconCache or IconCache.db.
- Right-click or hold (for touchscreen devices) and select Delete from the menu that appears.
- Confirm deletion if prompted by pressing Yes.
- Open the Recycle Bin and empty it. We have a guide on how to do that (just click on the green sentence before this). You can quickly open it by launching the Start menu/screen and searching for Recycle Bin.
- If the Recycle Bin is already empty, there's nothing you need to do. Proceed to the next step.
- Clear the thumbnail cache if you're seeing problems with thumbnails (previews of files).
- Restart your PC. The icons should now be fixed.
Method 2 of 2:
Using Command Prompt
- Open the Command Prompt. The quickest way to open the Command Prompt in any version of Windows is to:
- Press the ⊞ Win+R at the same time.
- Type cmd.
- Click/tap OK or hit ↵ Enter.
- Type the commands in. Type the commands below into the Command Prompt, hitting enter after each line of code is entered. You can also highlight and copy them (either by right-clicking and pressing Copy or by pressing Ctrl+C. Right-click in the Command Prompt and select Paste. Ctrl+V won't work.
- cd /d %userprofile%AppDataLocal
- attrib –h IconCache.db
- del IconCache.db
- start explorer
- Restart your PC. The icons should now be fixed.
4.5 ★ | 2 Vote
You should read it
- How to Open 7z Files
- How to Open a PES File on PC or Mac
- How to Delete Read Only Files
- How to Open NRG Files
- How to Open ISO Files
- What is a .BAT file? How to create and use BAT files on Windows computers
- What is an exe file? How to open and convert exe files on your computer
- How to Change File Names in Bulk on PC or Mac
May be interested
- Looking Back at Icons in Windows: From Windows 1 to 11over the past three decades, microsoft windows icons have evolved with improvements in screen resolution and color.
- How to use Cleaner for PC Pro to delete cache, Windows junk files automaticallycleaner for pc pro is an application to clear cache, clean garbage on your computer with automatic garbage cleaning according to the schedule that the user sets.
- How to Clear Cache on Mactipsmake today will show you how to clear the cache of system files that your mac computer stores when you use it as well as how to clear the cache of temporary internet files on safari. note: deleting the system cache may cause your mac computer to freeze or crash unexpectedly; this is a normal phenomenon when clearing cache.
- Instructions to clear DNS Cache with CMD command on Windowscache dns helps you surf the web faster, but in a few cases when a website has changed dns information but your computer still caches old dns information, it will not be able to access that website.
- Wifi icon missing on the Taskbar Windows 10, this is how to fixby default, the network or wifi icon always appears on the system tray of windows 10 taskbar so that users know if their computer is connected to the network? however for some reason (such as upgrading to windows or installing on windows 10 ...) that icon disappears. here's how to fix it.
- Delete ARP Cache in Windows Vista / XP / 2003/2000if you start to see connectivity problems for your network, then clearing the arp cache is the first thing you need to do.
- Error losing battery icon on Windows Taskbar 10/8/7by default, the battery icon will appear under the taskbar on your computer, laptop. however for some reason the battery icon disappears, then you can apply some solutions below to fix the error and restore the battery icon back on the taskbar.
- How to display the This PC icon on the Windows 11 desktopif you just installed windows 11 and don't see the this pc icon on your desktop, see this article to find out how to display it. click to view now!
- Clear the Dropbox cache Windows and Linux to free up memory spaceevery time you delete any file from your dropbox account, you often think that the file has been permanently deleted. however, you do not know that those files are still hidden in the cache directory on the hard drive for use in emergencies, and for about 3 days these files will be deleted automatically.
- How to Change or Create Desktop Icons for Windowsthis wikihow teaches you how to change a desktop icon's appearance on windows, both by changing the icon to a different system icon and by downloading or creating your own icon. you can also add your own custom shortcuts to the desktop,...