// troubleshooting guide · autohotkey

AutoHotkey Hotkeys Not Working in Admin Windows

Status
Workaround available
platforms:
Windows
updated:
November 15, 2026
reports:
4
Method
how we research
Share

RUNBOOK · autohotkey/hotkeys-not-working-admin-windows3 FIXES

// quick answer

Windows UAC blocks normal scripts from elevated windows. Run the script with UI Access (best) or as administrator.

Most likely fix: Run the script with UI Access

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Run the script with UI Access

    1. 01Install AutoHotkey under C:\Program Files (use the installer, not a portable copy)
    2. 02Right-click the script and choose Run with UI access
    3. 03Or use `Run '*UIAccess "Your script.ahk"'`
    Did this fix it?
  2. FIX 2Run the script as administrator

    1. 01Right-click the .ahk file and choose Run as administrator
    2. 02Note that programs the script launches also run elevated
    3. 03Use Task Scheduler with highest privileges to avoid UAC prompts at startup
    Did this fix it?
  3. FIX 3Check for conflicting tools

    1. 01Close launchers or key tools that may grab keys
    2. 02Retest with only your script running
    Did this fix it?

Symptoms

Hotkeys, hotstrings and Send work everywhere except Task Manager, installers or apps run as administrator.

Why it happens

  • C-01UAC/UIPI prevents non-elevated programs from hooking or automating elevated windows
  • C-02Target app started with Run as administrator
  • C-03Another launcher or tool blocking key events while elevated

// this guide also covers

  • autohotkey not working admin
  • autohotkey uac
  • autohotkey ui access
  • autohotkey task manager hotkey

Still not working?

If AutoHotkey keeps failing, you're not alone. See every AutoHotkey problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch AutoHotkey Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

Other AutoHotkey errors

All 10 AutoHotkey errors and fixes →