Logon
Description
Gives the server instructions to run tasks under a particular user as well as specify how tasks should behave depending on the current state of the workstation. For example, 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 tasks to run in the background, whether the workstation is currently logged on, locked, or logged off. By default, these settings are inherited by all tasks unless they are set by way of the settings of an individual workflow or task. For more details regarding inheritance hierarchies, see Property Inheritance.
To access the Logon properties, select Options on the Server Management Console's navigation bar, and then select Default Properties > Tasks > Logon.
You can also access these properties in the Repository by right-clicking a task, and then selecting Go to > Logon.
- By default, these properties are inherited by all tasks on the system unless they are overwritten by way of the individual agent, workflow or task level. For more details regarding inheritance hierarchies, see Property Inheritance.
- In Windows, Automate will automatically log on or unlock a machine only when User Account Control (UAC) is enabled. UAC is a feature which aims to improve security by limiting application software to standard user privileges until an administrator authorizes an increase or elevation.
Running tasks while system is locked or logged off
When a Windows computer is in a logged off state, there is no current user, thus, Logon properties are available that allows you to control how this condition is handled. The Windows security architecture prevents "interactive" events from being sent to applications while a computer is locked or logged off. Because of this, Logon properties can be set to logon as the default user before running the task. In this scenario, Automate simulates the logon or unlock process in order to properly run tasks that contain interactivity related actions such as Send keystrokes or Click Mouse.
However, most operations such as FTP, Database, Cryptography, File System and Process related actions and activities can run completely in the background without needing to perform a logon. In such cases, you can set Logon properties to simply run in the background when the workstation is logged off or locked, which is the ideal setup for unattended back-office environments. Moreover, you may also specify not to run the task at all or to run as a specific alternate user.
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:
|
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, the Lock Workstation action
in Automate, or a screen saver, Automate can attempt one of three
things:
|
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. To do this,
choose one of two options:
|
Default user name | The user name to be used by default. The default user name can be either a plain user name (for example, sparky), or a username/domain combination (for example, sparky@fortra.com). When the latter form is used, the Default domain / machine name field is disabled. This parameter is only available if the Use specified user account option is selected under the Specified User parameter. |
Default 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 only available if the Use specified user account option is selected under the Specified User parameter. |
Default domain / machine 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. This parameter is only available if the Use specified user account option is selected under the Specified User parameter. |
Run with highest privileges | In Windows, when User Access Control (UAC) is enabled, a task requires administrator privileges to run. Enabling this option automatically sets the task to run with elevated privileges. This parameter is disabled by default. |