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

                          ERROR - Cannot return a borrowed license

                          Authored by Caleb Scharf September 20th, 2024 9594 views 2 likes KB956424

                          Error

                          Unable to return a borrowed license.  Ansys borrow utility hangs or freezes.

                          Description/Cause

                          This type of scenario is most often caused by a communication error between the client and the server while borrowing or returning a license.  The Ansys borrow feature is sensitive to slow or high latency connections such as VPN connections or poor WiFi connections. It is also more likely to occur if you have a large number of licenses as polling the server for this information takes longer (~1-2min) and in turn allows more time for a connection problem to occur. Whenever possible, the client should borrow and return licenses while on the same local network as the license server.  

                          This can also be caused when trying to return a license on a different connection than the license was borrowed from (Example: you borrow the license while on a VPN, but return it when in the office). An element of borrowed licenses is that they are tied to your computer's network adaptors. If you borrow the license on a laptop connected via ethernet in the office and then try to return over Wi-Fi and/or connected to a VPN, the adaptors have changed in terms of how Ansys / FlexLM sees them and can cause problems.

                          Solution

                          Warning

                          Whenever possible, borrow and return licenses while on the same local network as the license server and using the same network adapter.  Doing so over VPN can often result is issues. 

                           

                           

                          1. First, Verify/Test License Manager Connectivity‍
                          2. Next, attempt to borrow‍ a new and different type of license.   
                          3. Then return all licenses.
                          4. If that doesn't work, you can forcefully reset all borrowed licenses.  
                            1. On the client machine (Windows):
                              1. Log in as the user who borrowed the license. 
                              2. Search the start menu for "Registry Editor" and open the application
                              3. In the Registry Editor, navigate to the following registry key/folder: 

                                HKEY_CURRENT_USER\Software\FLEXlm License Manager\Borrow
                                 
                              4. Right click the folder and select Export to create a backup of this key/folder. 
                              5. Delete this registry key/folder. 
                              6. Close the Registry Editor. 
                              7. “Run the ANSYS Borrow Utility” again to verify borrowed license is gone. 
                            2. On the License Server (Windows):
                              1. Stop the License Manager service‍ 
                              2. Browse to C:\ProgramData\FNP\Flexlm\

                                Info

                                The ProgramData folder may be hidden.  In File Explorer, go to the View menu, and then check the box for "Hidden Items" if you don't see ProgramData.

                                 
                              3. Rename the file called anysborrow to ansysborrow.old
                              4. Start the License Manager service‍ 
                          return deniedlicense error

                          Was this helpful?

                          Yes
                          No

                          2 out of 3 found it helpful

                          Related Articles

                          ERROR - ANSYS Electronics Desktop Will Not Launch After Windows Update

                          ERROR - Ansys License Manager Won't Start

                          ERROR - Capability ANSYS IcePak does not exist in the ANSYS licensing pool.

                          ERROR - Black screen in CFX-Pre and CFD-Post

                          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