MartinaL Posted June 29, 2005 Share Posted June 29, 2005 I need to deploy a Desktop Short to around 70 remote computers, Is there a way of doing this?If there is a way, how Link to comment Share on other sites More sharing options...
egrath Posted June 29, 2005 Share Posted June 29, 2005 Hi,if you just need to create a desktop shortcut on the remote computer i would suggest you to use these two tools in combination:*) Psexec (www.sysinternals.com)*) Shortcut.exe (attached)Wrap a nice little script around these and run it.Example:psexec \\hostname -c shortcut -t C:\Windows\system32\cmd.exe -n "C:\Documents and Settings\All Users\Desktop\Prompt"Hope that helps,Egonshortcut.exe Link to comment Share on other sites More sharing options...
MartinaL Posted June 29, 2005 Author Share Posted June 29, 2005 Thanks heaps. But when i try to run this line from a cmd prompt I get the following error "the specified application is not on the path" Link to comment Share on other sites More sharing options...
Yzöwl Posted June 29, 2005 Share Posted June 29, 2005 If you're PCs are on windows 2000 you may need to replaceC:\Windows\system32\cmd.exewithC:\WINNT\system32\cmd.exeor you could always try it without the location as it will be in the PATHcmd.exe Link to comment Share on other sites More sharing options...
MartinaL Posted June 30, 2005 Author Share Posted June 30, 2005 Alright so I found the problem, I had to put shortcut.exe in the same folder as psexec.exe and change the location of the command line to where they where located so;X:\Utilities\PsTools>psexec \\hostname -c shortcut -t C:\Windows\system32\cmd.exe -n "C:\Documents and Settings\All Users\Desktop\Test"Anyhow, so I want to run this from a batch file so I can feed in the list of around 70 "hostnames" and it will run on each, any ideas?? Link to comment Share on other sites More sharing options...
MartinaL Posted July 6, 2005 Author Share Posted July 6, 2005 I finally got this to work, but I need to run it to add a link to a document not a program, is this possible?This is the line I am using and it is not working;psexec \\aws0359 -c shortcut -t "\\hvws10\Data\Shared Access\Marketing Activity Plan\AWS Marketing Activity Plan.xls" -n "C:\Documents and Settings\All Users\Desktop\AWS Marketing Activity Plan" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now