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

Win7 旗艦版圖示變空白、殘缺?重建圖示快取一鍵修復

編輯:Win7 系統應用技巧

Win7 圖示顯示空白或破圖,主因為圖示快取資料庫損毀。透過批次檔清除快取並重建,即可恢復正常顯示。

一鍵修復批次檔內容

將以下程式碼存為 重建圖示快取.bat,以管理員身分執行:

@echo off
rem 關閉總管
taskkill /f /im explorer.exe
rem 清除圖示快取資料庫
attrib -h -s -r "%userprofile%\AppData\Local\IconCache.db"
del /f "%userprofile%\AppData\Local\IconCache.db"
attrib /s /d -h -s -r "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_*.db"
rem 清除系統托盤記憶圖示
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams /f
rem 重新啟動總管
start explorer.exe
echo 圖示快取已重建,請稍候...
pause

執行後現象

  • 螢幕會短暫閃爍(總管重啟)。
  • 所有圖示重新載入,空白、破圖問題解決。

若問題持續,建議掃毒或檢查硬碟健康狀態。

Copyright © Windows教程網 All Rights Reserved