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

Win7 桌面圖示出現白底/顯示異常?清除 IconCache.db 快速修復

編輯:Win7 常見問題解答

Windows 7 桌面圖示突然出現白底、空白、錯誤圖示、重疊,主因是圖示快取 (IconCache.db) 損壞。透過命令列結束 explorer.exe、刪除快取檔、重新啟動 explorer.exe,可在 10 秒內修復,無需重開機。

一鍵修復指令(複製到 CMD 執行)

taskkill /f /im explorer.exe
cd /d %userprofile%\AppData\Local
del /a IconCache.db
start explorer.exe

分步驟說明

  1. Win+R 輸入 cmd → Ctrl+Shift+Enter 以管理員身分開啟。
  2. 管理員 CMD
  3. 依序輸入上述指令,每行按 Enter。
  4. 畫面閃爍後桌面重繪,圖示恢復正常。

原理說明

  • IconCache.db 位於 %LocalAppData%\IconCache.db,儲存圖示圖像索引。
  • 系統更新、軟體安裝/解除安裝、磁碟錯誤可能導致快取不一致。
  • 刪除後 Windows 會自動重建新的乾淨快取。

進階:批次檔一鍵修復

將指令存為 FixIconCache.bat 放桌面,右鍵「以系統管理員身分執行」即可隨時修復。

補充:徹底重建所有使用者快取

for /d %%u in (C:\Users\*) do (
  if exist "%%u\AppData\Local\IconCache.db" del /a "%%u\AppData\Local\IconCache.db"
)
taskkill /f /im explorer.exe
start explorer.exe

(需系統管理員權限,適用多使用者環境。)

Copyright © Windows教程網 All Rights Reserved