cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

FLEXLM - fixed license issues ...still

SOLVED
Peridot

FLEXLM - fixed license issues ...still

Hi all. I need an IT guru to help me here.

 

Many moons ago, I created a tech support case for license issues regarding putting my computer to sleep and having the LM hang on me.

 

The solution was to install a very old version that was considered rock solid. And for the most part, it is.

 

However, when I put my computer to sleep, -sometimes- the license hangs and is invalid when the computer wakes up.

 

It is a c.r.a.p.-shoot and it is getting old. I have to put my computer to sleep from time to time and I need to be able to count on Creo booting when I wake it up.

 

DOES ANYONE KNOW HOW TO MANUALLY SHUT DOWN THE LICENSE SERVER SO IT WILL REBOOT WHEN NEEDED WITHOUT REBOOTING THE MACHINE?

license_server.PNG

 

A batch file solution would be EXCELLENT!

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: FLEXLM - fixed license issues ...still

Now I know... it took a few days for the problem to re-surface.

on Windows 7, 64bit:

Task Manager > Processes > check the "Show processes from all users"

Locate "lmgrd.exe *32" -right click- > End Process Tree

Go to Services tab- note "FLEXlm server for PTC" is now Stopped...

-right click "FLEXlm server for PTC" > Start Service

Note that this is a WF3 license server for a fixed license; your process may vary!

Thanks Jakub and Martin for the insight. I can certainly do this through the Task Manager where I am more comfortable messing with things (read: recoverable )

View solution in original post

12 REPLIES 12

Re: FLEXLM - fixed license issues ...still

hi Tom,

Have a look at the Services tab in Win 7. Click Start --> then click Run --> then type services.msc and confirm.

http://www.askvg.com/windows-7-services-that-can-be-safely-set-to-manual/

Re: FLEXLM - fixed license issues ...still

Thanks Jakub. I will try that next time. I know it will not let me disable the service from the task manager due to permission issues. I will see if making FLEXLM manual will force it to behave.

Re: FLEXLM - fixed license issues ...still

Hi Antonius,

Seems when your machine is in sleep mode network card owning the license host ID is getting inactive and on machine wakeup, service for license manager is not starting (as Network card was down).

You may try the below steps:

1. Select Start > Right Click on Computer > Manage

2. Double click on Device manager > Expand Network adapters

3. Select Appropriate network card in the list > Right Click > Properties

4. Select Power Management tab > Uncheck "Allow the computer to turn off this device to save power" > Ok > Close Device manager.

This will disabling the network card on sleep mode and when machine will wake up, service will start on own as network card will remain active.

I hope this will help.

Re: FLEXLM - fixed license issues ...still

The adapter is on the cable I connect with and it does not have the option to be turned off. It is always on.

Again, it does not always fail... it is annoyingly intermittent.

I think Jakub is on the right track.

Re: FLEXLM - fixed license issues ...still

Antonius,

I think license manager on your machine is represented by FLEXlm server for PTC service.

To stop the service, create batch file containing the following line:

net stop "FLEXlm server for PTC"

To start the service, create batch file containing the following line:

net start "FLEXlm server for PTC"

You have to launch both batch files using RMB and Run as administrator command.

Martin Hanak


Martin Hanák

Re: FLEXLM - fixed license issues ...still

Now I know... it took a few days for the problem to re-surface.

on Windows 7, 64bit:

Task Manager > Processes > check the "Show processes from all users"

Locate "lmgrd.exe *32" -right click- > End Process Tree

Go to Services tab- note "FLEXlm server for PTC" is now Stopped...

-right click "FLEXlm server for PTC" > Start Service

Note that this is a WF3 license server for a fixed license; your process may vary!

Thanks Jakub and Martin for the insight. I can certainly do this through the Task Manager where I am more comfortable messing with things (read: recoverable )

View solution in original post

Re: FLEXLM - fixed license issues ...still

No problem. This is just basics. I mean you are just doing something in OS using GUI, which should be easy.

Now how to make a batch (*.bat) file for this kind of operation? Heh.

Btw, how about just right click "FLEXlm server for PTC" > Restart when you are in Services tab? Would that work?

I don't think you have to kill the process with task manager first, as long as it is an already registered service in the OS.

Re: FLEXLM - fixed license issues ...still

That's what's funny, Jakub.

I don't have access to stop the FLEXlm server from the Services tab but I can stop the Process and then I have restart authority in Services.

We all know how convoluted the Windows 7 is with permissions... and it all depends on the installer. I'm just glad I no longer have to reboot for a license failure because this Dell machine takes - f o r e v e r - to reboot.

Re: FLEXLM - fixed license issues ...still

Well, that's odd. Sounds like you are not an admin.

When you run the command window via Start --> Run --> typing "cmd" and Enter, does it say on the top of that window that you are running it as an admin?

bf43fd894ef5116ac6b2aa0455a8e0c017457d477b825dff24108771cc18b107_Admin_CMD.jpg

Also, are you able to access windows registry?

http://windowsitpro.com/windows-server/how-can-i-stop-and-start-services-command-line

Announcements