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.

General Parameters

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 tab - A custom description can be provided on the Description tab to convey additional information or share special notes about a task step.

Error Causes tab - Specify how this step should behave upon the occurrence of an error. (Refer to Task Builder > Error Causes Tab for details.)

On Error tab - Specify what AWE should do if this step encounters an error as defined on the Error Causes tab. (Refer to Task Builder > On Error Tab for details.)

Example

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" />