Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

License Activation Center LAC includes a command line utility, lacutil, that lets you activate and save a license to a file.

The only argument that is required for lacutil is the activation key. The HostID of the current machine will be used automatically, if the HostID is required. There is also an option to print out HostIDs of the machine and eventually specify them manually, which can let you activate a license locked to a different machine than the current one.

from a command line. You can retrieve HostIDs and send them as a part of the activation request, as well as specify proxy information.

Command usage

The lacutil command usage is as follows. Optional parameters are enclosed in square brackets ( [ ] ). Variables are shown in italic text.

Command

Syntax

Description

-hostid

lacutil -hostid

Displays HostID values of your computer system.

-activate

-act_key <activation_key>
[-output <output_file>]
[-hostid <type=value,...>]
[-proxyhost <host> -proxyport <port>]
[-proxyuser <username> -proxypassword <password>]

Activate a license from License Activation Center.

The -hostid option can be used to explicitly specify the HostIDs. If no HostIDs are specified, LAC will try to automatically use the proper HostID from the current machine if a HostID is required. Additionally, proxy information can be specified for activation.

Examples

  • To print out a HostID list for the current machine:

lacutil.exe -hostid

  • To activate a license by specifying the activation key, with the HostID selected automatically from the current machine:

lacutil.exe -activate -act_key X34UT-0B2VE-1LAT9-Y3S45

  • To activate a license by explicitly specifying HostIDs (in this example, an Ethernet and Harddisk HostID):

lacutil.exe -activate -act_key X34UT-0B2VE-1LAT9-Y3S45 -hostid ETHERNET=112233445566,HARDDISK=AABBCCDDEEFFGGHH

Downloads

Attachments
sortByname

lacutil Lacutil history:

lacutil revision

C Library Revision

Release Date

Notes

1

3

2011-06-08

Initial release; considered production ready. End-user functionality provided. 

2

5

2011-11-30

Updated C Library and changed default output filename to contain activation key and date.

Example usage

Activate a license by specifying the activation key, with the HostID selected automatically from the current machine:
lacutil.exe -activate -act_key X34UT-0B2VE-1LAT9-Y3S45

Activate a license by specifying the activation key and a HostID list:
lacutil.exe -activate -act_key X34UT-0B2VE-1LAT9-Y3S45 -hostid ETHERNET=DABA9F60077CBD89,BIOS=Y2DVL2

32013-03-18LAC end user API was updated to the stable version 2 and LM-X was updated to version 4.4.5.
42013-04-09Stability improvements.
52019-06-19LM-X was updated to version 4.9.12.
62019-07-26LM-X was updated to version 4.9.14.
72019-10-30LM-X was updated to version 4.9.16.

...