Install licenses with the command line

Install and verify the statuses of seat or concurrent licenses directly from the command line.

Note: Installing licenses requires administrator permissions.

Run the License Installer, LicenseInstall.exe, as follows, appending the relevant command and set of parameters described below:

"<UFT or UFT Pro (LeanFT) installation directory>\bin\HP.UFT.LicenseInstall.exe"

Install seat licenses with the command line

Note: For details about using seat licenses in specific situations, see Installation and licenses.

Install a seat license:

  • Run the License Installer, appending the following: 

    seat "<license key string>"

    Example:  

    "C:\Program Files (x86)\HPE\Unified Functional Testing\bin\HP.UFT.LicenseInstall.exe" seat "<key> \" HP Unified Functional Testing"

    Note: If the license key contains a quotation mark character (") in the license key string, add a backslash character (\) before the quotation mark.

  • If the license key file is saved locally, run the License Installer, appending the following, wrapping the path to the license key file in quotes.

    seat "<path to the license key file>"

    Example:  

    "C:\Program Files (x86)\HPE\Unified Functional Testing\bin\HP.UFT.LicenseInstall.exe" seat "Downloads\HPE UFT-licfile.dat"

Back to top

Install concurrent licenses with the command line

Verify available licenses on the AutoPass License Server

Run the License Installer, appending the following:

licenses <primary server name/address>:<port> [<secondary server name address>:<port>]

Note: secondary server name/address and port are optional.

The available licenses are displayed by unique ID and version.

Example:  

"C:\Program Files (x86)\HPE\Unified Functional Testing\bin\HP.UFT.LicenseInstall.exe" licenses 11.11.111.111:5814

Install a concurrent license

  1. Run the License Installer to verify which licenses are available on the AutoPass License Server, as described above.

    The available licenses are displayed by unique ID and version.

  2. Run the License Installer again, this time appending the following command and parameters:

    concurrent <license ID> <license version> <primary server name/address>:<port> [<secondary server name/address>:<port>] [/force]

    The address format must be identical to the one used in the Main tab of the AutoPass License Server Configuration pane. For details, see the Autopass License Server User Guide , downloaded with your AutoPass License Server installation.

    • Default port for the primary and secondary servers is 5814.
    • /force saves the license installation information even if the current installation fails. In subsequent sessions, UFT or UFT Pro (LeanFT) will check the listed license server for the listed license.

    Note: secondary server name/address, port, and /force are all optional.

    Example:  

    "C:\Program Files (x86)\HPE\Unified Functional Testing\bin\HP.UFT.LicenseInstall.exe" concurrent 11.11.111.111:5814 /force

Modify server connection protocol

Run the License Installer, appending:

  • Primary license server: config protocol.primary <protocol>
  • Secondary license server: config protocol.second <protocol>

where <protocol> is http or https as needed.

Back to top

See also: