Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Skills Center
  • Consulting
  • About
  • Contact Support
  • Home

  • Installation

      • Troubleshooting

          • Errors & Solutions

              • License Management

                  • Info

                      • Remote Solve Manager

                          • Employee Login

                          Can't find what you're looking for?

                          Contact Support

                          Installation & Licensing Center

                          • Home
                          • Installation
                            Installation Guides Installation Tasks Requirements & Info Optional Configurations Uninstallation
                          • Troubleshooting
                            Troubleshooting Guides License Manager Connectivity Issues License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Diagnostic Resources & Logs Other Tasks
                          • Errors & Solutions
                            Behavior Based Issues & Solutions Error Messages & Solutions
                          • License Management
                            FlexNet Licensing Shared Web Licensing Elastic Licensing Licensing Portal Administration License Borrowing Reporting & Usage Stats Other
                          • Info
                          • Remote Solve Manager
                          + More

                          INFO - Ansys License Server Commands

                          Authored by Caleb Scharf October 31st, 2022 13968 views 4 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" -?


                          Output Results to a Text File

                          There are two ways to output the results of a command to a text file. This can be helpful if you need to search or save the results.

                          1. Redirect to a text file sing the command line
                            1. Command Syntax  
                              1. SomeCommand > SomeFile.txt
                            2. Example Command (Update the Paths 
                              • "C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\lmutil.exe" lmstat -a -c 1055@YourLicenseServerName > "c:\temp\LicenseStatus.txt"
                          2. Select All Text > Copy > Paste
                            1. Drag and select all text with your cursor.
                            2. Press Ctrl+C to copy
                            3. Open Notepad
                            4. Press Ctrl+V to paste
                          commandscommand linecmd linecmd

                          Was this helpful?

                          Yes
                          No

                          4 out of 6 found it helpful

                          Related Articles

                          INFO - Ansys Account Roles & Permissions

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          INFO - Ansys 3rd Party Software & Hardware Support

                          Popular Articles

                          Ansys Download & Installation Guide (Start Here!)

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          HOW TO - Uninstall Ansys Software

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

                          ERROR - Hostid in the license file is not a valid hostid

                          Was this helpful?

                          Yes
                          No
                          Give feedback about this article

                          Can't find what you're looking for?

                          Contact Support

                          Recently Updated

                          • HOW TO - Reset Your Ansys Profile Folder
                          • ERROR - Mechanical failed to open the database
                          • HOW TO - Troubleshoot a Windows Bluescreen (BSOD)
                          • HOW TO - Clear Shared Web Licensing Credential Cache
                          • HOW TO - Generate a Personal Access Token for an Unattended Workflow
                          • HOW TO - Borrow & Return an Ansys License
                          • ERROR - Ribbon/Toolbar Missing From Fluent
                          • HOW TO - Manage Users & Groups for Shared Web Licensing
                          • ERROR - Tomcat Vulnerability CVE-2025-24813 detected in Ansys License Manager
                          • General Inquiries & Sales:
                          • (800) 566-9190
                          • Info@SimuTechGroup.com
                          • Contact Support
                          • Software
                          • Services
                          • Case Studies
                          • Ansys Training
                          • Consulting
                          • Technical Support
                          • About SimuTech
                          • Careers
                          • Privacy

                          © 2025 SimuTech Group


                          Knowledge Base Software powered by Helpjuice

                          Definition by Author

                          0
                          0
                          Expand NEW TAB

                          Hi there! 👋

                          How are you liking the Installation Center?

                          Terrible

                          Bad

                          OK

                          Good

                          Excellent

                          Feedback Successfully submitted