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. Otherwise also Group Policy Object settings can be used.
Example:
On Error Resume Next
Set 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
Thanks, this could be useful!
ReplyDeleteDo 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.
ReplyDelete