This document guides you through the new installation of a Windows agent.
The Windows agent can be used for 32-bit and 64-bit. Each version is identified using a three-digit abbreviations. These abbreviations are used in the agents' file names, and are described in theTerminology. In this document, the specific abbreviation is replaced by "???."
64-bit Windows platforms: Automic recommends installing a 64-bit agent if you intend to start 64-bit programs and applications through it. Using a 32-bit agent for this purpose may cause problems.
The following guide describes how to install an agent in an AE system in which authentication is not used. Additional installation steps are required before the agent can be started and used, if you intend to use one of the available authentication methods. More detailed information is provided in the document Advanced Security.
Automic strongly recommends installing the agent in a separate directory (such as C:\AUTOMIC\AGENT\WINDOWS).
You find the files of the Windows agent in the directory IMAGE:AGENTS\WINDOWS.
Other files from this subdirectory are components of the installation program and the AE runtime system. See: Knowledge Base.
The CallAPI files and CallAPI implementation are described in a separate document.
Automic's system-wide email connection can be implemented using a Windows agent. Detailed information about setting up this email connection is provided in the Knowledge Base.
1. |
Installing the Microsoft Visual C++ 2010 Redistributable Package |
---|
This installation step can be ignored if the package is already available in the required version. Refer to the Control Panel -> Add or Remove Programs to see if the package is installed, and if so, which version.
2. | Installing the Agent |
---|
3. | Setting up the system environment |
---|
*) This right is only required if you start jobs by using the start option "logon as batch user".
**) This right is necessary for the execution of job objects.
For the extended FileTransfer object (as of v9) this right is usually optional. It is necessary, however, when the agent transfers encrypted files with a file transfer because the agent uses the WinAPI "LoadUserProfile".
In Windows, the Local Security Policy can be called via the Control Panel -> Administrative Tools. Rights are defined in User Rights Assignment in the Local Security settings.
All Windows users that should execute "BAT"-type jobs required the right "Read & Execute" for the agent's "bin" and "temp" directory. Otherwise, an error message occurs when the job starts (Access denied). Doing so is only necessary if the agent's INI-file parameter LOGON=1 or the UC_HOSTCHAR_*'s setting ANONYMOUS_JOB is set to "N"..
4. | Starting the Agent |
---|
Use the ServiceManager to start or end the agent as a service.
5. | Shutting down the Agent |
---|
Below you will find more detailed information about additional rights that are required when you install the Windows agent as described above in the section "Setting up the system environment".
The Windows agent requires certain additional rights on Windows in order to be able to use the Windows APIs that are listed below.
The agent requires these rights in order to process file transfers and start jobs in different user contexts. Although users are defined in the Automation Engine jobs, the agent must still be able to log on with the privileges of the particular user, read user profiles and start Jobs, for example. Therefore, Automic recommends starting the agent via the Service ManagerThe Service Manager serves to start, stop and access components such as the Automation Engine processes or agents from a central point. as a SYSTEM user.
When you start the agent as a regular user, however, you should install it with the recommended additional authorizations in order to make sure that it can process the above tasks:
The right 'log on as a batch job' is required when the option "log on as a batch user" has been activated in the Windows Jobs of the AE system's Job objects.
Powershell configuration - File Backup or Rollback
In order to be able to execute Powershell commands for file backup or rollback refer to the settings in the Windows agent's INI file, keys ECPEXE= and ECPEXT=.
See also:
Configuring the Debugger for potential program failures