Check if running program has Elevated status Topic is solved

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
User avatar
pranavabe
Posts: 3
Joined: 29 Jan 2023, 00:29
Contact:

Check if running program has Elevated status

Post by pranavabe » 29 Jan 2023, 00:34

I've been looking for a way to check if a running process has Elevated status.

So far, I've tried out the solutions outlined under www.autohotkey.com/boards/viewtopic.php?t=26700, but the solution listed there seems to not work for AHK V2.

Could someone suggest an AHK V2-compatible method of checking if an app is running as an Administrator?

(For additional context, I am using Windows 11 Build 25281, and AHK v2.0.2, if that matters)

bl33pingcomputer
Posts: 32
Joined: 29 Dec 2022, 05:36

Re: Check if running program has Elevated status

Post by bl33pingcomputer » 29 Jan 2023, 03:49


Imagine a world without Wikipedia... remember to support the things that you want to see stick around and the causes that matter to you.


User avatar
pranavabe
Posts: 3
Joined: 29 Jan 2023, 00:29
Contact:

Re: Check if running program has Elevated status

Post by pranavabe » 29 Jan 2023, 12:26

Thanks a lot @jNizM. I found your V1 script while trying to find a solution to this problem, and tried converting it to V2 myself, but to no avail. I even went through your GitHub to try and find a V2 version, but I suppose I didn't look well enough considering it was there all along. Anyways, I appreciate the help a lot.

Thanks to @bl33pingcomputer too for linking jNizM's V1 script.

Post Reply

Return to “Ask for Help (v2)”