hans

hans

【Others】Cleaning up hidden icons on the Win11 taskbar


Win11 has an issue where app icons that have been uninstalled still appear in the hidden icon management bar. To reset the icon list, follow these steps:

  1. Go to the "Taskbar Hidden Icon Management" and turn off all icons.

  2. Create a document and write the following content in it. Name the document xxx.bat and right-click to run as administrator.

rem Close Windows shell explorer
taskkill /f /im explorer.exe
rem Clear the 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 Clear the system tray's remembered icons
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 Restart Windows shell explorer
start explorer
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.