My Oracle Support Banner

Example of Installing the 12c Agent on 64 bit Windows Using the The AgentPull Script (AgentPull.bat) (Doc ID 1918878.1)

Last updated on NOVEMBER 28, 2023

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.


There are multiple different ways to install the Agent in Enterprise Manager 12c.  The most simple way is to deploy the agent from the console, but on Windows deploying the agent from the console requires cygwin to be present and setup on the Windows machine (where the agent is to be deployed).  If the administrator does not want to put cygwin on the windows machine, then other install methods can be used.  The full list of available methods is explained in :

Oracle® Enterprise Manager Cloud Control Advanced Installation and Configuration Guide
12c Release 4 (

This note shows an example of a silent installation using the AgentPull script (AgentPull.bat)

Installing the agent using AgentPull.bat involes a silent install of the agent which is not initiated from the console. The agent pull method is the simplest silent install method because it takes the minimum of input and uses default values. For example it configures the agent to use port 3872 by default. If the agent port needs to be changed, it can be done so (see later section). Note that this AgentPull.bat method relies on downloading curl to the machine where the agent will be installed (this is a mandatory but quick step).  Note that the method used to install the agent (silent vs deployment from the console) should not affect any operations which are performed at a later stage in Cloud Control.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1) Put curl on the machine where the agent needs to be installed. This is a mandatory step.
 2) Get the AgentPull.bat using the following steps
 3) Check that the correct agent platform is available to be downloaded from the OMS
 4) Install the Agent
 a) Create a response file
 b) Install the agent, using the following commands
 c) Locate the new agent home
 5) Possible Error Messages
 a) "ERROR: Invalid invocation. Enterprise Manager Login Password is empty."
 b) Warning: Couldn't read data from file "pswd.txt"  or password is null
 c) ERROR: Servlet ExceptionException : Agent image location passed is either null or is empty string.
 d) "ERROR: curl command failed." Invalid EM User
 e) ERROR: Agent Install Prereqs failed
 f) ERROR: Agent Configuration Failed

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.