萬盛學電腦網

 萬盛學電腦網 >> 服務器教程 >> 清除重建圖標緩存

清除重建圖標緩存

  清除重建圖標緩存

  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

  保存為bat文件執行即可。

copyright © 萬盛學電腦網 all rights reserved