【教程】解决某程序的图标变成另外程序或者直接丢失图标 2012-11-12 把一下代码保存为cmd文件运行一次即可,原理是让Windows重新创建图标缓存: @echo off taskkill /IM "explorer.exe" /F takeown /f "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db" & icacls "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db" /grant administrators:F takeown /f "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db" & icacls "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db" /grant administrators:F takeown /f "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db" & icacls "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db" /grant administrators:F takeown /f "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db" & icacls "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db" /grant administrators:F takeown /f "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db" & icacls "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db" /grant administrators:F takeown /f "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db" & icacls "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db" /grant administrators:F del "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db" /q del "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db" /q del "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db" /q del "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db" /q del "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db" /q del "%HOMEDRIVE%%HOMEPATH%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db" /q start "explorer.exe" pause 除非另有声明,本博客所有文章采用的授权方式为 自由转载-非商用-非衍生-保持署名 ,转载请务必注明出处,谢谢。