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

ERROR - Cannot return a borrowed license

Authored by Caleb Scharf December 15th, 2021 1751 views 0 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‍ 

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 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