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

Win7任務列Chrome圖示異常修復:批次腳本重建IconCache快取

編輯:Windows 7 系統介紹

Chrome 更新/重裝後任務列釘選圖示變白紙/通用圖示,實為圖示快取索引錯誤。同樣透過刪除 IconCache.db 重建快取即可修復,封裝為批次檔一鍵執行。

修復批次檔 (另存為 FixChromeIcon.bat,右鍵「以系統管理員身分執行」)

@echo off
rem 關閉 Chrome 所有進程
taskkill /f /im chrome.exe 2>nul

rem 解除釘選 (需手動:任務列右鍵 Chrome → 取消釘選)

rem 重建圖示快取
taskkill /f /im explorer.exe
cd /d "%LocalAppData%"
del IconCache.db /a
start explorer.exe

rem 重新釘選 Chrome (手動:開始選單搜尋 Chrome → 右鍵 → 釘選到工作列)
exit

手動步驟詳解

  1. 完全關閉 Chrome (檢查系統托盤無殘留進程)
  2. 任務列 Chrome 圖示右鍵 → 「取消釘選到工作列」
  3. 執行上述批次檔或手動執行快取重建命令
  4. 開始選單搜尋「Chrome」→ 右鍵 → 「釘選到工作列」
  5. 新圖示應正常顯示 Chrome 彩色圓環 Logo

根因分析

  • Chrome 更新更換執行檔路徑/版本號 (如 Application\120.0.6099.129\chrome.exe)
  • 任務列釘選項目儲存舊路徑/圖示資源索引
  • IconCache.db 仍保留舊映射關係,導致圖示解析失敗
  • 刪除快取強制 Shell 重新掃描 .exe 圖示資源

通用性說明

此法適用於所有任務列釘選圖示異常:Office、VS Code、Steam、Discord 等。核心邏輯:取消釘選 → 重建快取 → 重新釘選。

Copyright © Windows教程網 All Rights Reserved