Share this page

# Install a license from the command line (Windows)

You can install seat or concurrent licenses on Windows machines 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:

    "<OpenText Functional Testing for Developers installation directory>\bin\HP.UFT.LicenseInstall.exe"

To install a seat license:

1. Run the License Installer, appending the following:

   seat "<license key string>"

   Example:

   "C:\Program Files (x86)\OpenText\Functional Testing for Developers\bin\HP.UFT.LicenseInstall.exe" seat "<key> \"UFT One Seat User"

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

2. If the license key file is saved locally, append the following:

   seat "<path to the license key file>"

   Note: Wrap the path to the license key file in quotes.

   Example:

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

To use a concurrent license:

Follow the instructions in the table below.

Action | Commands and parameters
--- | ---
Verify available licenses | Run the License Installer, appending the following: licenses <server name/address>:<port> [/tenantid:"xx" /tenanttoken:"xx"] The available licenses are displayed by unique ID and version. Example: "C:\Program Files (x86)\OpenText\Functional Testing for Developers\bin\HP.UFT.LicenseInstall.exe" licenses 11.11.111.111:5814 /tenantid:"tenant1" /tenanttoken:"6wxTn89A6BSr04c+nPYstA==" Default port for the server is 5814. 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 online documentation. /tenantid: The ID of an AutoPass License Server tenant. /tenanttoken: The token assigned to the tenant. Note: /tenantid and /tenanttoken are required only when you verify available licenses on a multi-tenant License Server.
Install a concurrent license | Run the License Installer to verify which licenses are available on the AutoPass server, as described above. The available licenses are displayed by unique ID and version. Run the License Installer again, this time appending the following command and parameters: concurrent <license ID> <license version> <server name/address>:<port> [/tenantid:"xx" /tenanttoken:"xx"] [/force] Example: "C:\Program Files (x86)\OpenText\Functional Testing for Developers\bin\HP.UFT.LicenseInstall.exe" concurrent 11.11.111.111:5814 /tenantid:"tenant1" /tenanttoken:"6wxTn89A6BSr04c+nPYstA==" /force /force: Optional, and saves the license installation information even if the current installation fails. In subsequent sessions, the listed license server is checked for the listed license.
Modify server connection protocol | Run the License Installer, appending: config protocol.primary <protocol> where <protocol> is http or https as needed.

See also:

- Install a license using the License wizard (Windows)

https://admhelp.microfocus.com Functional Testing for Developers 8942
Tips to improve your search results... OpenText™ Functional Testing for Developers Help Center OpenText™ Functional Testing for Developers Help 25.2 All View Local Help Center View Online Help Center Version: