Background: If you look here:
http://msdn.microsoft.com/en-us/library/ee330740%28v=vs.85%29.aspx
at the bottom you will see:
Note When you uninstall the application, the notification area icon can still be displayed to the user as an option on the notification area icon page in the control panel for seven days. However, any changes made there will have no effect.
And yes, when you uninstall the application, the icon is still on the "Notification Area Icons" page until you kill Explorer.exe and restart it. This is a problem that I want to solve.
You can go to the "Notification Area Icons" page (on Windows 7): right-click on the taskbar> "Properties"> "Customize"
So what I want to do is programmatically remove the icon from this list, or even delete all the icons, and then let Windows recreate them when you reopen this page of the list (this can be done by deleting PastIconsStreamand IconStreamsin HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify)
But again, the problem is that you only see the results after , you kill and restart Explorer.exe - I assume that when you restart explorer.exe it rebuilds the list, but this time with the right icons (i.e. does not contain icons from remote applications).
, , :
" " PastIconsStream IconStreams / explorer.exe / , ?