// troubleshooting guide · autohotkey

How to Run an AutoHotkey Script at Startup

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

RUNBOOK · autohotkey/run-at-startup3 FIXES

// quick answer

Put a shortcut to the script in your Startup folder (shell:startup). Use Task Scheduler if it must run elevated.

Most likely fix: Add a Startup shortcut

How to fix it

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

  1. FIX 1Add a Startup shortcut

    1. 01Right-click the script and create a shortcut
    2. 02Press Win+R, enter shell:startup, press Enter
    3. 03Paste the shortcut into the folder
    Did this fix it?
  2. FIX 2All users

    1. 01Use shell:common startup instead (needs admin rights)
    Did this fix it?
  3. FIX 3Run elevated at login

    1. 01Open Task Scheduler and create a task triggered At log on
    2. 02Tick Run with highest privileges
    3. 03Action: start AutoHotkey with the script path
    Did this fix it?

Symptoms

Script is gone after reboot, or does not work in admin windows when started at login.

Why it happens

  • C-01No startup entry exists
  • C-02Script needs admin rights and the Startup folder runs it normally

// this guide also covers

  • autohotkey run at startup
  • autohotkey start with windows
  • autohotkey startup folder

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 →