Ansichten:

Behavior:
During installation, a DocuWare service is not registered on Windows. This can be completed manually.

Solution:
One option is to use Windows 'Tools SC.exe' from the Windows Resource Kit.
This tool has the advantage, that when it is used, the service information can easily be created and configured in the registration and the Service Control Manager database.
If you do not use this tool, you will need to manually configure the service by changing the entries in the registration and restarting the computer in order to make Service Control Manager updating its database.

*Note: Many of these commands require administrator authorization. Make sure that you are logged in as administrator on the computer on which the installation is taking place.

For example:
Registering Content Server Service.

sc create DWContentServer binPath= "C:\Program Files(x86)\DocuWare\Content Server\DWContentServer.exe" DisplayName="DocuWare Content Server" start="auto"

Next you need to allocate an user account using Windows Service Manager.
If you need to deregister a service, the following command can be used:


sc delete DWContentServer

Syntax:
sc [Servername] Command Servicename [Optionname= Optionvalue…]

The sc create command creates an entry for the service in the registration and in the Service Control Manager database.

Syntax:
sc [Servername] create Servicename [Optionname= Optionvalue…]

Parameter:

  • Servername (Optional): This specifies the name of the server if you want to run the commands on a remote computer. The name must begin with two back slashes (\), e.g. \\myserver. Do not enter this parameter if you run "Sc.exe" on a local Computer.
  • Servicename: <Provides the name of the service key in the registration. Make sure this is different from the display name, which you can see by going to net start and the "Services" option in the Control Panel. "Sc.exe" uses the service key name as primary ID for the Service.
  • Optionname: Through the "Optionname" and "Optionvalue" parameters, you can specify the names and values for optional parameters. Make sure that there is no space between the "Optionname" parameter and the equals sign. You can enter one or more name/value pairs for optional parameters, or leave them blank.
    • binPath= (string): Path name for the service binary file. There is no default value for these parameters. The string must be specified.
    • DisplayName= (string): String that can be used by the user interface to identify the Service.
    • start= boot, system, auto, demand, disabled: Start type for the service. Possible values include types used by drivers (default = demand).
  • Option value: Specifies the value for the "optionname" parameters. When entering a string, if empty quotation marks are used, an empty string will be entered. Make sure, that a space is left between OptionValue and the equals sign.

Further Links:
Further information on the "sc.exe" tool can be found in the "Sc-dev.txt" document in the Resource Kit. Resource Kit is a directory on the Windows installation CD. This document includes a detailed description of "sc.exe".
Microsoft Website: http://support.microsoft.com/kb/251192/EN-US