Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.71 KB

customize-name-and-description.md

File metadata and controls

36 lines (27 loc) · 1.71 KB
title summary tags
Name and Description Properties for the API
How to configure the default values for the Name and Description properties of the ServiceControl API
ServiceControl
Configuration

The ServiceControl HTTP API exposes two properties that describe the ServiceControl installation:

  • Name: by default, the name of the machine where ServiceControl is installed
  • Description: a description of the ServiceControl service

Retrieve these two properties by issuing an HTTP call to http://localhost:33333/API/, which is the default HTTP endpoint where ServiceControl listens to requests.

You can customize the two values in several ways:

  • Modify ServiceControl configuration (see Customizing ServiceControl configuration) using the following command:

    x:\Your_Installed_Path\ServiceControl.exe --restart -d="ServiceControl/Name==YourFavoriteName" -d="ServiceControl/Description==ServiceControl service description"

    ServiceControl default installed location
    By default ServiceControl is installed in [Program Files]\Particular Software\ServiceControl.

  • Change the registry settings in the HKEY_LOCAL_MACHINE\SOFTWARE\ParticularSoftware\ServiceControl node, editing the Name and Description keys.

  • Change the regstry settings in the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ParticularSoftware\ServiceControl node, editing the Name and Description keys.

To apply the new configuration, restart the ServiceControl service.

ServiceControl checks all the locations for the Name and Description properties, in this order:

  1. Config file
  2. Registry 64
  3. Registry 32