Discussion Forums/AA Console/Questions

Answered

Modify All Users Desktop shortcut

Lazaro Bello
asked this on February 26, 2010 09:33

Is it possible to change/modify an All Users Desktop shortcut to a new target?

Here’s the target of new shortcut.
"C:\Program Files\Java\jre1.6.0_07\bin\javaw.exe"

This is an old shortcut target:
"C:\Program Files\Java\jre1.6.0_06\bin\javaw.exe"

Thank you

 

Comments

User photo
Shane Corellian
Admin Arsenal

Certainly.

Add your modified shortcut file as an Admin Arsenal dependency. (see attached images)

Right click on your target computer or collection and select Tools\Remote Command.

Enter the command to copy the shortcut file. e.g. "copy java.lnk %public%\desktop /Y"

You can also enter a path without using environment variables. e.g. "copy java.lnk C:\Users\Public\Desktop /Y"

Add_Dependency.png

Remote_Command.png

February 26, 2010 09:35.
User photo
MB

I received the following error using the remote command.

Error running command: Error code: 1

The system cannot find the file specified.

April 14, 2010 19:32.
User photo
Shane Corellian
Admin Arsenal

Did you put the lnk file in the dependencies? Will you post a screenshot of your dependencies and the remote command result?

April 16, 2010 10:45.
User photo
Shane Corellian
Admin Arsenal

Make sure that the Include Dependencies check box is checked. Also, since your file name and target have spaces in the names you will need to enclose these with quotes.

e.g. copy "Lotus Notes 8.5.lnk" "C:\Documents and Settings\All Users\Desktop" /Y

April 16, 2010 14:53.