Win7系統右下角托盤區域圖標會出現消失不見的狀況,如原來的音量、網絡等圖標消失,變成空白位置,或是其它軟件的圖標消失的問題,下載這個批處理運行一下,win七、win10均可以。數據庫
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 "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_16.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_48.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_768.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1280.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1920.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_2560.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_custom_stream.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_exif.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_wide.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_wide_alternate.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_16.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_32.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_48.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_96.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_256.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_768.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_1280.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_1920.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_2560.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_custom_stream.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_exif.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_idx.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_sr.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_wide.db" del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\iconcache_wide_alternate.db" rem 清理系統托盤記憶的圖標 echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream rem 重啓 Windows 外殼程序 explorer start explorer