title: how to run windows service as admin
body: <p>in my windows service i can not create file in <code>onStart</code> method give me an error</p>
  
  <p><strong>error In onstart method Access to the path 'C:\Program Files (x86)\Common Files\xxx\BridgeServiceLog.txt' is denied.</strong></p>
  
  <p>now how i can run my service as admin by code</p>