title: How to run a program from windows service with administrator privileges
body: <p>I created a windows service that runs a program on windows startup, but with this solution the program runs without administrator privileges. However, if I run the program by click on the program's shortcut on the Start menu, it runs with administrator privileges</p>
  
  <p>I used this code to run the program:</p>
  
  <pre><code>ApplicationLoader.PROCESS_INFORMATION procInfo;
  
  ApplicationLoader.StartProcessAndBypassUAC(program_name, out procInfo);
  </code></pre>
  
  <p>So how to run this program with administrator privileges?
  Thanks</p>