title: Start exe file on remote machine
body: <p>I have a process a method that successfully stops the process.  But how can I start it? It is a .exe file that lays on the remote machines harddrive.</p>
  
  <pre><code>var ui = new ImpersonateUser();
  var processName = "notepad.exe";
  object[] processArgs = { @"C:\\WINDOWS\notepad.exe" };
  
  try
      {
          ui.Impersonate(Domain, _userName, _pass);
  
          ManagementPath path = new ManagementPath
          {
              Server = "serverName",
              NamespacePath = "\\ROOT\\CIMV2",
              ClassName = "Win32_Process"
          };
  
          ManagementScope scope = new ManagementScope(path);
          ManagementClass management = new ManagementClass(path);
  
          var query = new SelectQuery("SELECT * from Win32_process WHERE name = '" + processName + "'");
  
          using (var searcher = new ManagementObjectSearcher(scope, query))
          {
              foreach (ManagementObject process in searcher.Get())
              {
                  process.InvokeMethod("Terminate", null); //This work
                  Thread.Sleep(3000);
                  management.InvokeMethod("Create", processArgs); //doesnt work. Why ?
              }
          }
      }
  </code></pre>
  
  <p>How can I make the .exe start after I have shut it down?</p>