Hi Guys, How do I start another process on a Remote machine? Say I was to run Regsvr32 /u somecomdll.dll on a remote machine - how would I do this? This is ofcourse with the assumption that I am an admin on that machine and can do this.
Basically I want to so the following on a remote machine: - snip - //this works fine on the local machine, how can I run on on say serverA? ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Environment.SystemDirectory + "\\regsvr32.exe"; startInfo.Arguments = "/u /s " + dllName; startInfo.CreateNoWindow = true; startInfo.WindowStyle = ProcessWindowStyle.Hidden; System.Diagnostics.Process.Start(startInfo); - snip - In the example above, I want to programatically unregister a COM dll on the target machine. Thanks in advance. Amit. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.