KeyRoutines
StepFreesystem.signOut

Sign out of Windows 11 automatically with a routine

Sign out ends your Windows session and goes back to the sign-in screen, closing your apps. It suits shared or family PCs where each person should leave the computer signed out.

How it works

  • A countdown notification comes first, 60 seconds unless you change it, up to 10 minutes, and 0 signs out at once.
  • Cancel on the notification stops it; the step succeeds and reports that it was cancelled.
  • Apps may ask to save; the advanced "close apps even with unsaved work" option signs out anyway.

Routines that use it

Shared PC time limit

At 21:00 an At a time routine shows Show banner "Signing out soon" and then Sign out with a 5-minute countdown.

Idle sign-out

When Idle fires after 30 minutes on a family PC, Sign out so the next person gets their own desktop.

End of shift

A hotkey closes work apps with Close app and signs out.

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

What's the difference between sign out and lock?
Lock keeps your apps running behind the lock screen. Sign out closes them and ends your session.
Can I sign out automatically after being idle?
Yes. Use the Idle trigger with the time you want and a Sign out step, ideally with a countdown.

Pairs well with

Build this routine in KeyRoutines

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