[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify]
下 IconStreams 和 pastIconStreams 的内容删除。

bat:

@echo off
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 /q "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_*.db"
del /f /q "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_*.db"

rem 清除托盘记忆的图标
reg delete "HKCR\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams /f
reg delete "HKCR\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "EnableAutoTray" /t REG_DWORD /d 0 /f
start explorer.exe

C:\Users\Administrator\AppData\Local\Microsoft\Windows\UsrClass.dat

最后修改:2021 年 11 月 13 日 02 : 43 PM
如果觉得我的文章对你有用,请随意赞赏