// 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
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
FIX 1Add a Startup shortcut
- 01Right-click the script and create a shortcut
- 02Press Win+R, enter shell:startup, press Enter
- 03Paste the shortcut into the folder
Did this fix it?FIX 2All users
- 01Use shell:common startup instead (needs admin rights)
Did this fix it?FIX 3Run elevated at login
- 01Open Task Scheduler and create a task triggered At log on
- 02Tick Run with highest privileges
- 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 usOther AutoHotkey errors
- AutoHotkey v1 Script Not Working in v2
- AutoHotkey Error: This Line Does Not Contain a Recognized Action
- AutoHotkey Hotkeys Not Working in Admin Windows
- AutoHotkey Flagged as Virus by Antivirus
- AutoHotkey Anti-Cheat Errors and Bans in Games
- AutoHotkey Send and Click Not Working in Games
- AutoHotkey Modifier Key Stuck (Ctrl, Alt, Shift, Win)
- AutoHotkey Hotkeys Not Working on Non-English Keyboard Layouts