Remotely executing a batch file.

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

Ray at

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
 
R

Ray at

I forgot to include a time in my AT command in my previous post, I believe.

Ray at work
 
T

Torgeir Bakken (MVP)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top