Deleting the Endeca Server Windows service

Use the SC command's Delete option to remove the Endeca Server Windows service.

Before deleting the service, make sure that you have Administrator rights.

The format of the SC Delete command is:
sc delete serviceName
where serviceName is the name of the service to be deleted.

To delete 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 Delete command with the service name to be deleted, as in this example:
    sc delete EndecaServer
If the command was successful, the SCM will return this message:
[SC] DeleteService SUCCESS
If the command was not successful, the SCM may return this message:
[SC] OpenService FAILED 5:

Access is denied.

If you do receive this error, first verify that you are a member of the Administrators group on the machine. If you do have Administrator rights, check that you are opening the Command Prompt with the Run as administrator option.