Automating Software Activation
- Updated2024-09-25
- 2 minute(s) read
Automating Software Activation
If you are a license administrator, or are responsible for transferring NI softwares to end users, you can automate software activation and add volume license servers.
To do so, run License Manager from the command line or from a batch file using NILicensingCmd.exe.
- For 64-bit computers: Program Files (x86)\National Instruments\Shared\License Manager\NILicensingCmd.exe
Software Activation Command-Line
Flags
Below is a table containing common command-line flags associated with software activation. You can see descriptions of the License Manager command-line flags by entering the command NILicensingCmd.exe /help.
Flag | Description | Syntax | Example(s) |
---|---|---|---|
/activateall |
Launches the Activate Software window. This command is equivalent to clicking the Activate Software button in NI License Manager. |
NILicensingCmd.exe /silent /activateall /serialnumber <serial number> | NILicensingCmd.exe /silent /activateall /serialnumber A11B11C11 |
/activate /type package |
Launches the Activate Software window with a preselected package or family. These commands are equivalent to right-clicking on software or family in License Manager and selecting Activate Software. |
NILicensingCmd.exe /activate /type package /name <packagename> /version <version> /serialnumber <serial number> | NILicensingCmd.exe /activate /type package /name LabVIEW_PDS_PKG /version 17.0000 /serialnumber A111A1A11 |
/activate /type family | NILicensingCmd.exe /activate /type family /name <familyname> /serialnumber <serial number> | NILicensingCmd.exe /activate /type family /name LabVIEW_ADE_170000 /serialnumber A12B12345 | |
/silent |
Activates a software silently.
Note This command requires an
Internet connection that allows access to the NI website over an encrypted web
connection (https). Serial numbers are optional for silent activation. If you log into your NI User Account before running command-line arguments, License Manager checks your account for any necessary software licenses. Silent activation fails if you:
Note If silent activation fails,
no error message appears so that your remaining automation scripts are not
interrupted. You must manually activate the failed activations before you can
use your software.
|
NILicensingCmd.exe /silent /activate /type package /name <packagename> /version <version> /serialnumber <serial number> | NILicensingCmd.exe /silent /activate /type package /name LabVIEW_PDS_PKG /version 9.0000 /serialnumber A111A1A11 |
/addservers |
Silently points a computer to a volume license server to check out licenses. This command is equivalent to selecting to add a volume license server. |
NILicensingCmd.exe /addservers servername[:portnumber][,servername[:portnumber],...] |
|
In This Section
Related Information
- Activating Software
Activate software products using NI License Manager.
- Setting up Volume License Server Access
Use License Manager to enable the use of a volume license server.
- NI Volume License Program for Software