How it works
- Pick the program or shortcut, and optionally add command-line arguments, a starting folder and how its window should open.
- Windows shows its usual UAC prompt every time; KeyRoutines never stores, skips or answers that consent for you, and it never runs elevated itself.
- The step waits while the prompt is open, for up to two minutes, and choosing No ends the step as cancelled.
- If the program is already running it is left alone by default, so running the routine twice doesn't ask twice; turn on "start another" if you really want a second copy.
Routines that use it
Hardware tools at sign-in
When KeyRoutines starts, a routine runs your fan or RGB control tool as administrator, then Window state minimizes it out of the way.
Elevated terminal on a hotkey
A hotkey runs Windows Terminal as administrator in your scripts folder, so an admin prompt is one press and one Yes away.
Maintenance session
A manual routine sets the power plan to High performance and opens your disk tool as administrator for a cleanup.
Settings
| Setting | What it does |
|---|---|
| App | The program or shortcut to start as administrator. |
| Start another | Start another copy (and ask again) even when it already runs. |
| Argumentsadvanced | Command-line arguments, one per item (a path with spaces is one item). |
| Working directoryadvanced | The folder the app starts in. |
| Start stateadvanced | How its window starts (apps that respect it). |
Good to know
- You must approve the UAC prompt each time; the routine can't do that for you.
- Games and Store apps can't start this way. Games start through their launcher with Open app.
Questions
- Can I run a program as administrator without the UAC prompt?
- Not with KeyRoutines. It always lets Windows show the UAC prompt, because skipping or storing that consent would weaken your PC's security.
- What happens if I click No on the UAC prompt?
- The step stops as cancelled and the program doesn't start. You can let the rest of the routine carry on by setting the step to continue on error.