Skip to content

参考:https://www.zhihu.com/question/53888976

1.尝试重建图标缓存

将以下代码保存为 bat 格式后双击运行

bash
rem 关闭Windows外壳程序explorer

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_32.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_102.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db"

rem 清理 系统托盘记忆的图标

echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream

rem 重启Windows外壳程序explorer

start explorer

2.检查快捷访问

检查快捷访问里面有没有文件夹指向失效的链接,删除该文件夹。
删除不掉的话,直接删除下列位置的所有文件,会清空快捷访问的所有文件夹:
C:\Users\用户名\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations
参考链接:
https://blog.csdn.net/wangjianddy/article/details/103449743?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~aggregatepage~first_rank_ecpm_v1~rank_v31_ecpm-3-103449743.pc_agg_new_rank&utm_term=%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9+%E5%A4%8D%E5%88%B6+%E7%B2%98%E8%B4%B4+%E4%B8%8D%E8%87%AA%E5%8A%A8%E5%88%B7%E6%96%B0&spm=1000.2123.3001.4430

Made with ❤️