I like to make reusable mechanisms, and in this case I'd write a script that
takes parameters, which then produces a shortcut, rather than carrying
around a bunch of shortcut files and copying them across.

 

Take a look at WScripts Shortcut method for inspiration, or just hand-craft
your shortcuts and drop them in using XCOPY etc.

 

http://msdn.microsoft.com/en-us/library/xsy6k3ys%28v=vs.84%29.aspx

 

If you create yourself a reusable bit of code you can knock out zillions of
shortcuts without altering any package source files, just add another
Program invoking a command line, and pass in the paths and expected
parameters to the shortcut to produce a new one. Simple.

 

Robert

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Niall Brady
Sent: 11 November 2013 11:17
To: [email protected]
Subject: Re: [mssms] Deploy RDP Shortcut using SCCM 2012

 

i'd just use xcopy to copy the file(s) to the desired profile, something
like this perhaps

How can I copy files from a package using a task sequence
Not as straightforward as you think
<http://www.windows-noob.com/forums/index.php?/topic/2758-how-can-i-copy-fil
es-from-a-package> 

 

On Mon, Nov 11, 2013 at 12:12 PM, Bogdan Radu <[email protected]
<mailto:[email protected]> > wrote:

Hi Niall,

 

Thank you for your fast reply.

 

You mean, creating a separate package for example:
\\SCCMServer\Packages$\Applications\DesktopTools\Files2Copy
<file:///\\SCCMServer\Packages$\Applications\DesktopTools\Files2Copy> 

 

In Files2Copy folder ...copy the .rdp shortcut

 

And then create a program for example: Copy files to all Desktop

 

Using the command line: filecopy.bat C:\Users\Public\Desktop

 

Something like that maybe..

 

 

Is also possible to publish IE shortcuts with this method too ?

 

Cheers.

 

 

 

From: Niall Brady <mailto:[email protected]>  

Sent: Monday, November 11, 2013 1:00 PM

To: [email protected] <mailto:[email protected]>  

Subject: Re: [mssms] Deploy RDP Shortcut using SCCM 2012

 

have you tried...

creating the actual shortcut, then copy that file to a package and deploy it
to the desired user profiles desktop

 

On Mon, Nov 11, 2013 at 11:32 AM, Bogdan Radu <[email protected]
<mailto:[email protected]> > wrote:

Hello,

 

Anyone know a smart way of deploying a RDP Shortcut using SCCM 2012 ?

 

RDP Shortcut target should look like this: mstsc.exe /v:192.168.1.1

 

Thank you.

 

Regards.

 

 

 

 

 

 



Reply via email to