Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I got a tool for ArcGIS which has its own license manager (lmtools / flexnet). Everything is working fine.

My problem is: When i use ArcGIS and start the tool the license is in use. Ok. When i stop the tool the license is still in use until i restart ArcGIS.

Is there any way (with a script or workaround) to tell the licensemanager: "Hey i finished working, somone else can use it now"

Its annoying to restart ArcGIS everytime :/

share|improve this question

1 Answer 1

up vote 2 down vote accepted

FlexNet has the management utility "lmutil" which can be used for forcing license check-in (lmremove).

The general command scheme is:

lmutil lmremove -c LicenseFile.lic <feature> <user> <host> <display>


lmutil lmremove -c LicenseFile.lic -h <feature> <LM_Server> <port> <handle>   

I think you need the license file to make things work, so try it with and possibly also without the -c parameter. Should look something like this.

lmutil lmremove -c LicenseFile.lic ARC/INFO GEOGEO GEOGEOsMachine "#2L\w {O"

or like this

lmutil lmremove -h ARC/INFO licenseserver 27000 305

You get these infos by using lmutil's lmstat command

lmutil lmstat -a -c <port>@<host> 

As this works slightly different with different versions of FlexLM, you have to try should take a look in lmutils command reference on your installation.

EDIT: FlexNET uses Port numbers 27000 to 27005 by default, you can find out which one is living, by calling "netstat -a" on the server machine.

share|improve this answer
Thx i will try it –  GEOGEO Jun 7 '13 at 11:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.