Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You find yourself in a situation where you may want your app to run with privileges. In this case you want the app the prompt for elevation when its started. You could have the user just alt-click and runas administrator or you can put it in the manifest.
Short answer:
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
</requestedPrivileges>
</security>
Long answer:
From https://msdn2.microsoft.com/en-us/library/aa480150.aspx
Technorati tags: vista, elevation, privileges