Depressed search everywhere, and I want to switch back to XP. In despair, I suddenly found out that the post of a cool man was successful. We will share with you the following methods:
It seems that flexlm itself is a problem. The lmgrd startup method of the startup manager may be a little incompatible with Vista, especially the command line cannot be run automatically as an administrator. Therefore, I thought of starting lmgrd directly using the command line, and the result was really successful. All the CAX software dependent on flexlm can run normally!
The following uses Ansys and Adams as examples:
1. In the command line window, enter the relevant directory and run:
Lmgrd-help
The command line parameters of lmgrd are displayed.
-C is used to specify the location and file name of the license file.
-L used to specify the location and file name of the log file
-X is used to exit lmgrd or hide the window after lmgrd is successfully run.
2. Based on the above parameters, the flexlm_start.bat file I wrote is as follows:
@ Echo off
Cd c: \ Program Files \ ANSYS Inc \ shared files \ licensing \ intel \
Lmgrd.exe-c "C: \ Program Files \ ANSYS Inc \ shared files \ licensing \ license. dat "-l" C: \ Program Files \ ANSYS Inc \ shared files \ licensing \ debug. log "-x lmdown
Cd c: \ MSC. Software \ MSC. Licensing \ 10.8 \
Lmgrd.exe-c: \ MSC. Software \ MSC. Licensing \ 10.8 \ license. dat-l c: \ MSC. Software \ MSC. Licensing \ 10.8 \ Debug. Log-x lmdown
Echo on
Note:
There are 6 lines of the above files. Each software has 2 lines. The first line enters the relevant directory, and the second line adds the switch to run lmgrd. This line is very long and long, because the ANSYS file name contains spaces, it must be enclosed by quotation marks, while Adams does not add quotation marks.
Run the BAT file!
3. Automatic startup
Drag the BAT file to the Startup Folder so that a series of license managers can be started after the startup.
---------------------------------------------- The last split line ---------------------------------------------
The above method solves the problem of ANSYS at the same time, and I also tried it myself to succeed.
But remember to change the path. For example, mine is:
@ Echo off
Cd f: \ MSC. Software \ MSC. Licensing \ 9.2a \
Lmgrd.exe-C f: \ MSC. Software \ MSC. Licensing \ 9.2a \ license. dat-l f: \ MSC. Software \ MSC. Licensing \ 9.2a \ Debug. Log-x lmdown
Echo on
Finally, let's talk about Windows 7. I use the 7100rc version. It is really good. The interface is beautiful and the performance is improved. Who knows how to use it.