title: Execute EXE file to run command as administrator on restricted user
body: <p>I need to create File EXE when clicked by restricted user, it will execute command as administrator (Local Administrator )</p>
  
  <p>I used this code:</p>
  
  <pre><code>System.Diagnostics.Process.Start(@"C:\Test.bat", ".\\Administrator", Password,".\\");
  </code></pre>
  
  <p>Is there any way to run a command like:</p>
  
  <pre><code>netsh int ip set address "local area connection" static 192.168.1.16 255.255.255.0 192.168.1.1 1
  </code></pre>
  
  <p>without using batch file?</p>
  
  <p>also I have a problem with the same code when I use .msi Files. It doesn't work </p>
  
  <pre><code>System.Diagnostics.Process.Start(@"C:\Test.msi", ".\\Administrator", Password,".\\");
  </code></pre>
  
  <p>Any way to execute the msi files as administrator?</p>