Skip to main content

HP Image Assistant - Install + Command Handler [DV,Param,Autofix]

Summary

The HP Image Assistant (HPIA) application is used by this script to manage and carry out updates on HP Workstations. If the application isn't already installed, it will be automatically installed from Winget. This script provides the feature to perform an HP Image Assistant scanning audit to list available updates if no arguments are passed, or it can execute specific update actions (such as installing drivers, software, or firmware) if arguments are passed.

Supported OS: Windows 10, Windows 11

Supported commands/arguments reference:
HP Image Assistant User Guide

Note:

  1. The systems must be compatible HP hardware. The script will automatically validate the manufacturer and product ID against HP's official platform compatibility list before proceeding.
  2. ProVal does not recommend performing BIOS updates remotely. ProVal is not responsible for any failed devices due to remote BIOS updates. BIOS updates are performed at the MSP's risk.

Dependencies

Sample Run

Run the script with the SetEnvironment parameter set to 1 after import to get the required EDFs imported for the HP Image Assistant scanning and exclusions. It will also create the custom table pvl_hpimageassistant_audit.

Image1

Example 1:

Running the script without passing arguments to perform a default scan and return the available updates.
Arguments: <Blank>
Image2

Example 2:

Running the script to silently install recommended driver updates.
Arguments: /Operation:Analyze /Category:Drivers /Selection:Recommended /Action:Install /Silent /AutoCleanup /ReportFilePath:"C:\ProgramData\_Automation\App\HPImageAssistant\InstallReport"
Image3

Example 3:

Running the script to silently install recommended firmware updates.
Arguments: /Operation:Analyze /Category:Firmware /Selection:Recommended /Action:Install /Silent /AutoCleanup /ReportFilePath:"C:\ProgramData\_Automation\App\HPImageAssistant\InstallReport"
Image4

Example 4:

Running the script to silently install all available updates (drivers, firmware, and software) in one pass.
Arguments: /Operation:Analyze /Category:All /Selection:All /Action:Install /Silent /AutoCleanup /ReportFilePath:"C:\ProgramData\_Automation\App\HPImageAssistant\InstallReport"
Image5

User Parameters

NameExampleRequiredDescription
SetEnvironment1First Run OnlyIf set to 1, it will import the required EDFs for the HP Image Assistant scanning and exclusions, and it will also create the custom table pvl_hpimageassistant_audit.
Arguments
  • <Blank>
  • /Operation:Analyze /Category:Drivers /Selection:Recommended /Action:Install /Silent /AutoCleanup
  • /Operation:Analyze /Category:Firmware /Selection:Recommended /Action:Install /Silent /AutoCleanup
  • /Operation:Analyze /Category:All /Selection:All /Action:Install /Silent /AutoCleanup
FalseCommand arguments to execute on the computer; a scan to list available updates will be executed if this parameter is left blank.
Reference: HP Image Assistant User Guide

Global Variables

NameExampleRequiredDescription
Debug
  • False
  • True
FalseWhen True, enables informational logging; when False (default), informational logs are suppressed to avoid adding entries to the h_scripts table. Set to True to assist with troubleshooting.

EDFs

NameTypeLevelSectionRequiredEditableDescription
HP Image Assistant Update AuditCheckboxClientHPTrueYesThis EDF is required to be selected for the automated deployment of the HP Image Assistant scanning on the HP Windows machines.
Exclude HP Image Assistant ScanCheckboxLocationExclusionsFalseYesIf this EDF is checked, the agents of the location will be excluded from the HP Image Assistant scanning.
Exclude HP Image Assistant ScanCheckboxComputerExclusionsFalseYesIf this EDF is checked, the agent will be excluded from the HP Image Assistant scanning.

Output

Changelog

2026-04-30

  • Initial version of the document.