Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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

Attachments
sortByname

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.