桌面应用图标或任务栏应用图标变成空白图标----(解决办法)

一个人想着一个人 提交于 2019-12-12 21:07:59

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

问题示例:

 

解决办法 新建记事本将以下代码复制进去 将文件后缀名改为 .bat 类型 然后双击文件即可,亲测有效

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

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!