Remote start up

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Does anyone have a C# example either in managed code or using WMI on how to start a process on a remote computer?
 
Hi Peter,

Thanks for posting in this group.
You can use "Process Class" in .Net to invoke a remote process.
But you should have the enough permission on remote machine.
There will be some sample code in Process class's document in MSDN, you can
go and check it.

If you wanted more complicated control on remote machine process, you can
use named pipe to communicate.
The article below use VC6.0 and Named Pipe to execute applications on
remote systems:
http://www.codeguru.com/network/xCmd.html

The sample below install an application on remote machine and use remoting
to communicate:
http://www.codeguru.com/cs_network/RemoteProcessManager.html

Hope this helps,

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Thanks for your help!

After thinking about it I think the best solution is to use Remoting since
the App on the remote computer is a GUI application.
 
Back
Top