Computer - Log off

Declaration

<AMLOGOFF FORCE="yes/no">

Description:

Logs off, thus, ending the Windows session for the current user.

Practical Usage

Example 1: Administrators could create and deploy a task with this action to force the system to Log Off at a certain time at night.

Example 2: A task could be built very easily that would Log Off the system quickly with just the press of a hot-key combination.

Parameters

General

Property

Type

Required

Default

Markup

Description

Force log off without notifying applications

Yes/No

No

No

FORCE="YES"

Is set to YES, specifies that the system should log off immediately without notifying and waiting for applications to return a message that they are ready to close. Set to NO by default.

Description

Error Causes

On Error

Example

NOTE: The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.

Description: Log off computer. Applications with unsaved changes will be forcibly closed.  

 

<AMLOGOFF FORCE="YES" />