5 Ways to Rebuild Shell Icon Cache and Fix Desktop Icons Have you ever turned on your computer to find that your desktop icons have turned into blank, white sheets, or perhaps they look corrupted or distorted? This frustrating issue often stems from a corrupt shell icon cache.
Windows stores icon images in a cache file to load them faster. When this file gets corrupted, icons display incorrectly. Fortunately, rebuilding the icon cache is straightforward. Here are 5 effective ways to rebuild the icon cache and fix your desktop icons in Windows 10 and 11. Method 1: Delete IconCache.db via File Explorer
This is the most direct method to clear the old cache file and force Windows to regenerate it. Open File Explorer.
Go to the View tab and check Hidden items to ensure you can see system files. Navigate to: C:\Users\YourUsername\AppData\Local Locate IconCache.db, right-click on it, and select Delete. Restart your computer to regenerate the cache. Method 2: Delete IconCache Files via Command Prompt
If you prefer using command-line tools, this method is fast and effective.
Open the Start menu, type cmd, right-click Command Prompt, and select Run as Administrator.
Type the following command to stop File Explorer:taskkill /f /im explorer.exe
Navigate to the icon cache directory:cd /d %userprofile%\AppData\Local Delete the cache file:del IconCache.db Restart Explorer:start explorer
Method 3: Use the Windows “Explorer” Folder (For Newer Windows 11)
Windows 11 and recent Windows 10 versions often store icon caches in a different location within the AppData folder.
Paste the following path into the address bar of File Explorer:%localappdata%\Microsoft\Windows\Explorer
Locate all files starting with iconcache (e.g., iconcache_32.db, iconcache_48.db, etc.). Select all of them and press Delete. If files are in use, restart your PC to clear them. Method 4: Clear Icon Cache via Disk Cleanup
Disk Cleanup can automatically identify and remove corrupted icon cache files. Press Win + R, type cleanmgr, and press Enter. Select your system drive (usually C:). In the file list, check the box for Thumbnails. Click OK to remove the files and restart your computer.
Method 5: Create a Batch File to Automatically Rebuild Cache
If this is a recurring issue, you can create a simple script to fix it instantly. Open Notepad. Paste the following text:
taskkill /f /im explorer.exe cd /d %userprofile%\AppData\Local del IconCache.db /a start explorer Use code with caution.
Save the file as FixIcons.bat (make sure to select “All Files” under the Save as type dropdown).
Run this .bat file as administrator whenever your icons are broken. Pro Tip: Restarting Explorer
Sometimes the icon cache isn’t broken, but Windows Explorer is stuck. Right-click the Taskbar and choose Task Manager.
Locate Windows Explorer, right-click it, and select Restart.
Rebuilding the icon cache is safe and will not harm your personal files. After trying these methods, your icons should return to normal.
Explain how to change specific icons that are still showing broken images? Offer tips to improve desktop performance on Windows? Refresh Icon Cache Without Rebooting