Use the SC command's Create option to create the Endeca Server Windows service.
Before running this create-service procedure, make sure that you have Administrator rights.
To create a Windows service for the Endeca Server:
[SC] OpenSCManager FAILED 5: Access is denied.
If you do receive this error, verify that you are a member of the Administrators group on the machine (for example, by using the Microsoft Management Console). If you do have Administrator rights, check that you are opening the Command Prompt with the Run as administrator option.
After the service has been created, you can use the SC Config command to change any parameter set by the SC Create command.