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

Win7 .exe 執行檔圖示消失變空白/通用圖示?命令列重建圖示快取 (IconCache.db) 秒恢復

編輯:Win7 系統應用技巧

Win7 桌面、開始選單、資料夾中的 .exe 檔案圖示突然變成空白、白紙圖示或通用「未知檔案」圖示,但程式功能正常。這是圖示快取檔 IconCache.db 損壞所致。一條命令列指令即可重建快取,秒速恢復。

exe 圖示消失變空白

修復指令 (以系統管理員身分執行 CMD)

  1. 開始搜尋 cmd → 右鍵 → 「以系統管理員身分執行」。
  2. 依序輸入以下指令 (可複製整段貼上):
taskkill /im explorer.exe /f
cd /d %userprofile%\AppData\Local
del IconCache.db /a
start explorer.exe
exit
  1. 螢幕會閃爍 (explorer 重啟),圖示即恢復正常。

指令解析

  • taskkill /im explorer.exe /f:強制結束檔案總管釋放快取檔鎖定。
  • cd /d %userprofile%\AppData\Local:切換至使用者本機應用程式資料目錄。
  • del IconCache.db /a:刪除隱藏/系統屬性的圖示快取資料庫。
  • start explorer.exe:重新啟動檔案總管,系統自動重建 IconCache.db。

補充說明

  • Win8/10 同樣適用,快取路徑為 %LocalAppData%\IconCache.db。
  • 若問題頻發,檢查磁碟錯誤 (chkdsk /f)、掃描病毒、避免使用激進清理工具清除系統快取。
  • 此法也適用於資料夾圖示、捷徑圖示異常。
Copyright © Windows教程網 All Rights Reserved