Fixing Broken Desktop Icons
Posted: Mon Sep 25, 2017 2:32 am
Windows use a cache to manage program icons.
While this works fine most of the time, sometimes that cache gets out of wack and as a result the icons get drawn incorrectly.
Since Windows 8.1 the icon cache is located in this hidden file location:
The following batch file can be used to flush this cache and restore and broken icons:
If this does not fix this issue then more drastic measures might be needed as described here: https://www.windowscentral.com/how-rese ... windows-10
Cheers Jussi
While this works fine most of the time, sometimes that cache gets out of wack and as a result the icons get drawn incorrectly.
Since Windows 8.1 the icon cache is located in this hidden file location:
Code: Select all
%UserProfile%\AppData\Local\IconCache.db
Code: Select all
@echo off
:: Stop Explorer
taskkill /F /IM Explorer.exe
:: Delete the cache
set "path=%UserProfile%\AppData\Local\IconCache.db"
if exist "%path%" del /A:H "%path%"
:: Restart Explorer
start explorer.exe
exit
Cheers Jussi