1.打开任务管理器,结束进程 explorer.exe
1.Open TaskManager, kill “explorer.exe” process
2.任务管理器-新建任务(运行)输入 cmd 回车
2.TaskManager – File Menu – New Task – input “cmd” and press Enter key
3.输入 cd appdatalocal   然后按回车
3.input “cd appdatalocal” (not include “”) and press Enter key
4.输入 attrib -h IconCache.db 回车
4.input “attrib -h IconCache.db” and press Enter key
5.输入 del IconCache.db 回车
5.input “del IconCache.db” and press Enter key
6.重新建立explorer进程
6.input “explorer.exe” and press Enter

One thought on “Windows7中重建图标缓存的方法(Rebuild Icon Cache)”

  1. rem 关闭Windows外壳程序explorer

    taskkill /f /im explorer.exe

    rem 清理系统图标缓存数据库

    attrib -h -s -r “%userprofile%AppDataLocalIconCache.db”

    del /f “%userprofile%AppDataLocalIconCache.db”

    attrib /s /d -h -s -r “%userprofile%AppDataLocalMicrosoftWindowsExplorer*”

    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_32.db”
    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_96.db”
    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_102.db”
    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_256.db”
    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_1024.db”
    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_idx.db”
    del /f “%userprofile%AppDataLocalMicrosoftWindowsExplorerthumbcache_sr.db”

    rem 清理 系统托盘记忆的图标

    echo y|reg delete “HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify” /v IconStreams
    echo y|reg delete “HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify” /v PastIconsStream

    rem 重启Windows外壳程序explorer

    start explorer

发表评论

电子邮件地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.