Jump to content
Sign in to follow this  
Turan Can

TrayIcon resfresh method

Recommended Posts

Hi All,


What to do to reload the tray icon?

I haven't tried 3 different methods, is there any different idea?
The icon is inactive because my application started late.

If I do this, the problem will be fixed. However, this is frustrating at every opening.
taskkill /f /im explorer.exe
start explorer.exe


The methods I tried.


ie4uinit.exe -ClearIconCache
ie4uinit.exe -show

CD /d %userprofile%\AppData\Local
DEL IconCache.db /a












Share this post

Link to post

I don't understand the problem. I think that if you want some input you'd need to make it more clear to us what your code is doing and how it fails to achieve your goals. 

Share this post

Link to post

Hallo David,

Ik heb een simpel probleem.


This method you sent has worked.



I added the software to the trayicon section without the need for Windows settings.

I have to do this for the icon to appear. Turn "Explorer.exe" on / off.
Opening and closing the "Explorer.exe" file bothers the user.
How can I renew "Explorer.exe" without closing / opening it?

Edited by Turan Can

Share this post

Link to post

Oh. This again. Surely your users can just make the the icon appear always if they want to. Perhaps they don't want to..... 

  • Like 2

Share this post

Link to post

I stand by this post

It is not possible as it is not what Microsoft wants you to be able to do. Anything to achieve this goal is a hack that may or may not cease to work after the next OS update. It is a waste of time and money. So just stop pursuing this and ask your users to set it manually. Write it in your manual, or some MessageBox, and also mention that you can not support any installation, where this is not set accordingly.

  • Like 1

Share this post

Link to post

To make it simpler for your user to make the change, 


If you open "ms-settings:taskbar" in an explorer, you go directly to taskbar settings.  Not sure if there is an URI that goes directly to the icon in tray sub page.



This seems to bring out the old school tray icon settings, but I would assume that the days are numbered for that page.

"explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}"

Share this post

Link to post



Thanks for information

I will investigate a little more. Because I only have problems with renewal refresh explorer icon cache. I hope I will find a method 🙂 




"explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}" 


Shell execute list


Edited by Turan Can

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this