When stopping or restarting the FlexLM License Manager, the normal way to do that would be to use the Lmtools.exe and to click on the desired button on the "Start/Stop/Reread" tab:
However, occasionally these commands will not work properly and there will be the need to do this manually. How would this be done?
Here is what you need to do:
1) In LMTOOLS find out the name of the Service of the FlexLM Server.
In this example the name is "Flexlm Service1"
2) Start a Windows Power Shell "As administrator", which can be reached by clicking on the Command with right mouse button and there selecting the option
"Run as Administrator":
3) After that please enter the command:
net stop "Name of the FlexLm process" <- stops the FlexLM Process or
net start "Name of the FlexLm process" <- starts the FlexLM Process or
net stop "Name of the FlexLm process" && - net start "Name of the FlexLm process"
The first command stops the Process, the second starts the Process, the third will restart the Process.
If you copy the commands into a Text file and give the Text File a name with the suffix ".bat", you can simply click on the bat file and via the Right Mouse Button again use the option.
Run as Administrator and you are done.
*This article was taken from the Siemens Support site and was updated on August 04, 2024.
November 18, 2024