VMware Horizon Community
TomH201110141
Enthusiast
Enthusiast
Jump to solution

How to save pinned tray-icons on taskbar

Does someone knows how to save the pinned tray-icons on the taskbar?

I don't find any Windows Common Setting to save them and monitoring the process of enabling the visibility is difficult - I tried it with Procmon but without success.

Thanks in advance!

0 Kudos
1 Solution

Accepted Solutions
lansti
Hot Shot
Hot Shot
Jump to solution

Okei, in my Taskbar Config file in DEM i keep these two:

[IncludeIndividualRegistryValues]
#Userchoise of applications that shows in the notification area.
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify\IconStreams

 

EnableAutoTray=1 in the predefined settings as default (will only run once if the user have the taskbar settings in their profile)
I assume you are looking for the IconStreams function.

Best regards
Lansti

View solution in original post

14 Replies
lansti
Hot Shot
Hot Shot
Jump to solution

I have a Taskbar setting in DEM looking like this:

[IncludeFolderTrees]
<AppData>\Microsoft\Internet Explorer\Quick Launch

[IncludeRegistryTrees]
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\StartMenu2\Programs
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage2
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist
HKCU\Control Panel\Desktop\PerMonitorSettings

[IncludeIndividualRegistryValues]
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarGlomLevel
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarSizeMove
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2\Settings
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3\Settings
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search\SearchboxTaskbarMode

 

When user pinned applications to task bar, they are located into:
<AppData>\Microsoft\Internet Explorer\Quick Launch\user pinned\taskbar

Registry settings remember if users want to hide search bar, monitor setting, if users want to bulk applications or not, etc...

But, i see that i.e Firefox will not work when my users logs on.

lansti_0-1662475381486.png


We are using appstack, and as you see 7zip and chrome works.
When i look into the shortcut lnk file, i see that Firefox is not running from %programfiles% folder, but from

C:\{00000000-0000-0000-0000-000000000000}\SVROOT\Program Files\mozilla firefox\firefox.exe"

Our appstacks are read-only. And Chrome, 7zip and Firefox are all running from the same appstack. Do not understand why...



Best regards
Lansti
0 Kudos
TomH201110141
Enthusiast
Enthusiast
Jump to solution

Thank you lansti for your reply. But what I'am looking for are the icons from the tray.

TomH201110141_0-1662980165150.png

Does someone know how to persist them?

 

0 Kudos
Mickeybyte
Hot Shot
Hot Shot
Jump to solution

@TomH201110141 

Do you have the "Windows Common Setting - Taskbar and list of recent items in use"? This one should be sufficient to save the state of all taskbar related preferences

Mickeybyte_0-1662992858772.png

 


Regards,
Mickeybyte (ITPro blog)

If you found this comment useful or an answer to your question, please mark as 'Solved' and/or click the 'Kudos' button, please ask follow-up questions if you have any.
0 Kudos
TomH201110141
Enthusiast
Enthusiast
Jump to solution

@Mickeybyte 

Yes, I use this seetings but it seems that they don't include values for saving the icons in the tray.

To make it more clear, I'am looking for these settings and how to make them persist.

TomH201110141_0-1663078525797.png

 

0 Kudos
Mickeybyte
Hot Shot
Hot Shot
Jump to solution

@TomH201110141 

I know it works if you set the "Always show all icons in the notification area", because I've used it before. But I have never done a selective choice of what should be visible and what not. I hope to have a look at it and do some testing in my lab to see what happens when I use selective choices.

 


Regards,
Mickeybyte (ITPro blog)

If you found this comment useful or an answer to your question, please mark as 'Solved' and/or click the 'Kudos' button, please ask follow-up questions if you have any.
0 Kudos
TomH201110141
Enthusiast
Enthusiast
Jump to solution

@Mickeybyte 

Yes, I agree with you that "Always show all icons in the notification area" works. But it would be great if the users can do a selective choice. 

Thanks for help!

0 Kudos
TomH201110141
Enthusiast
Enthusiast
Jump to solution

@Mickeybyte 

Did you have time to test it in your lab? 

Thanks in advance!

0 Kudos
lansti
Hot Shot
Hot Shot
Jump to solution

Okei, in my Taskbar Config file in DEM i keep these two:

[IncludeIndividualRegistryValues]
#Userchoise of applications that shows in the notification area.
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify\IconStreams

 

EnableAutoTray=1 in the predefined settings as default (will only run once if the user have the taskbar settings in their profile)
I assume you are looking for the IconStreams function.

Best regards
Lansti
TomH201110141
Enthusiast
Enthusiast
Jump to solution

Amazing - yes, "IconStreams" does the trick!! Thank you so much!

This is a reg-key which should be default in the built-in definitions for "Taskbar and list of recent items".

0 Kudos
Mickeybyte
Hot Shot
Hot Shot
Jump to solution

I thought I answered already here, but apparently not... I did test it, but couldn't find anything. 

Great info @lansti . Glad to see it's working now. 

@DEMdev Can this be included in the next DEM release?


Regards,
Mickeybyte (ITPro blog)

If you found this comment useful or an answer to your question, please mark as 'Solved' and/or click the 'Kudos' button, please ask follow-up questions if you have any.
0 Kudos
ctaveras
Contributor
Contributor
Jump to solution

Are these suppose to be blank every time you use then? 

0 Kudos
lansti
Hot Shot
Hot Shot
Jump to solution

What is blank?

Best regards
Lansti
0 Kudos
ctaveras
Contributor
Contributor
Jump to solution

Ignore me, user error lol

0 Kudos
alex17pat
Contributor
Contributor
Jump to solution

I have solved my issue by using registry editor.

0 Kudos