Modifying the service configuration

Use the SC command's Config option to modify the configuration of the Endeca Server service.

Before attempting to modify the service configuration, make sure that you have Administrator rights.

After you create the Endeca Server service with the SC Create command, you can use the SC Config command to modify the service configuration. Because both commands use the exact same set of parameters, any parameter that you set with SC Create can be modified with SC Config.

The format of the SC Config command is:
sc config serviceName optionName= optionValue...
where serviceName is the name of the existing Endeca Server Windows service to be modified.

When using the SC Config command, you specify only the parameter settings that will be changed. Any parameter setting that is not specified will remain as-is in the service configuration. Note that to change the service description, you must use the SC Description command.

To modify the Endeca Server Windows service:

  1. Stop the Endeca Server Windows service.
  2. Click the Start button in the Windows taskbar.
  3. In the menu, right-click Command Prompt.
  4. On the pop-up right click context menu, select Run as administrator.
  5. At the command prompt, enter the SC Config command with the service name to be modified and the parameters to be changed.
If the command was successful, the SCM will return this message:
[SC] ChangeServiceConfig SUCCESS