• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1211
  • Last Modified:

Remote Deploy Desktop Shortcut

Is there a way to remotely deploy a shortcut (for an internet explorer page) to a user's desktop?

We are running a WindowsServer2000 as our domain controller with XPsp2 machines logging into the domain. There is currenty a small script deployed at login for mapping drives and printers and such.

I just dont want to have to go to 35 pc's and do this manaually if there is another way.
0
josephfreer
Asked:
josephfreer
  • 3
  • 3
  • 2
1 Solution
 
JoeCommented:
Hello josephfreer,


This should work for you. Just change it to your settings.

copy "\\yourserver\shortcuts$\yourlink.html.url" "c:\documents and settings\%username%\desktop" /y


Regards,

JoeZ430
0
 
josephfreerAuthor Commented:
You mean just add this to our existing script, changing the links to:

copy "\\foxdc01\shortcut$\foxnet.html.url" "c:\documents and settings\%username%\desktop" /y
0
 
JoeCommented:
Exactly. You have to point it to where the shortcut is too.

shortcut$ > should be set to your share.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
josephfreerAuthor Commented:
share as in the full path of the page (IIS folder burried somewhere) or just the name of that folder it is in?
0
 
ajbrittonCommented:
If you want to deploy the shortcut to all users on a particular PC, you could use the following command in a startup script;

copy /Y "\\server\share\folder\filename.url" "%ALLUSERSPROFILE%\Desktop"

If you want to deploy to individual desktops, you could use the following in a logon script;

copy /Y "\\server\share\folder\filename.url" "%USERPROFILE%\Desktop"

By using the %ALLUSERSPROFILE% or %USERPROFILE% environment variables, you protect against the possibility that profiles are not on the default path of "C:\Documents and Settings\username"
0
 
JoeCommented:
you will need to make a file share on your server to copy the shortcuts from.
0
 
josephfreerAuthor Commented:
ok thanks!
0
 
ajbrittonCommented:
When I do this, I don't actually create a share, but put the shortcutes in with the GPO. In this case you do not need to specify the \\server\share\folder in the first parameter.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now