Creating Group Policy defined shortcuts to local programs

0

In one of our classrooms we have recently updates the SAP Client software. I am trying to create a GPO creating a shortcut on the machines that have this software installed. I have created a GPO and Mapped a shortcut as follows:

Action - Update (Have tried Create)
Name - SAPLogon
Target Type - File System Object
Location - Desktop
Target Path - "C:\program files\sap\sapsetup\setup\sal\saplogon.s8l"

All others are default although I have tried setting the Start In: path

Icon File Path - %systemRoot%\system32\shell32.dll
Icon index - 84

However every time I try this I do not get the Shortcut on the desktop. A Gpresult gives the error code 0x80070002 which is file not found. If I take the target Path and paste this into the "Create a new shortcut" windows on the local machine it resolves perfectly.

Is there something I'm missing. I've looked at the Technet articles and googled around but cannot find anything I'm doing wrong.

The DC is Server 2008 R2, machines are Windows 7

Any further details. - results of GPRESULT / screenshots etc please let me know

windows-server-2008
group-policy
shortcut
asked on Server Fault Sep 30, 2011 by Joe Taylor

1 Answer

1

Try the "Replace" action - in my experience, it'll hopefully be a little less flaky.

Also, is anything on the Common tab set? Specifically, the Apply once and do not reapply setting may explain why a Create action didn't work.

I've also had a situation (involving a UNC path target with additional arguments, if I recall) where the "Shortcuts" client-side preferences settings were altogether unable to do what was needed; in that case, I gave up and simply created a master .lnk file in a network share, and set a "Files" client-side preference to make a copy on the user's desktop.

answered on Server Fault Sep 30, 2011 by Shane Madden

User contributions licensed under CC BY-SA 3.0