If the lock program on the taskbar changes position, such as: Cut away. The icon will change to a white icon.
Workaround:
rem Close Windows Shell Explorer Taskkill/F/im explorer.exe rem cleanup system icon cache database 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_32.db"del/F"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_96.db"del/F"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_102.db"del/F"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_256.db"del/F"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_1024.db"del/F"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_idx.db"del/F"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_sr.db"REM Cleaning system tray memory iconEchoY|reg Delete"hkey_classes_root\local settings\software\microsoft\windows\currentversion\traynotify"/v iconstreamsEchoY|reg Delete"hkey_classes_root\local settings\software\microsoft\windows\currentversion\traynotify"/v pasticonsstream rem Restart Windows Shell Explorer start Explorer
Paste the above code into Notepad and save it as "Xxxx.bat" and run it with administrator privileges.
If the tray icon does not move. It is possible to remove the optional sex.
Referenced by: http://www.jb51.net/os/windows/88503.html
-
WIN7 Clear taskbar icon Cache