1.

Solve : Run exe on remote machine?

Answer»

How can I run an exe on a remote machine?

I can start the exe fine, but it executes on the machine the bat file is on, not the machine the exe is on.

Thanks!Quote

How can I run an exe on a remote machine?

I can start the exe fine, but it executes on the machine the bat file is on, not the machine the exe is on.

Thanks!

you can get psexec from http://www.sysinternals.com/Utilities/PsExec.html
or if your remote has TELNET server, you can write a telnet script and CONNECT to the remote
to execute your exeAlternatively, you COULD set up a scheduled task on the remote server which will execute the EXE under the user that has permissions to do so (or want).

From your server, you'd execute the statement "SCHTASKS /Run [/S system [/U username [/P password]]] /TN taskname[/b]"

Hope that helps you out.Solutions by Cameron and Ghostdog are good. Also look at the AT.EXE command, or even better, get SOON.EXE which is a FREE download from Microsoft.


Discussion

No Comment Found