解决win7 显示多个用户界面的问题
番茄系统家园 · 2021-08-15 05:58:17

rem关闭外壳程序
rem清理系统图标缓存数据库
-h-s-r"%%\\\"
"%%\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清理系统托盘记忆的图标
echoy|regdelete"HKEY_CLASSES_ROOT\LocalSettings\Software\Microsoft\Windows\CurrentVersion\TrayNotify"/vIconStreams
echoy|regdelete"HKEY_CLASSES_ROOT\LocalSettings\Software\Microsoft\Windows\CurrentVersion\TrayNotify"/vPastIconsStream
rem重启Windows外壳程序explorer
startexplorer

