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

Win10 去除桌面快捷方式小箭頭:批處理注冊表修改 Shell Icons 29 值+清理圖標緩存

編輯:Windows 10 系統介紹

批處理腳本內容

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\IconCache.db"
del "%userprofile%\AppData\Local\IconCache.db" /f /q
start explorer
pause

執行步驟

  1. 新建文本文件,粘貼上述代碼,另存為 RemoveArrow.bat。
  2. 右鍵 → 「以管理員身份運行」。
  3. 命令提示符顯示完成後,桌面快捷方式小箭頭消失,圖標與原程序一致。

原理解析

  • Shell Icons\29 映射至快捷方式覆蓋圖標索引,imageres.dll,197 為空白/透明圖標資源,實現視覺隱藏。
  • taskkill /f /im explorer.exe 重啟 Shell 刷新圖標緩存。
  • 刪除 IconCache.db 強制重建圖標數據庫,徹底清除殘留箭頭緩存。

恢復方法

刪除注冊表 HKLM\...\Shell Icons\29 值 → 重啟 explorer / 重啟電腦,小箭頭恢復顯示。

Copyright © Windows教程網 All Rights Reserved