Startup Folder vs Task Scheduler for Running Macros at Sign-In

Two built-in loaders can start a macro at sign-in, and they differ on rights, delay and logging. This page helps you choose one in four questions.

NewSoftwares.net editorial teamPublished November 2026Last verified: November 20265 min read

Quick answer

Use the Startup folder for a macro tool that needs standard rights and no delay: one shortcut in shell:startup is enough. Use Task Scheduler when the program needs administrator rights, must wait before launching, or should leave a Last Run Result you can read. Do not run both for the same macro.

At a glance
Applies toWindows 10 and 11 loaders
Time needed2 to 8 minutes per method
DifficultyEasy for the folder, moderate for tasks
CostFree
Needs admin rightsFor all users and highest privileges
Last verifiedNovember 2026
Dark folder labelled shell:startup beside a clock face representing a scheduled sign-in task

Startup folder or Task Scheduler: the quick comparison

The Startup folder starts a shortcut at your sign-in with normal rights and no delay. Task Scheduler starts a task at log on, with an optional delay, optional highest privileges and a result you can read afterwards. The table puts the two side by side.

This is the supporting page for the choice made in the methods section of the main guide. The registry Run key is added as a third column because it does the same job as the folder.

Startup folder, Task Scheduler and registry Run key compared
QuestionStartup folderTask SchedulerRegistry Run key
When does it start?At your sign-inAt log on, at startup or on an eventAt sign-in
Can it wait first?NoYes, delay in mmmm:ss for ONLOGONNo
Administrator-level programSkipped by WindowsWorks with Run with highest privilegesSkipped by Windows
Who does it apply to?You, or everyone with shell:common startupThe account you set, or any userHKCU for you, HKLM for everyone
Can you see a result?NoLast Run Result and Last Run TimeNo
Setup timeAbout 2 minutesAbout 5 to 8 minutesAbout 5 minutes, plus a backup
VerdictDefault choiceChoose for rights, delays or logsRarely worth it
Two panels comparing a Startup folder shortcut with a Task Scheduler task by rights and delay
The two main loaders in one picture.

When the Startup folder is enough

The Startup folder is enough when your macro tool needs standard rights, no network and no log. A text expander, a clipboard manager and a hotkey launcher all fit that profile.

Its strengths are visibility and reversibility. You can open the folder, see every shortcut and delete one in a second. AutoHotkey’s own FAQ recommends the same route for scripts, and Microsoft documents the per-user path %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

When Task Scheduler is the better loader

Task Scheduler is the better loader when the payload needs administrator rights, must wait for something, or must prove that it ran. Its Create Task dialog exposes all three; the Basic Task wizard does not.

The command reference documents the delay as mmmm:ss, valid with ONSTART, ONLOGON and ONEVENT. It also documents /rl with LIMITED as the default and HIGHEST as the alternative. One wrinkle: Microsoft describes ONLOGON as “any user” in one paragraph and as the /ru account in another, so test it on a second account if more than one person uses the PC.

The four-question loader test

Four yes-or-no questions pick the loader: do you need administrator rights, a delay, every user on the PC, or a run log? One yes means Task Scheduler. Four noes mean the Startup folder is enough.

Four questions about rights, delay, users and logs that choose between the two loaders
The four-question loader test.
  1. Does the program need administrator rights?
  2. Must it wait for the network or another app?
  3. Must it start for every account on this PC?
  4. Do you want a record of when it ran?

For the all-users case, a second option exists: shell:common startup works without Task Scheduler but requires an administrator to add the shortcut.

One macro, two loaders: a worked example

To start one macro script from either loader, point both at the same file and change only the trigger. The shortcut route needs a paste; the scheduled route needs one command. Build only one of them.

Version A: the shortcut

Run dialog
shell:startup

Paste a shortcut to C:\Macros\daily.cmd into the window that opens.

Version B: the scheduled task

Command Prompt
schtasks /create /tn "Daily macros" /tr "C:\Macros\daily.cmd" /sc onlogon /delay 0000:30

Version B waits 30 seconds after log on. Everything else is equal, which is why the choice usually comes down to the delay.

Where the registry Run key fits

The registry Run key fits installers and managed deployments, not hand-built macro setups. It behaves like the Startup folder, hides in the registry and carries more risk if you edit it wrongly.

Microsoft lists the keys under HKCU and HKLM, with a Wow6432Node variant for 32-bit programs on 64-bit Windows, and warns to back up the registry first. If you inherit an entry there, document it and leave it alone.

Questions about the Startup folder and Task Scheduler

Which is better for a text macro tool, the Startup folder or Task Scheduler?

The Startup folder, in most cases. A text macro tool needs only to be running after sign-in, and a shortcut does that with no extra rights. Use Task Scheduler when the tool must run as administrator, wait for a network, or leave a record of each run.

Does the Startup folder support a delay?

No. Anything in the folder starts as part of the sign-in sequence, with no setting to wait. If a macro needs the network or a slow app first, build a Task Scheduler task with an At log on trigger and a delay.

Can both methods start the same macro?

They can, and that is the mistake to avoid. Two starts launch two copies of the tool, which doubles expansions or throws an error. Choose one loader per macro and delete the other entry before you test, then sign out once to confirm only one copy is running.

Do I need administrator rights to create a scheduled task?

For your own account with standard rights, usually not. For highest privileges, other accounts or all users, you do. Microsoft’s schtasks reference lists /rl highest and /ru as separate settings, so test the exact task on a standard account before you rely on it.

Where does Windows 11 keep the all-users startup folder?

Under %ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup. Open it with shell:common startup. Microsoft’s startup applications page lists it beside the per-user folder, and you need administrator rights to add to it. Anything placed there starts for every account that signs in on that PC, so use it with care.

Next step

If you pick the folder and want a ready tool for the macro itself, our free Windows tool is one option: the Macro Keys product page lists its text macros and hotkey launcher. The guide to starting Macro Keys with Windows shows its own setting. For problems after setup, see the repair guide.