Hi all !

Today I will share a small tip to resolve when the systray act strangely with the icon cache.

The display I had was like that;

6-1.png

The problem seem to be with a corruption in that registry key value;

HKCU\Software\Classes\LocalĀ Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify

Ā 

The fix is simply to delete those two keys; with a script like that one;

regĀ deleteĀ "HKCU\Software\Classes\LocalĀ Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify"Ā /vĀ IconStreamsĀ /f

regĀ deleteĀ "HKCU\Software\Classes\LocalĀ Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify"Ā /vĀ PastIconsStreamĀ /f

Ā 

If you use roamings profiles it can become harder to fix, as it can be a widespread problem.

To resolve the issue I added a local user GPO the machines that are using the roaming profiles, as such all the profile will be corrected. I didn't used a domain user gpo, as the registry fix must be invoked before explorer.exe start, so I get a better result in a local user GPO.

6-2.png

Ā 

After that tip, all my systray icons are back to normal :)

Next Post Previous Post