AutoHotkey

How to Run AutoHotkey as Administrator

How to open and run AutoHotKey, Windows PC automation software, with administrator privileges and admin rights.

Shou Arisaka
1 min read
Nov 15, 2025

How to open and run AutoHotKey, Windows PC automation software, with administrator privileges and admin rights.

After investigating a bit because AutoHotkey wasn’t working on rpcs3, I found that the most likely cause of AutoHotKey not working with specific software is the presence or absence of administrator privileges.

So, to run an AutoHotkey script with administrator privileges from PowerShell:

Start-Process -Verb runAs AutoHotkeyU64.exe -argumentlist "C:\pg\autohotkey\tmp.ahk"

From Bash:

powershell.exe 'Start-Process -Verb runAs AutoHotkeyU64.exe -argumentlist "C:\pg\autohotkey\tmp.ahk"'

As a side note, even AutoHotkey running with administrator privileges couldn’t work on rpcs3. Grrr.

Share this article

Shou Arisaka Nov 15, 2025

🔗 Copy Links