Web Connector 25.2
Web Connector Help

# Install a Knowledge Discovery Component as a Service on Windows

On Microsoft Windows operating systems, you can install any Knowledge Discovery component as a Windows service. Installing a component as a Windows service makes it easy to start and stop the component, and you can configure a component to start automatically when you start Windows.

Use the following procedure to install Web Connector as a Windows service from a command line.

To install a component as a Windows service

1. Open a command prompt with administrative privileges (right-click the icon and select Run as administrator).
2. Navigate to the directory that contains the component that you want to install as a service.

3. Send the following command:

       Component.exe -install

   where `Component.exe` is the executable file of the component that you want to install as a service.

   The `-install` command has the following optional arguments:

   `-start {[auto] | [manual] | [disable]}` | The startup mode for the component. `Auto` means that Windows services automatically starts the component. `Manual` means that you must start the service manually. `Disable` means that you cannot start the service. The default option is `Auto`.
   `-username UserName` | The user name that the service runs under. By default, it uses a local system account.
   `-password Password` | The password for the service user.
   `-servicename ServiceName` | The name to use for the service. If your service name contains spaces, use quotation marks (") around the name. By default, it uses the executable name.
   `-displayname DisplayName` | The name to display for the service in the Windows services manager. If your display name contains spaces, use quotation marks (") around the name. By default, it uses the service name.
   `-depend Dependency1[,Dependency2 ...]` | A comma-separated list of the names of Windows services that Windows must start before the new service. For example, you might want to add the License Server as a dependency.

   For example:

       Component.exe -install -servicename ServiceName -displayname "Component Display Name" -depend LicenseServer

After you have installed the service, you can start and stop the service from the Windows Services manager.

When you no longer require a service, you can uninstall it again.

To uninstall a Windows Service

1. Open a command prompt.
2. Navigate to the directory that contains the component service that you want to uninstall.

3. Send the following command:

       Component.exe -uninstall

   where `Component.exe` is the executable file of the component service that you want to uninstall.

   If you did not use the default service name when you installed the component, you must also add the `-servicename` argument. For example:

       Component.exe -uninstall -servicename ServiceName

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Web Connector 25.2

Topic Title: Install a Knowledge Discovery Component as a Service on Windows