|
Logon |
Description
Controls how a task should function if the computer is in a locked or logged off state. Specifies under which user context a task should run when it is triggered (started automatically). By default, a task will run under the context of the user that's currently logged on. This indicates that if an Automate task were to launch an external application, the registry, mapped drives, application preferences and other settings would map to the user currently logged on. By specifying an alternate user, Automate can optionally map all user specific settings (including application preferences and settings) to the alternate user while the task is running. For more information, see About Task Logon Properties.
To access the Logon properties of a managed task, from Task Administrator's Tasks view, right-click the desired task and select Go to > Logon.
Practical Usage
Allows you to set the task to run under a particular user as well as specify how the task should behave depending on the current state of the workstation, whether it is currently logged on, logged off or locked. You can set Automate to logon a specified user if the workstation is logged off or unlock the workstation if it is currently locked before performing the steps of the task. Additionally, you can set Automate to run the task in the background, whether the workstation is currently logged on, locked or logged off.
Parameters
Property | Description |
---|---|
When workstation is logged on | If
the task is triggered while a user is logged onto the workstation,
Automate can run the task in one of three ways:
NOTE: This option should only
be used when you need to run a task that uses applications or
performs background tasks that require elevated security privileges
or settings different from the user currently logged on. |
When workstation is logged off | If the workstation is logged off
and waiting for a user to log in when the task triggers, Automate
can attempt to do one of three things:
|
When a workstation is locked | If the workstation has been locked,
either by a user, by the Lock
computer activity or by a screen saver, Automate can attempt
one of four procedures:
|
Specified user | When you choose to logon or
unlock the workstation using a specified user, you must define
exactly what user Automate is to use. The available options are:
|
Username | The default user name can be either a plain user name (for example, sparky), or a username/domain combination (for example, sparky@helpsystems.com). When the latter form is used, the domain field is disabled. This parameter is active only if the Specified User parameter is set to Use this user account. |
Password | The password to be used with the default user name specified above. This option can be blank if no password is associated with the selected user. This parameter is active only if the Specified User parameter is set to Use this user account. |
Domain or computer name | The domain or machine name the user is a member of. This option can be left blank if the user is not a member of a domain or if there is only one workgroup for the machine. These values are also used to replace the special fields of the Logon and Unlock Keystrokes used when logging on or unlocking a workstation. See the "See Also" section for more information. This parameter is active only if the Specified User parameter is set to Use this user account. |
Run with highest privileges | Enabling this option automatically
sets the task to run with elevated privileges. (This parameter
is disabled by default). NOTE:
New tasks can be automatically set to run with highest privileges
by enabling the option New
tasks use elevated privileges located
in Options > Preferences. |
Additional Notes
Running Tasks While System is Locked or Logged Off
When a Windows machine is logged off there is no current user, thus an option is also available to control how this condition is handled. The default behavior is to logon as the default user (specified in the Task Administrator under Default User properties) and run the task. You may also specify not to run the task at all, or to run as a specific alternate user.
The Windows security architecture prevents "interactive" events from being sent to applications while a machine is locked or logged off. Because of this, it is important to set the task to automatically log on if the task contains interactive actions such as Send Keystrokes or Click Mouse. However, running applications, FTP, and other background processes are allowed to be performed in the background. When in an unattended back-office environment, for security reasons, it is preferable for a task to run completely in the background without needing to perform a log on; however this is only possible if the task does not simulate user interaction. If unsure it is advisable to test the task both ways.