Open the Table of Contents

You are here: About the RMS License Manager > Configuring the License Manager

# Configuring the License Manager

When the License Manager is started, it can be configured in any of the following three ways.

# | Configuration Ways | How to Set? | Priority
--- | --- | --- | ---
1 | Set the command-line parameters | On Windows Using the lservnt Service Using the Windows System Registry On UNIX Using the lserv process | Many of the License Manager options can be set using all three methods. This flexibility of using more than one method helps in some situations, but it may also produce confusing outcomes. So, please note the following priorities to know the actual outcome. On Windows, the command-line switches (set through lservnt service) are checked first. If command-line options are used then any option set by LSERVOPTS will be ignored, however specific variables would be considered. The manner in which LSERVOPTS is considered same behavior would be applied to Windows System Registry. For example:
Command-line | LSERVOPTS | Specific Environment Variable
--- | --- | ---
Set the license file using this option | Set the anonymous usage logging using this option | Set the license file also by using the LSERVRC variable Set the License Manager UDP port using the LSPORT variable
Outcome:
Applied | Ignored | LSERVRC - Ignored LSPORT - Applied
If the command-line switches are not set at all then LSERVOPTS would have the higher priority for the options set over the specific environment variables. For example:
Command-line | LSERVOPTS | Specific Environment Variable
--- | --- | ---
Not used | Set the license file using this option | Set anonymous usage logging using the LS_LOG_ANONYMITY variable
Outcome:
Ignored | Applied | LS_LOG_ANONYMITY - Applied
2 | Set the LSERVOPTS environment variable | Setting Environment Variables
3 | Set specific environment variables |

Remember the following guidelines for configuring the License Manager:

- If you are running the License Manager on several computers you need to complete this procedure separately for each computer.
- The License Manager reads its configuration options only when the computer boots. Any configuration changes will require a system reboot to take effect.
- If full file pathnames are not specified while configuring the License Manager options, then the files will be created under the /System32 directory, by default.

## Steps to Configure the License Manager

In this section, the actual steps of using the various configuration options are described:

Setting Command-line Options Using the lservnt Service

Refer to lservnt for more details.

Setting Command-line Options Using the System Registry

In the Windows Registry Editor, create/update the value of "CommandLineOpts” under the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Rainbow Technologies\SentinelLM\CurrentVersion.

See the screenshot below for an example:

Setting Environment Variables

- The options that can be set using the LSERVOPTS environment variable are described here.
- The steps for setting environment variables are described here.

See Also:

Locate the License Manager Computer