Force License Check-In (Windows)

You can use the lmutil command from a command prompt to check back a license. See the example below on how to do this.

  1. Go to the start menu and type CMD in the search field.

  2. In the command prompt you type in the following (v232 = ANSYS 2023R2)

     cd C:\Program Files\ANSYS Inc\v232\licensingclient\winx64
    
  3. Run the command below to see which licenses are checked out on the license server phonedc (replace with the name of your server)

     lmutil.exe lmstat -c 1055@phonedc -f
    
  4. The license status can look like below

    Users of ansys: (Total of 20 licenses issued; Total of 1 licenses in use)

    “ansys” v9999.9999, vendor: ansyslmd

    floating license

    jola magritte.medeso.local MAGRITTE (v2009.0929) (phonedc/1055 1234), start Fri 10/1 10:32

  5. To return the license you can run the following command

     lmutil.exe lmremove -c 1055@phonedc ansys jola magritte.medeso.local MAGRITTE
    

    It is important that you type in user, hostname and display exactly as they were stated above (use copy and paste)

    jola magritte.medeso.local MAGRITTE (v2009.0929) (phonedc/1055 1234), start Fri 10/1 10:32

  6. Check that the license is returned by displaying the status with the following command

     lmutil.exe lmstat -c 1055@phonedc -f
    

If the same user have checked out multiple instances of the same license you could try using the “handle” information (the number last in the display section). It would then be

lmutil.exe lmremove -c 1055@phonedc -h ansys phonedc 1055 1234

where phonedc is the license server name, ansys is the feature name for the license and 1234 is the handle number in the example above