Inventory Scan reports "HPScanner error -- Invalid data in file C:\ProgramData\LANDESK\Data\HPScanner.exe.dat"
LANDESK Inventory Scanner
Invalid data in file C:\ProgramData\LANDESK\Data\HPScanner.exe.dat:
This is caused by HPScanner.exe picking up data that the inventory scanner can't handle. Defect 397132 has been opened internally for this.
The main work of HPScanner.exe is gathering all the inventory information it can from HP client and creating HPScanner.exe.data . Then Inventory Scan ( LDISCN32.EXE ) will send HPScanner.exe.data to the Core Server and these data will be saved to the database and shown in Inventory. If we rename HPScanner.exe and remove HPScanner.exe.data, some of the inventory info for this HP client will not be updated or shown and some of the HP related functionality will not be used. For example, if there are no BIOS settings information gathering from client, the ‘HP BIOS settings’ should not be used.
The following list is all the inventory information HPScanner.exe gathering from the HP client.
"Power Assistant inventory"
"Total Power inventory"
"Battery Check inventory"
"Connection Manager inventory"
"Secure Erase inventory"
"Secure Erase Bios Log File save to disk"
"BIOS settings inventory"
- On the LDMS / EPM Core Server rename in %LDMS_HOME%ldlogon\hpscanner.exe to hpscanner.bak
- On the affected HP machines rename the file C:\Program Files (x86)\LANDesk\LDClient\hpscanner.exe to hpscanner_exe_bak
- On the affected machines delete the file C:\ProgramData\LANDESK\Data\HPScanner.exe.dat
Attached is a batch file that can be used as part of a distribution package, deployed via GPO etc. The file will rename HPScanner.exe and delete HPScanner.exe.dat.
The attached batch file is not an official Ivanti script, and has not gone through any testing or QA. It is only provided as a courtesy to assist others in working around this issue.
Ivanti is not responsible for any effects of the attached file. Use this file at your own risk.
This is resolved in EPM version 2017.3. To fix this, update Core Server to EPM version 2017.3 or newer and push the update to your client / agent computers.