AutoCAD 2012 for Mac: Where is my "Library" folder in 10.7 (Lion)
Civil 3D 2012: I want my settings back ...

Quick Start: Setting up a license server on Windows

1. Download and install the NLM IPv4 (Network Licensing Manager) for Windows:

http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Latest-version-of-the-Autodesk-Network-License-Manager.html

Open the lmtools.exe and make a note of the hostname and ethernet address of the license server.

Lmtools

NOTE:  You must use the latest version of the tools for each release of the software.  Autodesk 2016 products use 11.12.x NLM.

If you have an older version on NLM, follow the steps below to uninstall the older version and reinstall the newer version.

http://upandready.typepad.com/up_and_ready/2014/01/laws-always-update-your-network-license-manager-with-each-release.html

Autodesk Knowledge Network Article

http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Latest-version-of-the-Autodesk-Network-License-Manager.html

http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-Install-the-Network-License-Manager-s.html

2.  To get your license and you will need to have your Serial Number,  Hostname and Ethernet Address ready:

a.  To get your serial numbers, you will need to go to the Autodesk Manage site and review the following article:

http://knowledge.autodesk.com/customer-service/installation-activation-licensing/get-ready/find-serial-number-product-key/sn-autodesk-account

b. Login to Register Once to get your license.

http://www.autodesk.com/register

c.  Validate your account information.

d.  Enter your serial number.

   Register1

e.  Enter  your license server information.

   Register2

Reference:  http://upandready.typepad.com/up_and_ready/2011/07/general-licensing-requesting-a-network-license-online.html

NOTE:  If you have more than 1 serial number to request a license, just click on Save License File and Register and activate more products button at the bottom of the page to repeat the licensing process wizard again.

Save-register-again

Just combine all the licenses generated using Notepad.

If there is a problem with registering the product, you can also call this phone number to manually get your licenses:

1-866-681-4359 - Option 1 (English) - Option 1

Epilogue

http://www.autodesk.com/licensesupport

http://www.autodesk.com/licensesupport_fr

http://www.autodesk.com/licensesupport_it

http://www.autodesk.com/licensesupport_de

Autodesk Knowledge Network Article

http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-obtain-a-Network-License-File-from-Autodesk.html

3.  You will need to configure and start the license server the EASY way!

a.  Watch this video:   Setup-lmtools as a review.

b.  You will need to enable file extensions in Windows because you will need to create the .lic & .log file.

c.  Setup the lmtools.exe as noted below:

Service/License Tab > Configuration using Services

Config Services Tab >   Autodesk (delete "Flexlm Service 1")  > I like using Autodesk because it is not version specific and this service can be used for all Autodesk products. 

Services-autodesk

The settings for the 3 line items in the Config Services Tab is: (The example is for Building Design Suite Ultimate 2014.)

C:\Program Files\Autodesk Network License Manager\lmgrd.exe

C:\Program Files\Autodesk Network License Manager\BDSU-2014.lic

C:\Program Files\Autodesk Network License Manager\BDSU-2014.log

You need to check ON both Start Server at Power Up and Use Services as well.  

To start the license server, you will need to goto the Start/Stop/Reread Tab and hit the following buttons in order, Stop Server, Start Server, Re-Read License button.

NOTE:  I would not create a License or Log folder because I hate navigating the folders to the lmgrd.exe, the license and log files.  Also by naming the files exactly the same, you know that the are together like brother and sister.

Also, do NOT use the Server Diagnostics tab or you will get a "false" error:

http://upandready.typepad.com/up_and_ready/2012/02/general-licensing-flexnet-licensing-error-125147.html

http://upandready.typepad.com/up_and_ready/2011/06/general-licensing-dont-use-the-default-name-when-configuring-lmtools.html

Autodesk Knowledge Network Article

http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-Configure-your-Network-License-Server.html

4.  Please check the firewall port numbers quickly and easily on Server and Client computers by putting this in Internet Explorer:

http://Your-LICENSE-server-NAME:2080
http://Your-LICENSE-server-NAME:27000

We get a lot of customers mentioning that they can ping the license server but that is not the most accurate method of checking the license server status!

Firewall-port-open

Reference:  

http://upandready.typepad.com/up_and_ready/2011/11/windows-is-the-windows-firewall-on-or-off.html

Autodesk Knowledgebase Article

hhttp://knowledge.autodesk.com/search-result/caas/sfdcarticles/sfdcarticles/Using-Internet-Explorer-to-check-if-the-ports-used-for-licensing-are-open.html

5.  If you are setting up a Firewall exception for Autodesk Network Licensing, you will need to know the following:

  • Port 2080 is used for the adskflex.exe
  • Port 27000-27009 is used for the lmgrd.exe

The default license file will start with the following 3 lines:

SERVER Your-SERVER-name 0025b3282c6b
USE_SERVER
VENDOR adskflex port=2080

Firewall Exception rules are as noted below:

  • Incoming > Add Port > Name: Autodesk 2080 > Port Number:  2080 > Protocol TCP
  • Incoming > Add Port > Name: Autodesk 27000-27009 > Port Number:  27000 -27009 > Protocol TCP
NOTE:  For Windows 7 and Windows Server 2008 R2, you can actually put in a range of ports. i.e. 27000-27009.  If you are using an older server, you will need to have separate entries for each port from 27000-27009.
Windows 7/ Server 2008/Server 2012 Workflow:
  • Click Add Icon and select Control Panel.
  • Click System and Security.
  • Click Windows Firewall.
  • Click Advanced Settings.
  • Click Inbound Rules and select New Rule.
  • Select Port and click Next.
  • Select TCP.
  • Specific Local Ports: 2080 and click Next.
  • Choose Default settings and click Next.
  • Choose Default settings and click Next.
  • Enter a Name and Description of the rule.  i.e. Autodesk 2080
  • Click Finish.
Repeat the same steps again but use a range of ports for the next value. i.e. 27000-27009 name the rule Autodesk 27000-27009.

TIP:
 This is an incoming rule because a firewall is like your  house, you can leave but you can't come in unless you have a key (or have a Firewall Incoming rule).
 
Autodesk Knowledgebase Article
 

6.  Checking the client computers license file.
 
On the client workstations, you can also edit the licpath.lic file (search in C:\Program Files\Autodesk) and use Notepad to change the info from the old license server to the new license server.  
 
The installation folder for Autodesk 2010 products and older is in C:\Program Files. For older versions of the Media & Entertainment products [Maya, Mudbox] product, the license file maybe in C:\Flexlm folder and the file will be called:  maya.lic or mudbox.lic.
 
Licpath-pf
 
Please use Notepad to view and edit the client license file.  The license file contents should be as noted:
 
SERVER your-servername-or-ip-address-of-server 0
USE_SERVER
 
It can also be:
 
SERVER your-servername-or-ip-address-of-server 000000000000
USE_SERVER

In some cases, you can also add an the following as an environment variable as well. I typically don't do this if you have correctly edited the licpath.lic file.  This would be an optional tip/step.

Variable: ADSKFLEX_LICENSE_FILE
Value: @your-servername-or-ip-address-of-server

http://usa.autodesk.com/getdoc/id=TS1065268

Reference

http://forums.autodesk.com/t5/Installation-Licensing/Port-number-used-for-network-licensing-of-Autodesk-products/m-p/2807352/highlight/true#M25493

Autodesk Knowledgebase Article

http://knowledge.autodesk.com/search-result/caas/sfdcarticles/sfdcarticles/The-application-cannot-obtain-a-license-and-appears-to-be-pointing-to-the-wrong-license-server.html

If you launch the product and you get the FlexNET License finder and a -15 Error when launching the product:

FlexNet License Finder

-15_error

Please follow the instructions noted in this Autodesk Knowledgebase Article on the client workstations:

http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/Error-A-valid-license-could-not-be-obtained-by-the-network-license-manager.html

7.  This is the optional workflow to replace your NLM from IPv4 to IPv6:

http://upandready.typepad.com/up_and_ready/2011/09/general-licensing-do-i-need-ipv6-network-license-manager-for-windows.html

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

The comments to this entry are closed.