Prevent users from pinning a certain application to Taskbar?

Don
Joined
21 Oct 2002
Posts
46,828
Location
Parts Unknown
Windows 7. Roaming Profiles.

Let's say we have programa.exe, it's shortcut looks like this.

Computer A
C:\folder\programa.exe -ID=101

On the next computer it would be..

Computer B
C:\folder\programa.exe -ID=102


If a user pins the shorcut from Comuter A to their Taskbar, when they login to Computer B, they will have ID=101 pinned to their Taskbar.

Can anyone think of a good way to prevent this single application from being pinned (removing the pin on login would be fine)
 
Can you not bodge it with an environment variable?

i.e. as an example C:\folder\programa.exe "-ID="%username%

but replace username with a per machine set environment variable.

These ID's are subject to change every now and then, less of a pain to just edit them manually. Why oh why don't they use ini files
 
Back
Top Bottom