How to lock the screen with robot

Hi community,

is that possible to let the robot lock the screen by itself? I want to use this, after the robot finished an execution to avoid unauthorized usage Windows account.

A send hotkey activity with WIN+L does not work.

I’m looking forward for your hints

Greetings

1 Like

Hi,
Launch CMD using start process/open application activity and pass the argument.
rundll32.exe user32.dll,LockWorkStation

6 Likes

Many thanks!! This solves the issue.

Greetings
Nico

1 Like