Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

修復 Windows 7 EXE 圖示遺失/異常:清除圖示快取 (iconcache.db) 一鍵恢復

編輯:Win7 系統基礎知識

安裝軟體後 EXE 圖示變空白/錯誤,功能正常。此為圖示快取損壞 (Win7 已知 Bug)。以管理員身分開啟 CMD 執行以下指令即可恢復:

taskkill /im explorer.exe /f
cd /d %userprofile%\appdata\local
del iconcache.db /a
start explorer.exe
exit

指令解析

  1. 強制結束 explorer.exe 釋放快取檔鎖定。
  2. 進入使用者本地 AppData 目錄。
  3. 刪除隱藏/系統屬性的 iconcache.db。
  4. 重新啟動 explorer.exe,系統自動重建圖示快取。
此問題常發生於安裝/解除安裝大量軟體後。建議將上述指令存為 fix_icon.bat,以管理員身分執行,隨用隨修。
Copyright © Windows教程網 All Rights Reserved