How to Delete the Icon Cache in Windows (Fix Glitches)
Deleting the icon cache in Windows fixes display glitches like blank, incorrect, or flickering icons. Open File Explorer, navigate to `%localappdata%MicrosoftWindowsExplorer`, delete all files named `iconcache`, then restart Windows Explorer via Task Manager. Alternatively, run a batch script automating these steps to clear corrupted cache files and force Windows to rebuild them automatically.
I remember getting weird flashing on my laptop and eventually figured out my icon cache was full. So if you ever get this, try running the script below. This is obviously quite a weird/random post – hope its helpful 🙂
cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer
attrib –h iconcache_*.db
del iconcache_*.db
start explorer
pause