Activating Licenses from the GE Cloud Server

Before you begin

Verify the License Client is not running concurrently.

About this task

You may activate licenses from the GE Cloud Server from the DOS command line or by using a batch file.
Note: You may activate one or more activation codes by separating them with a semicolon. Do not use spaces between the activation codes.

Procedure

  • To activate licenses from the 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 the Cloud:
      "Start/wait ProficyLicenseWizard.exe -ActivateFromCloud=1111-1111-1111-1111;2222-2222-2222-2222"

    You should receive the following response:

    "License(s) were deployed successfully."
    Note: 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 -ActivateFromCloud=1111-1111-1111-1111;2222-2222-2222-2222
    if  errorlevel 1 (
       echo  The command failed. Error code=%errorlevel%
      exit  /b %errorlevel%
    )
    echo  Success

Results

The command returns 0 when successful, or one of the error codes defined in the command return code table.