New answers tagged user-profile
The correct environmental variable is %DesktopDir% for the current user, and %CommonDesktopDir% for all users. Group policy environmental variables are different than the standard environmental variables. You can see a list of all of them by pressing F3 in any text field:
There is common desktop that you can use to populate files, shortcuts, etc for all users. Change your target to C:\Users\Public\Desktop. Unfortunately, the only all userprofile variable is %allusersprofile% in my environment it points to c:\programdata which is not useful.
Top 50 recent answers are included