AutomationSecurityWindows, macOS, Linux

Log out all users

End active user sessions after notifying users to save their work.

See what you’re importing.

1 trigger · 9 actions · Read-only preview

When any of these happen...
TagTag applied
Logout Tag Applied
Perform these actions...
NotificationsNotify user
Notify user: 'You will be logged out in 5 mins.'
IF
FlowDelay
Delay for 5 minutes
SystemRun script
Windows - Logout All Users
IF
LevelCreate alert
Windows Logging Out All Users Alert
IF
SystemRun script
macOS - Logout All Users
IF
LevelCreate alert
macOS Logout All Users Alert
IF
SystemRun script
Linux - Logout All Users
IF
LevelCreate alert
Linux Logout All Users Alert
IF
LevelRemove tags
Removing Logout Tag

Before you run it.

  1. Test the automation in a non-production environment to confirm session termination behavior.

  2. Notify users to save their work before running the automation.

More about this resource.

What it does

This automation forcefully logs out all users on a device. By terminating all sessions, it prevents unauthorized access and enforces compliance with device usage policies.

When to use it
  • Securing shared devices in public environments.
  • Resetting devices after use by multiple users.
  • Enforcing user session policies in sensitive areas.
The problem it solves

In shared or public device environments, lingering user sessions pose security risks. This automation ensures that no unauthorized users remain logged in.

Frequently asked questions.

Can this exclude specific users?

By default, no, all logged-in users will be logged out. You could modify the script to exclude users if desired.

Will the device reboot after logging out users?

No, the device remains on, but all sessions are terminated.

Ready when you are.

No credit card. No sales call. Just sign up and start managing.