Skip to main content
1-Visitor
April 8, 2014
Solved

Return a borrowed ProE/Creo license?

  • April 8, 2014
  • 2 replies
  • 20782 views

Hello all,

Anyone know if it is possible to return a borrowed proe/creo license?

I've seen the message in the proe_borrow.bat UI (attached) which says that you cannot. Is this really the case? Seems ridiculous, it's not hard to imagine this being seriously detrimental.

Have tried using ptcflush.bat, it gives the message (paraphrasing) 'cannot return a linger license'.

Using creo\elements 5.0 M150

Thanks!

This topic has been closed for replies.
Best answer by MartinHanak

Hello,

user can do early return of borrowed license also in case that he uses FLEXnet 10.8.

Two commands can be launched from DOS prompt window.

1.] eg. D:\PTC\Creo2_M100\Creo 2.0\Common Files\M100\x86e_win64\obj\lmutil lmborrow -status

The output of this command informs user what license is borrowed.

2.] eq. D:\PTC\Creo2_M100\Creo 2.0\Common Files\M100\x86e_win64\obj\lmutil lmborrow -return LICENSE_NAME

LICENSE_NAME is displayed in the output of 1-st command.

This commands returns back borrowed license.

See also two attached document.

Martin Hanak

2 replies

16-Pearl
April 9, 2014

Hi,

it is good that you are using M150 - because in previous releases licenses cannot be returned.

To achieve it install license server version 11.10.1 (FlexNet) or FlexNet lmgrd version 11.10.1

In FLEXNet:

1) stop license server

2) make changese in <FLEXNet_load_point>\conf\server.xml file:

<licenseServer adminOnly="true" .................... licenseReclaimAllowed="false"

-- To --

<licenseServer adminOnly="false" ................... licenseReclaimAllowed="true"

3) start the license server

User machine:

1) add environment variable "ENV=PRO_ALLOW_EARLY_RETURN=true" int the *.psf file prior to checking out the license from the server

Return the borrow license early

1) Open command prompt with administrator privileges

2) Change the default path of command prompt to “<load_point_of_Creo Elements>\Pro5.0\x86e_win64\obj”

3) Use the following syntax to return license:

lmutil lmborrow -return -c <port@servername> <license feature name>

good luck

24-Ruby III
April 9, 2014

Hello,

user can do early return of borrowed license also in case that he uses FLEXnet 10.8.

Two commands can be launched from DOS prompt window.

1.] eg. D:\PTC\Creo2_M100\Creo 2.0\Common Files\M100\x86e_win64\obj\lmutil lmborrow -status

The output of this command informs user what license is borrowed.

2.] eq. D:\PTC\Creo2_M100\Creo 2.0\Common Files\M100\x86e_win64\obj\lmutil lmborrow -return LICENSE_NAME

LICENSE_NAME is displayed in the output of 1-st command.

This commands returns back borrowed license.

See also two attached document.

Martin Hanak

1-Visitor
March 10, 2017

Guys,

Been tinkering the solutions or any workaround on this...and viola

what I did in order to return the license (especially if accidentally borrowed) was

in the server side, I advanced the date ahead of the borrowed date

made a server refresh and status

that's it...

no more borrowed license

not sure if this will work with anyone but worth a try

23-Emerald III
March 10, 2017

PTC has allowed return early on borrowed licenses for 3 years.

Why do you need the work around?

4-Participant
September 20, 2018

The why is it not easy to do? With a tool or something.

Now we always need to bother our IT.