KeyRoutines
StepFreesystem.shutdown

Shut down your PC automatically with a Windows 11 routine

Shut down powers off the PC from a routine, after a countdown you can cancel. It's the classic end of a bedtime routine or of a long overnight job.

How it works

  • A notification counts down first, 60 seconds by default and up to 10 minutes, with a Cancel button; set it to 0 to shut down at once.
  • Cancel stops the shutdown and the step still succeeds, marked as cancelled, so the routine can carry on differently.
  • Apps can ask to save and Windows waits for an answer, unless you turn on the advanced "close apps even with unsaved work".

Routines that use it

Shut down after the download

When Download finished fires, Shut down with a 5-minute countdown so you can stop it if you're still around.

Bedtime

At 01:00 an At a time routine checks Idle for 20 minutes and shuts the PC down.

One-key end of day

A hotkey closes your work apps with Close app, then shuts down with the usual countdown.

Settings

SettingWhat it does
CountdownHow long the notification counts down before it happens (0 = at once). Cancel on the notification stops it.
ForceadvancedClose apps even when they have unsaved work. Off: apps can ask to save, and Windows waits for an answer.

Good to know

  • With the force option on, unsaved work in open apps can be lost.

Questions

How do I shut down my PC after a download finishes?
Use the Download finished trigger with a Shut down step. Give it a countdown so you can cancel if you're still using the PC.
Can I cancel a scheduled shutdown?
Yes. Press Cancel on the countdown notification and nothing happens; the routine knows it was cancelled.

Pairs well with

Build this routine in KeyRoutines

Free from the Microsoft Store for Windows 11 and 10. Pro is a one-time upgrade.