Returning Licenses to GE Cloud Server or Local License Server

You can return licenses to the GE Cloud Server or the Local License Server using the command line or a batch file.

Verify the License Client is not running concurrently.
Note: You may return one or more activation codes by separating them with a semicolon. Do not use spaces between the activation codes.
  • To return licenses using 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. Return a license by entering:
      "Start/wait ProficyLicenseWizard.exe -Return=1111-1111-1111-1111;2222-2222-2222-2222"
      You should receive the following response:
      License(s) were returned successfully.

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

  • To return licenses using a batch file, enter your commands in the following format in your batch file:
    echo  off
    Start/wait  ProficyLicenseWizard.exe -Return=1111-1111-1111-1111;2222-2222-2222-2222
    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.