AutomationSecurityWindows, macOS, Linux

Lock devices and user accounts

Block user sign-ins by ending sessions and disabling accounts across platforms.

See what you’re importing.

1 trigger · 6 actions · Read-only preview

When any of these happen...
TagTag applied
Lock Tag Applied
Perform these actions...
SystemRun script
Windows - Lock Device
IF
LevelCreate alert
Windows Lock Device Failed
IF
SystemRun script
macOS - Lock Device
IF
LevelCreate alert
macOS Lock Device Failed
IF
SystemRun script
Linux - Lock Device
IF
LevelCreate alert
Linux Lock Device Failed
IF

Before you run it.

  1. Test Before Production

    Run the automation on a non-critical device to confirm successful lock without disrupting operations.

  2. Preemptive Setup

    Have the “Unlock” automation ready so you can reverse changes once the threat is cleared or the situation is resolved.

  3. Review Account Dependencies

    Ensure critical services won’t be impacted by disabled local accounts.

  4. Monitor Alerts

    Pay attention to any alert notifications if the lock cannot be fully executed.

More about this resource.

What it does

When triggered, either manually or by adding the “Lock” tag, the automation terminates all current sessions and disables user accounts across Windows, macOS, and Linux endpoints. It ensures that no new logins can occur while still allowing Level to maintain remote management capabilities. If a Windows device is part of a domain, the automation additionally locks all relevant Active Directory accounts for complete coverage. When the automation can’t fully lock a device, it automatically generates an alert, allowing prompt intervention.

When to use it
  • Immediate lock-down of lost or stolen endpoints
  • Rapid response to suspicious activity
  • Automatic lock triggered by policy or security event
  • Enforcing compliance for devices in high-risk environments
The problem it solves

This automation addresses urgent security risks by swiftly locking down endpoints, preventing unauthorized access, and stopping potential threats. When a device is compromised or at risk, it’s crucial to secure it remotely and immediately.

Frequently asked questions.

Does this break remote management?

No. Level retains management capabilities even after the device is locked.

What if I need to quickly restore access?

Use the companion “Unlock” automation which can automatically run when the “Lock” tag is removed, thereby reverting changes.

Will domain accounts be affected?

Yes, if the endpoint is domain-joined, the automation locks related Active Directory accounts.

Can I schedule this automation?

Yes. It can be triggered automatically or run on demand through your chosen policies.

Ready when you are.

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