title: How do I make a console app always run as an administrator?
body: <p>I have a console application that was developed to be called by a erp software.</p>
  
  <p>They call my app inside the erp and when they do it, i always get errors related to the insufficient permission to do it.</p>
  
  <p>I have checked the "run this program as an administrator" checkbox in the properties of the exe for all users but the result is the same.</p>
  
  <p>I have read something about adding a manifest that will make the app prompt for the uac dialog, but thats not what i want because the app will be called from erp on the server and clients will not see the dialog on server.</p>
  
  <p>Can someone explain me how to make this console app always run as administrator?</p>