A change has been to the Autodesk network licensing server and you would like to point the Autodesk product(s) to the new Autodesk network license server(s) without uninstalling and reinstalling using Group Policy.
This problem can be due to a change to the Autodesk licensing server. Changing from a single server to a distributive, a redundant server or changing back to a single server. Also, if you have created a new Autodesk license server and need to point the Autodesk software to the new server(s).
Use a domain group policy to create an environment variable for ADSKFLEX_LICENSE_FILE.
*The following should ONLY be done a system administrator*
- Open GPMC (Group Policy management console) on the domain controller. On the domain controller you can click “Run” and type “gpmc.msc” (without quotes) then click “OK” to open it.
- Select your Domain.
- Create a new policy.
- There are 2 ways to do this:
- You can use an existing OU that you want the group policy to apply to
- Or you can create a new OU in GPMC and move the computers that will need this group policy applied to. You will use Active Directory Users and Computers after the policy is created to move the computers to this OU.
- Right-Click the OU that you want the policy to apply to.
- Choose “Create a GPO in this domain, and Link it here…”
- Enter a name for this new GPO and leave “Source Starter GPO:” and (none)
- In the right side of the panel in GPMC Right-Click the new policy object and select ‘edit’
- Go to Computer Configuration > Preferences > Windows Settings > Environment
- Right-Click “Environment” and choose New > Environment Variable
- Set the “Action” to Create, make sure “System Variable” is chosen.
- For “Name” type ADSKFLEX_LICENSE_FILE
- For “Value”, enter the names of one or more license servers, in this format:
2080@server1;2080@server2;2080@server3 (where server is the hostname or IP address of your license server).
Note: 2080 is Autodesk reserved port number for adskflex, Autodesk vendor license daemon. To specify a custom port for a server, include the custom port number in this format: port@server. For example, if the IP address of your license server is 22.214.171.124 and you are using custom port 27009, enter firstname.lastname@example.org.
- Hit Apply, and OK.
- If you chose Item 4 b from above. This is when you would move the computers into the new OU you created using Active Directory Users and Computers.
- Go to a computer that has the new Group Policy is attached to and do a gpupdate /force in an elevated command prompt to make sure your Group Policy worked.
- To run a gpupdate /force in an elevated command prompt.
- Go to search and type CMD
- “Command Prompt” should appear above search
- Right-Click “Command Prompt” and choose “Run as Administrator”
- Type gpupdate /force and hit enter
- You can go to “environment variable” on the computer you did the gpupdate /force on and see your new environment variable.
- To get to “environment variable” on a computer.
- Go to search and type environment variable
- Choose “edit the System environment variables”
- Choose the “Environment Variables…” button above “Cancel” and “Apply”
- From here under “System variables” you should see the new ADSKFLEX_LICENSE_FILE name and the value you entered.
About the AuthorFollow on Linkedin More Content by Ken Williams