Error: Invalid data in file C:\ProgramData\LANDESK\Data\HPScanner.exe.dat during the Inventory Scan

Version 12

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.xEndpoint Manager 2017.xEndpoint Manager 2018.x

    Issue

     

    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:

    PciRoot(0x0)/Pci)(0x14,0x0),USB(0x9,0x0)

     

    screenshot epm 2017.1 inventory scan error hp invalid data in file.PNG

     

    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"

    "TPM inventory"

    "POS inventory"

    "BIOS settings inventory"

    "Sensors inventory"

    Workaround

     

    1. On the LDMS / EPM Core Server rename in %LDMS_HOME%ldlogon\hpscanner.exe to hpscanner.bak
    2. On the affected HP machines rename the file C:\Program Files (x86)\LANDesk\LDClient\hpscanner.exe to hpscanner_exe_bak
    3. 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.