Contact Us

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

  • 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

Installation & Licensing Center

Contact Us

If you are an active or future SimuTech customer and have questions or simply prefer to get help directly from an engineer, we'd be happy to help!

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

ERROR - Cannot return a borrowed license

Authored by Caleb Scharf December 15th, 2021 3502 views 1 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

  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: 
        1. 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\
        Delete

        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‍ 

Did you like this article?

Yes
No

1 out of 1 liked this article

Related Articles

ERROR - ANSYS Electronics Desktop Will Not Launch After Windows Update

ERROR - Ansys License Manager Won't Start

ERROR - Icepak Classic Won't Launch

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

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Download & Installation Guide (Start Here!)

Ansys Troubleshooting Guide

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

Accessing the Ansys Customer Portal

Did you like this article?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • SimuTech Online Training Course Checklist
  • ERROR - HTTP Error When Gathering Diagnostics
  • HOW TO - Verify Licenses Can be Checked Out
  • INFO - Understanding Ansys License Files (ansyslmd.lic)
  • ERROR - Black screen in CFX-Pre and CFD-Post
  • INFO - Ansys Version & Release Date History
  • HOW TO - Change Discovery Licensing Mode
  • ERROR - Failover feature 'Discovery - level 1' is not available
  • HOW TO - Add Elastic Licensing in Client Licensing Settings

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

Thanks for your feedback!

How can we improve this article?

We're glad you liked the article!

What specifically did you like, so we can do that more!

Thanks for your time!

What feedback do you have for us?