当前位置:网站首页>[system management] clear the icon cache of deleted programs in the taskbar
[system management] clear the icon cache of deleted programs in the taskbar
2022-07-07 04:11:00 【Allen Moore】
The notification area is located on the taskbar (Taskbar) Right side , contain
- 【 Application tray (Tray)】 Icon , Provide reminders and settings about the application , See the following figure to mark the yellow area
- 【 System icon 】 Icon , Provide status and notification of system services

- 【 problem 】 Display the icon of the uninstalled application in the notification area icon setting in the system settings ?
- 【 resolvent 】 Delete the notification area icon cache in the registry and reset and automatically create the notification area icon .
- 【 Cause analysis 】 Improper software uninstallation , Especially delete the green version directly & Installation free (Portable) Software , It is easy to damage the icon cache of the notification area , The icon that causes the icon setting of the notification area still appears .

Solution steps
The notification area icon cache is located in the following registry key HKEY_CURRENT_USER\SOFTWARE\Classes\Local
Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify\ The following two variables in
- IconStreams
- PastIconsStream

- Copy the following and save as Reset_NotiAreaIconsCache.bat To desktop .
@echo off
set regPath=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify
set regKey1=IconStreams
set regKey2=PastIconsStream
echo.
echo Before deleting the notification area tray cache icon , Be sure to close the resource manager process .
echo.
echo Before proceeding , Be sure to save important working documents .
echo.
pause
echo.
taskkill /IM explorer.exe /F
echo.
FOR /F "tokens=*" %%a in ('Reg Query "%regpath%" /v %regkey1% ^| find /i "%regkey1%"') do goto IconStreams
echo Deleted registry key "IconStreams".
echo.
:verify-PastIconsStream
FOR /F "tokens=*" %%a in ('Reg Query "%regpath%" /v %regkey2% ^| find /i "%regkey2%"') do goto PastIconsStream
echo Deleted registry key "PastIconsStream".
echo.
goto restart
:IconStreams
reg delete "%regpath%" /f /v "%regkey1%"
goto verify-PastIconsStream
:PastIconsStream
reg delete "%regpath%" /f /v "%regkey2%"
:restart
echo.
echo.
echo You need to restart your computer to complete the reset task of your notification area icon .
echo.
CHOICE /C:YN /M " Do you want to restart your computer now ?"
IF ERRORLEVEL 2 goto no
IF ERRORLEVEL 1 goto yes
:no
echo.
echo.
echo The resource manager is restarting ....
echo.
echo Please remember to restart the computer later to complete the reset task of your notification area icon .
echo.
start explorer.exe
pause
exit /B
:yes
shutdown /r /f /t 00
! Be careful : The above text code is GB 2312; Other codes will cause the problem of garbled prompt text .
! Be careful : Before proceeding to the next step , Please close and save the important content that the user is working on . The following steps will involve restarting the resource manager and restarting PC.
function .bat file .
If there is a hint , Please click on the / Click on “Enter” Continue with consent .


Follow the instructions in the command prompt to reset the notification area icon . If you don't restart your computer now , You need to reset the notification area icon later .

Related questions
- How to clean up the deleted programs in the system settings taskbar / Green Program / Legacy icons of non installer / picture ?
appendix : Technical references
边栏推荐
- [MySQL] row sorting in MySQL
- 2022年电工杯B 题 5G 网络环境下应急物资配送问题思路分析
- 史上最全MongoDB之初识篇
- Unity3d can change colors and display samples in a building GL material
- It's too convenient. You can complete the code release and approval by nailing it!
- 红米k40s root玩机笔记
- 5年自动化测试,终于进字节跳动了,年薪30w其实也并非触不可及
- HW notes (II)
- 你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
- Native MySQL
猜你喜欢
随机推荐
Ggplot facet detail adjustment summary
pyqt5 失焦 监听无操作 定时器
硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
10 ways of interface data security assurance
Continuous learning of Robotics (Automation) - 2022-
golang 压缩和解压zip文件
ggplot 分面的细节调整汇总
一些常用软件相关
Arduino droplet detection
[leetcode]Spiral Matrix II
機器人(自動化)課程的持續學習-2022-
What is the experience of maintaining Wanxing open source vector database
tflite模型转换和量化
2022夏每日一题(一)
The most complete learning rate adjustment strategy in history LR_ scheduler
使用切面实现记录操作日志
史上最全MongoDB之部署篇
2022 electrician cup question B analysis of emergency materials distribution under 5g network environment
On file uploading of network security
【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析









