run executable on remote machine

J

John Grandy

I need to start an executable (such as a batch file) on a remote machine.

System.Diagnostics.Process.Start() will not start a new process on a remote
machine ...
 
S

Steve Walker

John Grandy said:
I need to start an executable (such as a batch file) on a remote machine.

System.Diagnostics.Process.Start() will not start a new process on a remote
machine ...

Write a listener to run on the remote machine and start the executable
locally? Use WMI?
 
J

John Grandy

Hmmmm ... well, how does something like SMS or ActiveDirectory work ? How
do they remotely invoke software installs ? (or are the installation
processes actually run on the server and just manipulate the clients?)

What is WMI? Windows Management Instrumentation?
 
S

Steve Walker

Hmmmm ... well, how does something like SMS or ActiveDirectory work ? How
do they remotely invoke software installs ? (or are the installation
processes actually run on the server and just manipulate the clients?)

Don't know, not my thing.
What is WMI? Windows Management Instrumentation?

Yep.

Http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmi/ht
ml/mngwmi.asp

I've never really played with it, and it may have the same restrictions
on launching executables remotely as the .NET classes, but it's worth a
look.
 

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