Windows 7 開機後桌面圖示消失、顯示白紙/錯誤圖示,主因為圖示快取檔 IconCache.db 損毀。透過工作管理員結束 explorer.exe,命令提示字元刪除快取檔並重啟 Explorer 即可修復。

cmd 或開始選單搜尋。

explorer.exe (可能有多個)。cd /d %userprofile%\AppData\Local
del IconCache.db /a
cd %SYSTEMROOT%
explorer.exe
exit


%userprofile%\AppData\Local\IconCache.db 存放圖示快取,損毀導致圖示讀取失敗。cd %SYSTEMROOT% 切換至系統目錄確保 explorer.exe 正確啟動。@echo off
taskkill /f /im explorer.exe
cd /d %userprofile%\AppData\Local
del IconCache.db /a
start explorer.exe
exit
存為 RebuildIconCache.bat 以系統管理員執行即可一鍵修復。