Tuesday, May 17, 2005

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. 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:
  1. ADSKFLEX_LICENSE_FILE
  2. registry
  3. licpath.lic
  4. License Finder dialog box is displayed
When ADSKFLEX_LICENSE_FILE, LM_LICENSE_FILE, the registry, and licpath.lic are used, the order of precedence is:
  1. ADSKFLEX_LICENSE_FILE
  2. registry
  3. LM_LICENSE_FILE
  4. licpath.lic
  5. License Finder dialog box is displayed
JTB FlexReport can help with your network license management.

2 comments:

  1. AnonymousJune 22, 2009

    Thanks, this could be useful!
    Do you know how to set up PTCD_LICENSE_FILE at the same time on the same machine?

    ReplyDelete
  2. Not sure what you mean and I don't know what PTCD_LICENSE_FILE is either.

    ReplyDelete

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.