How to install Application remote from client machine to server machine using C#

Ssj_Kumar
Posted by Ssj_Kumar under C# category on | Points: 40 | Views : 831
Process objProcess = new Process();
objProcess.StartInfo.FileName = @"<<Parent path of PsExec.exe path";
objProcess.StartInfo.Arguments = @"psexec \\<<ServerName>> -u <<DomainName>>\<<UserName>> -p <<Password>> -i <<Path of EXE>> /passive";
objProcess.StartInfo.UseShellExecute = false;
objProcess.StartInfo.CreateNoWindow = true;
objProcess.Start();

Comments or Responses

Login to post response