Re: remote machine execution



at my machine, i run psexec in the batch file which resides on remote
machines

psexec \\%1 "%remote_drive%:\%remote_dir_install%\Capinst.exe /AdvCli
/SLP=smsserver"

it does not seems to execute and error is:

Starting c:\sms_install_files\Capinst.exe /AdvCli /SLP=smsserver on <remote
computer>.

PsExec could not start c:\sms_install_files\Capinst.exe /AdvCli
/SLP=smsserveron
< remote computer>:
The system cannot find the path specified.

================================
why is this so ? i have admin permission over remote machines.







"Clay Calvert" <ccalvert@xxxxxxxxxxx> wrote in message
news:mmftc2d7f6q6u2gkkh8auov7phkem3n2i0@xxxxxxxxxx
On Tue, 1 Aug 2006 09:01:40 +0800, "James" <jkklim@xxxxxxxxxxx> wrote:

does psexec runs only for exe files instead of other extension ?

As in Michael's example, it will run .bat and also .vbs, etc.

I've never tried running a non-executing extension, but there is
always the Start command.

psexec \\computer %comspec% / start c:\file.txt

Clay Calvert
CCalvert@xxxxxxxxxxx
Replace "Z" with "L"


.



Relevant Pages

  • Re: remote machine execution
    ... The current problem in psexec is they cannot pass "=" sign over to remote ... machines. ... version of psexec. ... What happens when you execute the command line locally on machine ...
    (microsoft.public.windows.server.scripting)
  • Re: How to run a script on a remote host
    ... There is a utility called psexec to execute command on remote ... Those tools are a great addition to my library, but how would I execut a set of vbscript on a remote host, such as a simple MsgBoxwithout using logon script functions of AD? ... you can copy the scripts to the remote computers first and execute them. ...
    (microsoft.public.scripting.wsh)
  • Re: remote machine execution
    ... it does not seems to execute and error is: ... i have admin permission over remote machines. ... always the Start command. ...
    (microsoft.public.windows.server.scripting)
  • Re: Have user run a script with admin credentials
    ... psexec from sysinternals might work for you... ... PsExec v1.43 - execute processes remotely ... PsExec executes a program on a remote system, ...
    (microsoft.public.scripting.vbscript)
  • Re: remote shutdown
    ... Remote computer is on peer network, and I can ping the remote ... Those should work great - if you are a system administrator of the ... Two machines in a workgroup. ...
    (microsoft.public.windowsxp.work_remotely)

Loading