Activating Licenses for a Non-Configurable Software Key

You can activate licenses for a non-configurable software key using the command line or a batch file.

Make sure the License Client is not running concurrently.
You may activate licenses for a non-configurable software key by using the DOS command line or a batch file.
  • To activate licenses from the DOS command line:
    1. Open a command-line interpreter window with Administrator privileges.
    2. Navigate to "c:\Program Files (x86)\Proficy\Proficy Common\Proficy Common Licensing\ProficyLicenseViewer"
    3. Activate a license from a non-configurable software key by entering:
      Start/wait ProficyLicenseWizard.exe -ActivateNonConfigSWKey="filepath\Filename.klic" -Password=Password

    You should receive the following response:

    "License(s) were deployed successfully."

    If there is an error executing the command, a message appears. For more details, see the Proficy License Client log file.

  • To activate licenses using a batch file, enter your commands in the following format in your batch file:
    echo  off
    Start/wait  ProficyLicenseWizard.exe -ActivateNonConfigSWKey="filepath\Filename.klic"  -Password=Password
    if  errorlevel 1 (
       echo  The command failed. Error code=%errorlevel%
      exit  /b %errorlevel%
    )
    echo  Success
    The command returns 0 when successful, or one of the error codes defined in the command return code table.