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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JoeWeb Application DeveloperCommented:
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


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
JoeWeb Application DeveloperCommented:
Exactly. You have to point it to where the shortcut is too.

shortcut$ > should be set to your share.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

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?
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"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JoeWeb Application DeveloperCommented:
you will need to make a file share on your server to copy the shortcuts from.
josephfreerAuthor Commented:
ok thanks!
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.