From LedHed's Wiki
Revision as of 08:23, 4 March 2015 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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