Sharing Licensing - Always Return the Certificate to the Server

When licenses will be shared with multiple users, every user should configure their software to always return the certificate to the server whenever the application is closed.

Otherwise, the certificate will be retained on the user's machine when the application is closed, and will not be available to the other users.

This configuration may be performed as follows, depending on your application.

1. Setting this up in the Application:

a. For PSCAD v4.6.3 and Older:

Warning - If running multiple instances of PSCAD, the license will be returned for all instances.

Always return cert v4.6.3.png (218 KB)

b. For PSCAD V5, FACE, PRSIM, the PSCAD Initializer, and eMT:

This would be configured similarly to the following:

 PSCAD v5.1.0 - Return License.png (410 KB)

  • Set Certificate Behaviour to "Return certificate", and
  • Set Return on exit behaviour to "Return certificate when last instance exists" (if available).

Warning - If the "Return certificte when last PSCAD exists" setting is not selected, if running multiple instances of a product, the license will be returned for all instances for that one product.

c. For Enerplot, this would be configured as shown:

Enerplot v1.1.1 - Return License-1.png (76 KB)

  • Set Certificate Behaviour to "Return certificate", and
  • Set Return on exit behaviour to "Return certificate when last instance exists".

Warning - If the "Return certificate when last instance exists" setting is not selected, if running multiple instances of a product, the license will be returned for all instances for that one product.

2. Setting This up in the User Profile File:

It may be possible to create and run a script to set this configuration on multiple client machines. The following are some general steps for setting this up:

  • Install PSCAD on the client machines.

  • After each user has launched PSCAD and closed PSCAD on that machine, their PSCAD user profile will have been created.

  • The IT Team would then log that machine, and for each user profile on that machine, display their user profile file in a text file (e.g. WordPad or Notepad). The user profile files are located as follows:


-For PSCAD Products:
C:\Users\[USERID]\AppData\Local\Manitoba HVDC Research Centre\PSCAD

-For non-PSCAD Products:
C:\Users\Public\Documents\Manitoba Hydro International\Licensing\Settings

  • To set the product to always return the certicate to the server whenever the product is closed:

For PSCAD Products:

Locate and set the following parameter to 0 in the text file, as shown:

<param name="cl_exit_behaviour" value="0" />


For Non-PSCAD Products:

Locate and set the following parameter to Return in the text file, as shown:

<param name="ExitBehaviour" value="Return" />

  • Save and close the text file.

Note - The settings for this parameter are as follows:

    Behaviour             PSCAD Products    Non-PSCAD Products

    Return Certificate              0                        Return
    Prompt the User                1                        Prompt
    Retain Certificate               2                        Retain

Back