Installazione e aggiornamento > Installation and Configuration Guide > Advanced Configurations > Configuring HTTP Server and Embedded Servlet Engine With Other Options > Running HTTP Server as a Windows Service
  
Running HTTP Server as a Windows Service
To set up Embedded Servlet Engine or HTTP Server to run as a Windows service, complete these instructions.
Running HTTP Server as a Windows Service
Instructions to configure HTTP Server as a Windows service have been provided using the HTTP Server Ant command and without the Ant command.
Without Ant
Execute this command from the Apache/bin directory:
apache -k install -n <ServiceName>
Where <ServiceName> is a unique name to reference this service.
If you have HTTP Server Ant installed, you can implement using the Ant command.
With Ant
Execute the Ant command from the HTTP Server root directory:
ant -f config.xml installService -DserviceName=<ServiceName>
Where <ServiceName> is a unique name to reference this service.
Uninstalling the HTTP Server Windows Service
Instructions to uninstall the HTTP Server Windows service have been provided using the HTTP Server Ant command and without the Ant command.
Uninstall without Ant
Execute this command from the <Apache>/bin directory.
apache -k uninstall -n <ServiceName>
Where <ServiceName> is the name you gave the HTTP Server Windows service when you created it.
Uninstall with Ant
Execute this command from the <Apache> directory.
ant -f config.xml uninstallService -DserviceName <ServiceName>
Where <ServiceName> is the name you gave the HTTP Server Windows service when you created it.