Floating License Installation on Windows

Currently, Aldec provides customers with two types of licenses: node-locked and floating. To determine the type of license that you have, please do the following:

  1. Open the license.dat file provided to you by Aldec

  2. Look at the line that is located second from the top

    • If the line says License Type: Nodelocked, then you have a node-locked license

    • If the line says License Type: Floating, then you have a floating license

This document describes how to install a floating license. If you have a node-locked license, please refer to Node-locked License Installation on Windows

To install the license, you will need to:

  1. Download and install the license dongle driver

  2. Download and install the License Server Manager

  3. Configure and start the License Server

  4. Setup the ALDEC_LICENSE_FILE environment variable

Download and install the license dongle driver

If your license is issued for a USB FLEXid keylock (the license file contains a reference to "flexid=9" or "flexid=10" in the server line), installing the drivers may be necessary. See Installing a new FLEXid USB keylock and drivers for details.>

Aldec's License daemon package

The license daemon package is an archive of files that will be used to setup the license server. The archive contains the following files:

  • ALDEC.exe - Aldec's license daemon

  • lmgrd.exe - license manager daemon

  • lmtools.exe - license administration tool

  • startlicense.bat - a batch file for starting the license server

  • stoplicense.bat - a batch file for stopping the license server

  • fnp_LicAdmin.pdf - detailed document on setting up the license server; provided by Flexera Software

  • fnp_GS-LF.pdf - describes the basic concepts of FLEXnet Licensing, license models, and concepts for designing license policies using License Files; provided by Flexera Software

The license daemons can be downloaded from the following locations:

Download and install the License Server Manager

  1. Create a directory where you wish to install the license server and copy the aldec_windows_floating_license.zip archive to this directory

    Important Notes - The path of the executable file for the service cannot contain spaces, e.g. c:\Program Files. For more information refer to: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q812486 - Extracted files cannot be placed into "C:\Aldec\" nor "C:\Flexlm\Aldec\"

  2. Unpack the archive using your favorite archiver

  3. Copy the license.dat file to the directory where you unpacked the server

  4. Edit license.dat file. Change this_host on the SERVER line to the actual host name. Save and close the file

  5. Start the license server

Configure and start the License Server

You can start the License Server two ways:

  1. Manually

  2. Automatically at system start up


There are two ways to start the license server:

  1. From the Command Line

  2. Using the LMTOOLS utility

To start the license server (lmgrd) from the command line:

  • To start the server simply execute the startlicense.bat file.

  • To stop the license server, execute the stoplicense.bat file.

To start the license server using the LMTOOLS utility

  1. Start the LMTOOLS utility

  2. Click on the Service/License File tab

  3. Select the option Configuration using Services

  4. Select the service name from the list in the selection box. For example: DEMO License Manager

  5. Click on the Start/Stop/Reread tab

  6. Start the DEMO License Manager by clicking on Start Server

Automatically at System Start Up

  1. Double-click on the LMTOOLS utility

  2. Select the Configuration using Services option

  3. Click on the Config Services tab

  4. In the Service Name field, type the name of the service (e.g. DEMO License Manager).

    NOTE: By default, if the field is left blank, the service will be named FlexNet Publisher Service

  5. In the Path to the lmgrd.exe file field, click Browse to put the path to lmgrd.exe for this license server

  6. In the Path to the license file field, click Browse to put the license file for this license server

  7. In the Path to the debug log file, click Browse to put the debug log file that this license server writes

    NOTE: The default location for the debug log file is the c:\winnt\System32 folder. To specify a different location, make sure you specify a fully qualified path.

  8. Be sure the Use Services and Start Server at Power Up options are checked

  9. To save, click Save Service

Specifying the port for the License Server (Optional)

By default, the license server uses the port 27009. If you want to bind the license server to a specific port, you can specify the port number in the license.dat file. This may be convenient if several license servers run on the same machine.

Editing the license.dat file:

  1. Open the license.dat file in your favorite editor and locate the line that says: SERVER <server_name><host_id><port_no>

  2. Replace the port number at the end of the line

  3. Save the file

  4. Restart the license server

Specifying the location of the License File

The license server manager must be started before application can be used. The location of the license server is specified by the ALDEC_LICENSE_FILE system variable. To set up the workstation to use the network license use: ALDEC_LICENSE_FILE=<port>@<host> where:

  • <port> is the TCP/IP port of the license server manager (default is 27009)

  • <host> is the IP address or computer name of the license server manager

For three-server redundant server configurations, use a comma separated list of three port@host specifiers denoting the three-server redundant configuration. For example: port1@host1,port2@host2,port3@host3

If you receive a License Error:

Please see License Error: Cannot read data from License Server System. If you are still receiving a license error, please contact technical support.

Contact Technical Support

If you experience any problems with setting up the license server, locate the license server log file and contact Aldec's support team.

  1. Locating the server log file:

    • If the server is started with the startlicense.bat file, the debug.log file will be created in the server directory.

    • If the LMTOOLS is used, the log file path depends on user settings.

  2. Contacting Aldec's Support Team Submit your support ticket at: http://www.aldec.com/support.

Note: Please be sure to include your platform, OS, and the debug.log file

Ask Us a Question

Ask Us a Question

Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.