in Windows Development & Utilities

Windows Icon Cache Clearer

I couldn’t find an easy way to clear the icon cache so I developed this little batch script to make it easy. A simple batch script to clear the icon cache introduced in Windows Vista. Now updated to work on all current versions of Windows, for real this time.

A side note before trying this script try using either ie4uinit -show in Windows 10 or ie4uinit -ClearIconCache in Windows 7. These commands are supposed to clear the icon cache and will do so without requiring you to terminate explorer or reboot you computer.

Download: clear-icon-cache.bat (zipped)
SHA3-256: ddd83421b246333f42be070adcbc97915cce0ae927046202e151e9a4f296fe58

Leave a Reply for Anonymous Cancel Reply

Your thoughts? Click here to comment.

Comment

All fields voluntary.
Comment submission rules apply.

  1. Icon cache in windows 8 and 10 is stored in C:\Users\\AppData\Local\Microsoft\Windows\Explorer which contains:
    • iconcache_16.db
    • iconcache_32.db
    • iconcache_48.db
    • iconcache_96.db
    • iconcache_256.db
    • iconcache_768.db
    • iconcache_1280.db
    • iconcache_1920.db
    • iconcache_2560.db
    • iconcache_custom_stream.db
    • iconcache_exif.db
    • iconcache_idx.db
    • iconcache_sr.db
    • iconcache_wide.db
    • iconcache_wide_alternate.db

    • Seems that you are somewhat correct Windows 8.1 and above introduced these databases located at “%LOCALAPPDATA%\Microsoft\Windows\Explorer” in addition to the original iconcache.db in that root. At some point I’ll update the script to check for and also remove these (edit: done).

Webmentions

  • Windows 7 Icon Cache Clearer – Furgelnod's Fyrgilnadium Sat, 2018-09-22

    Seems that you are somewhat correct Windows 8.1 and above introduced these databases located at “%LOCALAPPDATA%\Microsoft\Windows\Explorer” in addition to the original iconcache.db in that root. At some point I’ll update the script to check for and also remove these (edit: done).