AutoHotkeyTools · Guides · Download

Run an AutoHotkey Script at Windows Startup

By AutoHotkeyTools Editorial Team · Updated October 6, 2026

Quick answer: Use the Startup folder or Task Scheduler to launch an AutoHotkey v2 script automatically after sign-in.

Choose the startup method

The Startup folder is simplest for scripts that should run after an interactive sign-in. Task Scheduler is better when you need a delay, elevated privileges, or tighter conditions.

Startup folder workflow

  1. Confirm the script runs normally.
  2. Create a shortcut to the script.
  3. Open the current-user Startup folder and place the shortcut there.
  4. Sign out and back in to verify behavior.

Troubleshooting

If the script depends on an application, add a short wait or use a window-aware condition instead of assuming the app is ready immediately.

Frequently asked questions

What is the first thing to check?

Use the Startup folder or Task Scheduler to launch an AutoHotkey v2 script automatically after sign-in.

Does this apply to AutoHotkey v2?

Yes. This guide is written with AutoHotkey v2 as the default unless a legacy behavior is explicitly mentioned.