Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Ansys Training
  • Consulting
  • About
  • Contact Support
  • Home
  • Installation

  • Troubleshooting

  • Errors & Solutions

  • How To's

  • Info

  • Remote Solve Manager

  • Employee Login

Can't find what you're looking for?

Contact Support

Ansys Installation & Licensing Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Installation
  • Troubleshooting
  • Errors & Solutions
  • How To's
  • Info
  • Remote Solve Manager
+ More

INFO - Ansys License Server Commands

Authored by Caleb Scharf September 17th, 2021 2841 views 2 likes KB956502

Description

Ansys has multiple utilities that can be run from the command line to gather useful information.  This can sometimes be faster than using the different Ansys GUI tools to perform these same tasks.  

Solution

  • You must have the Ansys Client or License server software installed on the machine for these commands to work.  
  • Run the commands in a Standard or Administrator command prompt‍. 


Important

  • You must replace the text XXX in the folder path with your appropriate Ansys version. 
    • For Example" use "211" for 2021 R1 or "212" for 2021 R2 or "221" for 2022 R1, etc.
  • You must replace the text YourLicenseServerName with your license server name.
  • If the command does not required you to specify a license server, it will use the license server specified in your client license settings‍.


#

Description

Command

Example
1
Show license server status, features and what computer is using them

(FLEXlm)

Same as seen in "Licensing Client Settings" or legacy "Client ANSLIC_ADMIN utility"
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\lmutil.exe" lmstat -a -c 1055@YourLicenseServerName
‍

2 Show server version, installed features and expiration dates 

(Licensing Interconnect)

Client Version 2020 R2 and Below*:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_util.exe" -statli 2325@YourLicenseServerName

Client Version 2021 R1 and Above**:

"C:\Program Files\ANSYS Inc\vXXX\licensingclient\winx64\ansysli_util.exe" -statli 2325@YourLicenseServerName

*Will return incorrect license server version if the License Server is running 2021 R1 

**Command does not work if the License Server is running 2021 R1

‍

3

Show license expiration dates, quantities, customer number and more.

(Licensing Interconnect)

Client Version 2021 R1 and Above:

"C:\Program Files\ANSYS Inc\vXXX\licensingclient\winx64\ansysli_util.exe" -printavail

Client Version 2020 R2 and Below:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_util.exe" -printavail
‍


4

Show license features currently in use and by who (not always helpful)

(Licensing Interconnect)

Client Version 2021 R1 and Above:

"C:\Program Files\ANSYS Inc\vXXX\licensingclient\winx64\ansysli_util.exe" -liusage

Client Version 2020 R2 and Below:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_util.exe" -liusage
‍


5

Test the checkout of a license feature/increment 

(Licensing Interconnect)

Client Version 2021 R1 and Above:

"C:\Program Files\ANSYS Inc\vXXX\licensingclient\winx64\ansysli_util.exe" -checkout dsdxm

Client Version 2020 R2 and Below:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_util.exe" -checkout dsdxm

*If needed, replace "dsdxm" with the license feature/increment of your choosing that exists in your license file.  Examples of common license features you may have:

  • Mechanical Products - "dsdxm" 
  • Fluid Products - "cfd_base" 
  • Electronics - "electronics_desktop" 
  • If needed, see HOW TO - Identify what license features you are attempting to checkout
  • The Product to License Feature Mapping Document‍ can also help here. 


6 Show currently specified license server(s) 

(Licensing Interconnect)

Structures/Fluids - Version 2021 R1 and Above*:

"C:\Program Files\ANSYS Inc\v211\licensingclient\winx64\ansysli_util.exe" -getlicpath

*Does not work if the License Server is specifically running 2021 R1.

Structures/Fluids - Version 2020 R2 and Below:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_util.exe" -getlicpath

Electronics

"C:\Program Files\AnsysEM\Shared Files\Licensing\winx64\ansysli_client.exe" -getlicpath

Motor-CAD:

"C:\ANSYS_Motor-CAD\Shared Files\Licensing\winx64\ansysli_util.exe" -getlicpath
‍

7 Show the help menu for additional commands

(Licensing Interconnect)

Client Version 2020 R2 and Below:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_util.exe" -?

Client Version 2021 R1 and Above:

"C:\Program Files\ANSYS Inc\vXXX\licensingclient\winx64\ansysli_util.exe" -?

8 Show the help menu for additional commands

(FLEXlm)
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\lmutil.exe" -?


commandscommand linecmd linecmd

Related Articles

INFO - Ansys Account Roles & Permissions

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

INFO - Ansys 3rd Party Software & Hardware Support

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Installation Guide (Start Here!)

Ansys Troubleshooting Guide

INFO - Ansys License Manager Overview & Requirements

HOW TO - Gather License Server Host Info

HOW TO - Change/Move License Servers

HOW TO - Gather Ansys Diagnostic Logs

Accessing the Ansys Customer Portal

Was this article helpful?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • HOW TO - Test & Fix License Manager Connectivity Issues
  • HOW TO - Gather License Server Host Info
  • ERROR - This type of license file must be appended...
  • HOW TO - Reset Ansys License Preferences
  • HOW TO - Change/Move License Servers
  • Accessing the Ansys Customer Portal
  • HOW TO - Uninstall Ansys Software
  • HOW TO - Create an Environment Variable

General Inquiries & Sales:

(800) 566-9190

Info@SimuTechGroup.com

Contact Support

  • Software
  • Services
  • Case Studies
  • Ansys Training
  • Consulting
  • Technical Support
  • About SimuTech
  • Careers
  • Privacy

© 2021 SimuTech Group

Definition by Author

0
0
Expand