How to Rebuild the Icon Cache in Windows 11 to Fix Broken and Blank Icons

Windows 11 features a modern, refined visual interface with redesigned icons across File Explorer, the taskbar, and desktop shortcuts. However, users occasionally encounter an irritating glitch where application icons suddenly transform into generic white blank paper sheets, broken black squares, or generic placeholder icons.

This visual glitch occurs when the Windows Icon Cache database becomes corrupted. Rather than reading the embedded icon graphic from every single executable file each time you open a folder, Windows stores pre-rendered icon assets in a central cache file. Following unexpected shutdowns, driver updates, or uninstalled software, this database can desynchronise. Rebuilding the cache purges the corrupted entries and prompts Windows to regenerate crisp, accurate icons across your entire desktop.

Method 1: Rebuild the Icon Cache Using Command Prompt

The most thorough and reliable method to rebuild the icon cache requires stopping the Windows Explorer process temporarily so that the locked cache database files can be deleted cleanly.

  1. Save any open documents and close active browser windows.
  2. Open the Start menu, type cmd, right-click on Command Prompt, and select Run as administrator.
  3. In the Command Prompt window, enter the following command to terminate the Windows Explorer graphical desktop interface:
    taskkill /F /IM explorer.exe
    (Note: Your taskbar and desktop icons will temporarily disappear. This is normal.)
  4. Next, navigate to the local icon cache storage directory:
    cd /d %userprofile%\AppData\Local
  5. Remove the hidden, system, and read-only attributes from the primary icon cache file:
    attrib -h -r -s IconCache.db
  6. Delete the database file:
    del IconCache.db
  7. Delete the extended icon cache databases located in the Explorer subfolder:
    del /f /q %userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache*
  8. Finally, restart Windows Explorer to restore your desktop and trigger automatic icon regeneration:
    start explorer.exe

Within seconds, File Explorer will restart, and Windows 11 will scan your installed applications and repopulate the desktop with fresh icon artwork.

Method 2: Clear Corrupted Thumbnail Caches via Disk Clean-up

If your desktop shortcut icons look normal but image files, video files, and document thumbnails inside File Explorer display blank sheets or generic document icons, the thumbnail database is corrupted rather than the executable icon cache.

  1. Press Windows Key + R, enter cleanmgr.exe, and press Enter to launch Disk Clean-up.
  2. Select your primary C: drive and click OK.
  3. Scroll through the Files to delete list and check the box for Thumbnails.
  4. Untick other categories if you only wish to refresh graphics, then click OK.
  5. Confirm by clicking Delete Files. Windows will purge all cached preview assets and re-render them smoothly as you navigate your folders.

Method 3: Reset Default App Associations for Broken Document Icons

Occasionally, blank icons affect a specific file format (such as all .pdf or .docx files showing a blank white page). This typically happens when an application was uninstalled without restoring default Windows file handler associations.

  1. Open the Settings app (press Windows Key + I) and navigate to Apps > Default apps.
  2. Scroll to the bottom of the page and locate the option labelled Reset all default apps.
  3. Click the Reset button next to Reset all default apps to Microsoft recommended defaults.
  4. Alternatively, search for the specific file extension (e.g. .pdf) in the top search box and re-assign your preferred application (such as Google Chrome, Adobe Acrobat, or Microsoft Edge). Windows will immediately associate the official application icon with that file type.

Diagnostic Checklist for Icon Glitches

Use the table below to identify the appropriate recovery action based on your specific visual symptom:

Visual Symptom Probable Root Cause Recommended Action
Desktop shortcuts show blank white sheets Corrupted IconCache.db Run Method 1 (Command Prompt Explorer restart)
Photos/Videos show generic icons instead of previews Corrupted thumbnail cache Run Method 2 (Disk Clean-up Thumbnails)
Specific file type has lost its custom icon Broken registry file association Run Method 3 (Reset Default Apps in Settings)
Taskbar icons missing after Windows Update Stale ShellIconCache handles Restart PC or restart explorer.exe via Task Manager

Maintaining Pristine Desktop Icons

After rebuilding your cache, restart your computer once to ensure Windows 11 writes the freshly generated database to disk. Avoid running aggressive registry cleaning utilities, which frequently purge icon handler registry keys and trigger cache corruption. Your desktop, taskbar, and File Explorer folders will remain responsive and visually consistent.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.