Knowledge Base > Automation Engine and Target Systems > Windows > Starting Programs Under Windows

Starting Programs Under Windows

Attributes

The following parameters are important when you start jobs under Windows:

Domain

Windows domain in which the userIn the Automation Engine, a user is an instance of a User object, and generally the user is a specific person who works with Automic products. The User object is assigned a user ID and then a set of access rights to various parts of the Automation Engine system and product suite. These access rights come in the form of Automation Engine authorizations and privileges, Decision user roles and EventBase rights and ARA web application object rights. You can manage all these centrally in the ECC user management functions. See also, Unified user management. is defined.

User Name

The Windows user nameName of the Automation Engine user..

Password

The user's passwordA secret combination of characters for a Automation Engine user..

BATCH (login type)

You can allow a user to use particular loginAn Automation Engine object type that stores account credentials used by agents on target systems. types. The login types interactive and batch can be used. For example, if a user is only allowed to log on via batch, this user can start jobs only in batch mode. The parameter BATCH must be specified in this case.

DESKTOP

This option should be specified if the jobAn Automation Engine object type for a process that runs on a target system. that should start expects particular user inputs. The process is then visible for any user who is logged in. This user can enter the required user inputs.

If this option is not specified and the process requires an input, the job hangs and can only be removed by using the taskAn executable object that is running. Tasks are also referred to as activities. manager.

Attributes are defined in the attribute cards of the job.

Attention

System Dependencies

Depending on the operating system and the agent's start type, there are the following dependencies that apply:

Agent

INI File User BATCH DESKTOP

Agent on desktop 

logon=0 1. 1.

1. 

Agent on desktop 

logon=1 2. 2.

2. 

Agent as a service 

logon=1 3. 3.

3. 

  1. Irrelevant, the system starts on the desktop using the user's name and rights.
  2. Is used - The desktop user must have the appropriate privilegesPrivileges in the Automation Engine refer to user rights to work with certain frontend and user interface functions. You grant privileges to users in the Automation Engine. (such as a system user).
  3. Is used.
  4. Note the following peculiarities:

    Strategy for Jobs under Windows

    Windows distinguishes four program types.

    1. Programs with a graphical UserInterfaceThis is the Automation Engine's graphical user interface. [Formerly called the "Rich Client", "RichGUI" and "Dialog Client."] (32-bit and 16-bit GUI programs).
    2. 32-bit console programs.
    3. Old DOS programs.
    4. Operating system commands (not a real program, for example, DIR, SET etc.).

    Types 1 and 2 (GUI and console programs) should be started from the command line if possible. The advantage is that AE can retrieve the correct program exit code.

    Type 3 and 4 (DOS programs and OS commands) can only be started through a BAT file. The job ends correctly or incorrectly using the Job Messenger mechanism.

    Automic recommends testing the BAT file or the command line on the target system before you start the job via the AE. Use the user who should later execute the AE if possible.

    Using  graphical programs can always cause unexpected user dialogs (message box). Automic recommends using the option DESKTOP for test runs.

    Job reportA report provides more detailed information about a task's execution or a component.: The program output after STDOUT and STDERR is the job report of a Windows job. Usually, only 32-bit console programs and most DOS programs create a job report.

 

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH