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.
LVL 1
josephfreerAsked:
Who is Participating?
 
ajbrittonConnect With a Mentor Commented:
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:
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
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
JoeCommented:
Exactly. You have to point it to where the shortcut is too.

shortcut$ > should be set to your share.
0
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.