--- title: "License Automation/Command Line Activation" slug: "license-automationcommand-line-activation" description: "The Lasernet License Manager is extended with a command-line interface for automating, installing, and removing instances, as well as activation and deactivation." tags: ["Lasernet Developer", "Lasernet license"] updated: 2026-09-24T17:13:27Z published: 2026-09-24T17:13:27Z canonical: "kb.lasernetgroup.com/license-automationcommand-line-activation" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # License Automation/Command Line Activation **Applies to:** Lasernet 7.1 and later, Lasernet 8, Lasernet 9, and Lasernet Core 10 > [!NOTE] > Note > > This article describes a software version that is no longer supported. Although the software will no longer receive updates or technical support, existing documentation, such as this article, will be retained for reference purposes but will no longer be updated. If you have any questions, contact [Lasernet Support](https://support.lasernetgroup.com/new-ticket). The License Manager is extended with a command-line interface for automating, installing, and removing instances, as well as performing activation and deactivation. This should help you automatically install and activate the software without forcing the end-user to run the Lasernet License Manager manually. It still requires a unique activation key that can be activated a limited number of times. The following features are supported: - Add an instance (requires name and port) - Remove an instance (requires name) - Activate an instance (requires name and activation key) - Deactivate an instance (requires name) - Activate all installed instances (requires activation key) - Deactivate all installed licenses (requires nothing; optionally, also deactivate Developer) - Activating Developer (if present) - Deactivate Developer (if present) To use Lasernet License Manager from the command line, it should be called from a console window such as `LnLicenseManager.exe <action> <parameters...>` and the folder to access is `C:\Program Files\Formpipe Software\Lasernet 10`. > [!NOTE] > Note > > The actions and corresponding parameters are described in the following table, and also in help (**LnLicenseManager.exe –help**). Install and activate cannot be executed on the same command line. | Arguments | Description | | --- | --- | | **Install** | Install a service. | | –name OR -n | Specifies instance name. Required. | | –port OR -p | Specifies port number. Required. | | **Uninstall** | Uninstall a service instance. If the instance is activated, deactivate it first (see **Deactivate**). | | –name OR -n | Specifies the instance name to uninstall. | | –all OR -a | Uninstall all service instances. | | –clean OR -c | Remove datafiles. Optional. | | **Activate** | Activate service instance or LN Developer (if present). | | –name OR -n | Specifies instance name. Use `LnDeveloper' for activating Developer. Required. | | –key OR -k | Specifies activation key. Required. | | –all OR -a | Activate all instances using the specified activation key. This option has no effect when activating Developer. Optional. | | **Deactivate** | Deactivate service instance or LN Developer (if present). | | –name OR -n | Specifies instance name. Use `LnDeveloper' for deactivating LN Developer. | | –all OR -a | Deactivate all instances. |