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

Win7 桌面圖示文字背景變白底/有方框?CMD 批次指令刪除 IconCache.db 重建圖示快取即可修復

編輯:Win7 常見問題解答

Windows 7 桌面圖示文字下方出現 白色方塊背景、陰影消失、或圖示顯示異常,是 圖示快取檔 IconCache.db 損毀 所致。透過命令提示字元結束 Explorer、刪除快取、重啟 Explorer 三步驟即可重建正常圖示顯示。

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

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

圖文操作步驟

  1. Win+R → cmd → 開啟命令提示字元。
    開啟 CMD
  2. 依序輸入上述五行指令 (或複製整段右鍵貼上) → 執行完成。
    執行修復指令
  3. 桌面閃一下後圖示文字背景恢復透明、陰影正常,問題解決。

原理解析

  • taskkill /im explorer.exe /f:強制結束檔案總管釋放 IconCache.db 鎖定。
  • cd /d %userprofile%\AppData\Local:切換到快取資料夾 (隱藏)。
  • del IconCache.db /a:刪除損毀的快取檔 (含隱藏/系統屬性)。
  • start explorer.exe:重新啟動檔案總管,系統自動重建新的 IconCache.db。

此法同樣適用於工作列釘選圖示異常、開始功能表圖示空白、資料夾圖示不更新等快取相關問題。

Copyright © Windows教程網 All Rights Reserved