how to force a compiled script to run as admin?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
guest3456
Posts: 3463
Joined: 09 Oct 2013, 10:31

how to force a compiled script to run as admin?

22 Sep 2015, 09:35

sometimes you will notice executable icons that have the little UAC shield in the lower left of the icon, indicating that as soon as you click on it, the application will give you the UAC prompt, and you have no choice but to go through UAC, or otherwise choose not to use the program

if i wanted my exe to have this, how would i do it?

lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: how to force a compiled script to run as admin?

22 Sep 2015, 18:50

Modify the executable file's manifest resource to include the <requestedExecutionLevel level="highestAvailable" uiAccess="false" /> element.

Compile_AHK II has an option for this.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 339 guests