We're looking at using a GPO to put a shortcut to a company web app on all users' desktops.
Different users are on different Windows versions, meaning the location varies:
c:\documents and settings\all users\desktop
c:\users\all users\desktop
c:\users\public\desktop
(confusingly nicknamedc:\users\public\public desktop
)
I can't find an environment variable for this; the most likely candidate is allusersprofile
, but this points to c:\programdata
(on my machine / windows 7 at least).
As such, I'm wondering what the best way is to make a GPO which will work on any of these machines?
Best Answer
If you want one GPO configuration for all types of OSs, then you must either use "%UserProfile%\Desktop" (and then the policy should apply on each user separately) or use a custom script.