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

Win10 刪除圖示快取重建:%userprofile%\AppData\Local\Microsoft\Windows\Explorer 下 iconcache_*.db 全刪 + 批次檔自動化

編輯:Windows 10 系統介紹

Win10 圖示快取存放於 %userprofile%\AppData\Local\Microsoft\Windows\Explorer,檔名 iconcache_*.db (32/48/96/256/1024/1280/1600/1920/2560/exif/idx/sr/wide/alternate)。手動全刪或用批次檔自動化 (含 taskkill /f /im explorer.exe 釋放鎖定) 重建快取,修復圖示異常、縮圖不顯示、錯位。

手動刪除路徑

%userprofile%\AppData\Local\Microsoft\Windows\Explorer

全選 iconcache_*.db → Shift+Del (若被鎖定無法刪除,改用批次檔)

批次檔自動化 (存為 .bat 以管理員執行)

cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer
taskkill /f /im explorer.exe
attrib -h iconcache_*.db
del iconcache_*.db /a
start explorer
pause

縮圖快取同步清理

同目錄下 thumbcache_*.db,同樣批次檔修改 del thumbcache_*.db /a 即可清理縮圖快取,修復圖片/影片/音樂/文件縮圖不顯示、不刷新。

圖示快取資料夾

執行效果

  • 批次檔執行時桌面會閃一下 (Explorer 重啟)
  • 完成後 Windows 自動重建乾淨快取,圖示/縮圖恢復正常
  • 建議每月執行一次維護
Copyright © Windows教程網 All Rights Reserved