Remotely executing a batch file.

  • Thread starter Thread starter Roy Frye
  • Start date Start date
R

Roy Frye

I need to execute a batch file on a remote machine that
backups the remote machine. The problem that I have is
the batch file tries to run on the local machine, which
causes the backup to fail.

Any Thoughts??
 
I use the remote command server for such things. This is available in the
Windows 2000 Resource Kit. Do you have that? Another option is to AT the
task on the remote machine.

AT \\othermachine /every:M,T,W,Th,F,Sa,Su C:\file.bat

Ray at work
 
Roy said:
I need to execute a batch file on a remote machine that
backups the remote machine. The problem that I have is
the batch file tries to run on the local machine, which
causes the backup to fail.

Hi

In addition to Ray's suggestions:

A)
Take a look at PsExec.exe in the free PsTools suite, found at
http://www.sysinternals.com


B)
Another freeware program with similar merits to PsExec is Beyondexec.
http://www.beyondlogic.org/consulting/remoteprocess/BeyondExec.htm

Beyondexec also have multiple computer functionality.
 
Back
Top