• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    CAD Managers

    Reply
    Active Member
    davidlewis5275
    Posts: 9
    Registered: ‎02-28-2011

    Change Licpath.lic via vbscript

    431 Views, 9 Replies
    02-28-2012 09:14 AM

    I have about a dozen autodesk products where I need to change the Licpath.lic.

    According to Autodesk ADSKFLEX_LICENSE_FILE will not work with a redundant server setup so I need to replace the licpath.lic on every product.

     

    Does anyone have a vbs script that they could share that copies over a new Licpath.lic file?

     

    I would be using this as a machine script at bootup, not a login script.

    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,977
    Registered: ‎01-14-2005

    Re: Change Licpath.lic via vbscript

    02-28-2012 10:20 AM in reply to: davidlewis5275

    I recommend never using the redundant model because it does not work as intended and the only redundancy is the amount of work required to implement and keep it running.  Now that I am off my soap box, you can find a suitable solution here:

     

    http://forums.autodesk.com/t5/Installation-Licensing/problem-changing-licencing-servers/td-p/2668660

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.
    Active Member
    davidlewis5275
    Posts: 9
    Registered: ‎02-28-2011

    Re: Change Licpath.lic via vbscript

    02-28-2012 10:42 AM in reply to: TravisNave
    With a mixture of windows 7 and xp I want to avoid the registry. Things are setup with licpath now and I just need code to replace those files
    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,977
    Registered: ‎01-14-2005

    Re: Change Licpath.lic via vbscript

    02-28-2012 10:51 AM in reply to: davidlewis5275

    Since the file structure will be the same, you could just run a simple DOS batch file to do a copy overwrite from a shared location with the modified LICPATH.LIC to the Autodesk application root folder. 

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.
    Active Member
    davidlewis5275
    Posts: 9
    Registered: ‎02-28-2011

    Re: Change Licpath.lic via vbscript

    02-28-2012 10:54 AM in reply to: TravisNave
    If dos would work I would not be posting Windows 7 with the UAC will not allow writing to the c:\program files locations
    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,977
    Registered: ‎01-14-2005

    Re: Change Licpath.lic via vbscript

    02-28-2012 10:57 AM in reply to: davidlewis5275

    You need to disable UAC.  It serves no purpose but to make your life miserable.  Definitely doesn't need to be enabled in an enterprise setting.  You have group policies for that.  I never understood why people insist on handicapping themselves and then try to explain ways around the very obstacles they set for themselves.  If you're looking for a method to circumvent UAC, then UAC really isn't serving its purpose.  If you can circumvent it, anyone can.  Just turn it off. 

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.
    Active Member
    davidlewis5275
    Posts: 9
    Registered: ‎02-28-2011

    Re: Change Licpath.lic via vbscript

    02-28-2012 11:08 AM in reply to: TravisNave
    We are arguing about a non point here I just need vbs code I figured other cad managers had the code already I will ask in a Microsoft group instead Btw the it department sets UAC, not the cad managers
    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,977
    Registered: ‎01-14-2005

    Re: Change Licpath.lic via vbscript

    02-28-2012 11:15 AM in reply to: davidlewis5275

    I wish you luck.  I can attest that as part of IT, I would never set UAC on my users.  Perhaps your IT can make an exception for your engineers, or at the very least, in the short term while you enlist your necessary changes.

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.
    Active Member
    davidlewis5275
    Posts: 9
    Registered: ‎02-28-2011

    Re: Change Licpath.lic via vbscript

    02-28-2012 11:41 AM in reply to: TravisNave

    We are probably going to turn it off but again non issue

    I want vbs, its more transparent to the users.

     

    Please use plain text.
    *Expert Elite*
    TravisNave
    Posts: 7,977
    Registered: ‎01-14-2005

    Re: Change Licpath.lic via vbscript

    02-28-2012 11:55 AM in reply to: davidlewis5275

    I can respect that.  The IT guy in me says to just use the login script... but you probably really don't have access to that!  :smileyvery-happy:

    Travis Nave
    My Expert Contributions to the Discussion Groups:   Send TravisNave a Private Message

    FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files | Disk Space
    Please give Kudos or Accept as Solution  If my post was helpful, please give Kudos and/or mark the Accept as Solution button(s) below. Thank you!
    Please use plain text.