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. |
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 HostID):
lacutil.exe -activate -act_key X34UT-0B2VE-1LAT9-Y3S45 -hostid ETHERNET=1122334455667788,HARDDISK=AABBCCDDEEFFGGHH
Downloads
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. |