The Logout building block is used to perform the system logout as a LEAPWORK user on the Agent machine.

Fully expanded, the Logout block shows the following properties:


The Block Header (“Logout”)

The title of the block (“Logout”) can be changed by double-clicking on it and typing in a new title.

Force Logout

The Force Logout property will terminate the user session by killing its process.


A Failed property will be triggered if the system logout is not completed within the allocated timeout.



The maximum time spent by the Logout block to perform the lock operation before triggering the Failed property