Registering the server as a Windows service
Register the server as a Windows service using the Windows command prompt.
About this task
Perform the following steps to register the server as a service:
Steps
-
Stop the server with
bin\stop-server.You cannot register a server while it is running.
-
To register the server as a service, from a Windows command prompt, run
bat\register-windows-service.bat. -
After registration, start the server from the Windows Services Control Panel or with the
bat\start-server.batcommand.Command-line arguments for the
start-server.batandstop-server.batscripts are not supported while the server is registered to run as a Windows service. Using a task to stop the server is also not supported.