LAC includes a command line utility, lacutil, that lets you activate a license 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

  File Modified
ZIP Archive lacutil_darwin_universal_rev7.zip Oct 30, 2019 by Tomasz Ryba
ZIP Archive lacutil_linux_x64_rev7.zip Oct 30, 2019 by Tomasz Ryba
ZIP Archive lacutil_linux_x86_rev7.zip Oct 30, 2019 by Tomasz Ryba
ZIP Archive lacutil_win32_x86_rev7.zip Oct 30, 2019 by Tomasz Ryba
ZIP Archive lacutil_win64_x64_rev7.zip Oct 30, 2019 by Tomasz Ryba

Lacutil history

lacutil revision

Release Date

Notes

1

2011-06-08

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

2

2011-11-30

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

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.
  • No labels