桌面新建一个.txt文件,修改后缀名为.bat,右键打开方式,选择任意文本编辑器,输入以下内容:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
pause
保存,右键以管理员权限运行,OK。
其实这段代码的作用就是清理注册表。