You are here: About the Sentinel RMS Utilities > lslic

lslic - Install/Delete a License Code

The lslic utility installs or deletes a license. lslic can be run on supported version of Windows and UNIX. It can be run from the operating system command prompt by an administrative user on a stand-alone, client, or License Manager computer. It works for both stand-alone and network computers.  Use lslic in the following format:

lslic [option]

lslic Options

Option Description

Add to License Manager only - Change is temporary until the License Manager is restarted.

-a license-code

Adds a license code to the contacted License Manager without updating the license file.

-f filename

Adds all the license codes in the supplied file to the contacted License Manager without updating the license file (lservrc).

Add to License Manager and normal/redundant license file - Change is permanent

-A license-code

Adds a license code to the License Manager’s license file (lservrc) and communicates the change to the contacted License Manager.

-F filename

Adds all the license codes in the supplied file to the License Manager’s license file (lservrc) and communicates the new information to the contacted License Manager.

Remove license from License Manager only - Temporary change

-df  feature_name feature_version [capacity | NOLIMIT]

License(s) with specified feature name and version are deleted from the License Manager memory.

-removeall

Removes all license codes (redundant and non-redundant) from the License Manager but does not delete them form the license file.

-removeallcap [feature version]

Removes capacity for specific license from the License Manager but does not delete them from the license file.

Remove license from License Manager and license file - Change is permanent

-DL feature-name
feature version
license hash
[capacity | NOLIMIT]

License with specified feature_name, version and license hash is deleted from the License Manager memory and file.

Tip

The license hash can be obtained using the lsmon utility.

Set trial license precedence

-p feature-name
feature version
license hash
precedence

Sets the precedence of a trial license. The license hash can be obtained from WlmAdmin or lsmon.

To pause the lslic utility

-p

Pauses the utility and then shows the output in another console. Only for Windows Vista, 7, and Server 2008.

Tips on Using lslic