Tips when changing license server
If you have to move or transfer your AutoCAD Network License Manager to another server the users have to be pointed to this server as well.
Instead of having to manually update all users LICPATH.LIC file I have a VBScript that runs when the user logs in that solves this.
Example:
On Error Resume NextSet WshShell = Wscript.CreateObject("Wscript.Shell")
Set WshSysEnv = WshShell.Environment("SYSTEM")
WshSysEnv.item("ADSKFLEX_LICENSE_FILE") = "@SERVER1;@SERVER2;@SERVER3"
When ADSKFLEX_LICENSE_FILE, the registry, and licpath.lic are used, the order of precedence is:
- ADSKFLEX_LICENSE_FILE
- registry
- licpath.lic
- License Finder dialog box is displayed
- ADSKFLEX_LICENSE_FILE
- registry
- LM_LICENSE_FILE
- licpath.lic
- License Finder dialog box is displayed




2 comments <Add comment>:
Thanks, this could be useful!
Do you know how to set up PTCD_LICENSE_FILE at the same time on the same machine?
Not sure what you mean and I don't know what PTCD_LICENSE_FILE is either.
Post a Comment |
Subscribe to the comments feed