service.bat

Apache Tomcat provides the service.bat. It is used to manually install Tomcat as a service.

Administrator privileges are required to run this script.

Note: On Microsoft Windows Vista or any other operating system with User Account Control (UAC) you must either disable UAC or right-click on cmd.exe and select Run as administrator in order to run this script. If UAC is enabled, being logged on with an Administrator account is not sufficient.

Script Options

Install
Install the service using Tomcat as service name. Service is installed using default settings.
Remove
Remove the service from the system.
Name
(Optional) If the second argument is present it is considered to be a new service name.
Default Service Name
tomcat
Default Display Name
Apache Tomcat