From LedHed's Wiki
Jump to: navigation, search
(Created page with "Some times you need your application to launch with elevated permissions (UAC). <br> This can be accomplished by changing the following line in your .NET Projects '''app.manif...")
(No difference)

Revision as of 08:23, 4 March 2015

Some times you need your application to launch with elevated permissions (UAC).
This can be accomplished by changing the following line in your .NET Projects app.manifest file:

<requestedExecutionLevel level="asInvoker" uiAccess="false" />

to

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />



Reference

http://stackoverflow.com/questions/90674/how-does-a-program-ask-for-administrator-privileges