Siemens PLM Licensing How to clear a hung borrowed license seat (both on the SPLM license server and all client machines)

2021-10-06T23:27:51Z
Licensing Maintenance

Summary


Details

Typically, a hung or stuck borrowed license seat is discovered when:

1. The user who borrowed believes that borrowed license seat was returned, but they 
    cannot run NX as a client connected to their license server.
2. The user community observes what seems to be a shortage of licenses / seats.

Solution

1. Open a support ticket and request what is called a CLEAR BORROW license file.
     a. In that process, you will be asked to send a copy of the license file currently in operation from the
             SPLM License server machine.
     b. A CLEAR BORROW license file will be generated using your current license file
             and sent back to you.


2. Here is a step-by-step of the clear_borrow procedure, for the SPLM license server,
         and each client who has borrowed a license or who has tried to borrow a license.  


     In this example, the current active license file on the license server is named splm11.lic.
     In general, apply these principles based on the file name of your production license file.


   On the SPLM license server machine:
   a.Do this ONLY when ALL USERS HAVE CLOSED NX, TC, etc because the ugslmd
         license service will be stopped and started during this process. Therefore this
         momentary downtime has to be planned or arranged.
   b. Rename your current/good permanent production license file momentarily
         (i.e. rename to splm11_perm.lic).
   c. Place this clear_borrow license in your license directory and name it 
         the same name of your active license (i.e. splm11.lic).
   d. Stop and start the Siemens PLM License Server (ugslmd) service in LMTOOLS
         (Start/Stop/Reread tab) - don't use Reread.
   e. This clears the license server of any hung borrowed licenses.
   f. After instating the clear borrow license temporarily, rename that clear 
         borrow license back to clear_borrow.lic or something to that effect.
         Then rename the splm11_perm.lic back to splm11.lic.
       Then stop and start the Siemens PLM License Server (ugslmd) service again in LMTOOLS 
         in order to restore your normal production license file.
   g. Users can now resume and run their ugslmd licensed applications.
 
    On the client machine (and ALL CLIENT MACHINES WHO HAVE or HAVE ATTEMPTED
    to borrow a license):
 
    a. FIRST, log in on the client machine as the user who is having this problem.
    b. Run regedit
    c. Navigate under
 
       HKEY_CURRENT_USER\Software\FLEXlm License Manager\Borrow
 
    d. Delete everything (as much as can be deleted) under the \Borrow\   folder.


    e. This clears the hung borrowed license on the client machine.





Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 2019
Product: NX
Application: SYSTEM
Version: V1953
Function: SYSTEM_TOOLS

Ref: 002-8523956

KB Article ID# PL8523956

Contents

SummaryDetails

Associated Components

Siemens PLM Common Licensing