Lock Screen and Log Off User
Lock Screen locks the signed-in user's session on the selected computers. Log Off User signs that user out. Both run in the session of the user at the computer, and neither has a dialog.
Menu path
Endpoints > Endpoint List > select the computers > Change > Power and User > Lock Screen or Log Off User.
Confirmation
Each action asks once before it runs:
| Action | Confirmation |
|---|---|
| Lock Screen | "Lock the screen on the selected computers?" |
| Log Off User | "Log off the signed-in user on the selected computers? Unsaved work is lost." |

Effect on the computer
The agent finds the user session to act in. It takes the session at the physical console first. With nobody at the console, it takes the first active remote session.
| Action | What runs in that session |
|---|---|
| Lock Screen | rundll32.exe user32.dll,LockWorkStation |
| Log Off User | shutdown.exe /l |
A computer with nobody signed in fails with "No active user session found to launch in". The phases are Sent and Applied.
After you click Yes
The message reads "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Activity.
Undo
Neither action can be undone. After a lock, the user signs in again with their password. After a log-off, unsaved work in the session is lost.
Key points
- Both actions act on one session per computer. On a server with several remote sessions, the other sessions are left as they are.
- Use Lock Screen on a computer left signed in and unattended. Use Log Off User to end a session you need to close.
- To tell users first, send a message with Change > Power and User > Send Message to User. See Send Message to User.