How to create a Windows Service for an EPAgent Process?

Document ID : KB000030390
Last Modified Date : 14/02/2018
Show Technical Document Details



To Configure EPAgent to run as Windows Service.


There is no explicitly supported method for running the EPAgent as a service on Windows, but there are a few ways to accomplish this: 


Some of the third-party tools to do this are listed below: 


Or, there are free alternatives, like below: 


Below are the instructions that have helped other customers to enable EPAgent to run as a service: 


1. Download a Java Wrapper from 


2. Extract to c:\ (C:\wrapper_win32_3.1.2 folder will be created automatically). 


3. Copy the following files to <ISCOPE_folder> 






4. Copy the following files to <ISCOPE_folder>\lib 





5. Copy C:\wrapper_win32_3.1.2\conf\wrapper.conf to <ISCOPE_folder>\config 


6. Update the following parameters in <ISCOPE_folder>\config\wrapper.conf 


# Java Classpath (include wrapper.jar) Add class path elements as 

# needed starting from 1 

# Java Classpath (include wrapper.jar) Add class path elements as 

# needed starting from 1\wrapper.jar\EPAgent.jar 

# Java Library Path (location of Wrapper.DLL or 

# Application parameters. Add parameters as needed starting from 1 

# Title to use when running as a console 

wrapper.console.title=EPAgent Wrapper Application 

# Name of the service 

# Display name of the service 

wrapper.ntservice.displayname=EPAgent Wrapper Application 

# Description of the service 

wrapper.ntservice.description=TEPAgent Wrapper Application Description 


7. Update the _WRAPPER_CONF environment variable in the following files: 




set _WRAPPER_CONF="%_REALPATH%\..\conf\wrapper.conf" 




set _WRAPPER_CONF="%_REALPATH%\config\wrapper.conf" 


8. Run <ISCOPE_folder>\InstallTestWrapper-NT.bat 


9. Open Start>Control Panel>Administrative Tools>Services, (the new service  "EPAgent Wrapper Application" will be displayed). 


10. Start new EPAgent Wrapper Application service.