Run SEGGER License Server as Windows Service

From SEGGER Knowledge Base [STAGING]
Jump to navigation Jump to search

The SEGGER Licenser Server executable can be wrapped to run as a Windows Service.

We recommend doing the configuration in user mode (not running as service) and switching to the Service afterward.

Configure the License Server in user mode (recommended)

Configure the License Server

  • Start the License Server executable with the command line option --admin and enter your user information.
  • When the License Server is configured, wrap the executable to run the License Server as a Windows Service.

To create the service, please refere to the following article: https://learn.microsoft.com/en-us/troubleshoot/windows-client/setup-upgrade-and-drivers/create-user-defined-service

Update the configuration directory of the license server

  • Create a new folder which will be used as the configuration directory. This directory must be accessible by the service.
  • Copy the extisting license file lic.sls from %APPDATA%\SEGGER to the new configuration directory.
  • Update the configuration directory for the License server. The configuration directory can be set by the command line option --configdir <PathToDir>.
  • Command line options for the service can be added via the Registry String value AppParameters:


  • Start the created License Server Service.

Configure the License Server while running as service

The configuration can also be done while running as service:

  • Wrap the executable to run the License Server as a Windows Service.

To create the service, please refere to the following article: https://learn.microsoft.com/en-us/troubleshoot/windows-client/setup-upgrade-and-drivers/create-user-defined-service

  • Start the License Server with the command line option --admin to enter your user information.
  • Command line options for the service can be added via the Registry String value AppParameters:


  • Start the created License Server Service to configure the License Server.