出现此问题,一般是因为图标缓存出错,需要重建图标缓存,让其重新生成。
解决方法:
1、在桌面上新建一个记事本。
2、把以下代码内容复制到记事本中,点击菜单里的“文件”——“另存为”——保存为“所有文件”——重建win7系统图标缓存.bat的文件。
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
3、双击运行重建win7系统图标缓存.bat即可。