The utilities running on Windows to read out and store an asset ID data from ThinkPad is to provide query and set feature of an asset ID and other information. To use this utility, you need logon to the Windows with administrative privileges.
| Contents |
|---|
| Supported ThinkPad Systems | |
| Supported Operating Systems | |
| Summary of Changes | |
| Program execution notes | |
| Device groups and fields | |
| Program Return Codes (Exit codes) | |
| Determining which version is installed |
| Supported ThinkPad Systems |
|---|
| Supported Operating Systems |
|---|
| Summary of Changes |
|---|
Where:
Version 1.02
Version 1.01
Version 1.00
| Program execution notes |
|---|
WinAIAPackage is executed as:
WinAIAPackage.exe [options] [command]
Where valid options are:
--silent
--output-file [filename]
And where [command] is one of the following:
--get [group[ group[ ...]]]
--set-from-file [filename]
--set group.field=value [group.field=value [...]]
--initialize
--help
Note:
Examples shown below should be entered on one line. They are broken up to fit the 80 character width of a readme text file.
To get everything from the user information area (UIA):
WinAIAPackage.exe --get
To get only the OWNERDATA group, silently, while saving the output to a file:
WinAIAPackage.exe --silent --output-file "\path\to\file\aia_output.txt" --get OWNERDATA
To set the ASSET_NUMBER:
WinAIAPackage.exe --set "USERASSETDATA.ASSET_NUMBER=ABC 123"
To set one of the user-specifiable values:
WinAIAPackage.exe --set "USERDEVICE.My Field=My Value"
| Device groups and fields |
|---|
All options, group names and field names are case-insensitive, except for the USERDEVICE group and the prefix value.
If no options are specified or an incorrect option is specified, then the help text for the utility is displayed.
Here is a list of the valid group names and their associated fields:
| USERDEVICE | [field1] - These fields are defined by the user. : Maximum number of user fields is five. [fieldn] |
| PRELOADPROFILE | IMAGEDATE IMAGE |
| USERASSETDATA | PURCHASE_DATE LAST_INVENTORIED WARRANTY_END WARRANTY_DURATION AMOUNT ASSET_NUMBER |
| LEASEDATA | LEASE_START_DATE LESE_END_DATE LEASE_TERM LEASE_AMOUNT LESSOR |
| OWNERDATA | OWNERNAME DEPARTMENT LOCATION PHONE_NUMBER OWNERPOSITION |
Notes:
| Program Return Codes (Exit codes) |
|---|
When WinAIAPackage closes, one of the following return codes is provided:
| Decimal Code | Description | Note |
|---|---|---|
| 0 | Successful completion | |
| 1 | User Information Area (UIA) not found. | |
| 2 | Could not read from EEPROM. | |
| 3 | Could not write from EEPROM. | |
| 4 | Could not read from EEPROM | |
| 5 | UIA has an invalid header (signature error). | |
| 6 | UIA is corrupt | |
| 7 | Internal error (e.g., NULL pointer). | |
| 8 | Command-line arguments are invalid. | |
| 9 | Reserved. | |
| 10 | Internal error (e.g., buffer too small). | |
| 11 | The UIA is too small to hold the requested contents. | |
| 12 | Could not load the dependency library (i2cw). | |
| 13 | The user aborted writing the new contents. | |
| 14 | Internal error (e.g., string from Unicode to ANSI). | |
| 245 | Failed to install one (tvti2c) of the dependency drivers. | * |
| 248 | Failed to install one (psadd) of the dependency drivers. | * |
Note:
*: The installation of the dependency drivers requires that WinAIAPackage be run with administrator privileges. Once the drivers are installed, or if they were already installed, the program can be run with normal user privileges.
| Determining which version is installed |
|---|
Version or Details tab from My Computer/Properties.
![]()
| Country Availability | ||
|---|---|---|
| Available | Worldwide |
|
| DRIVER RESOURCES | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
| Solutions Center |
||||||||||
|
||||||||||
| Community | ||||||||||
|