• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended

I know this may seem trivial, but how do you install the HP Image Assistant via the command line? I need to mass deploy this to our workstations to update drivers. I have tried the following:

 

Command Prompt:

hp-hpia-5.3.3.exe /s

 

PowerShell:

Start-process -filepath "<path to hp-hpia-5.3.3.exe>" -ArgumentList "/s" -wait -passthru

 

The folder shows up inside the default "C:\SWSetup" directory. But install job never finishes. If I check Task Manager, it shows processes for "HP Image Assistant Launcher" but it never closes.

 

So the rest of my script where it actually analyzes for drivers never runs.

1 REPLY 1
HP Recommended

Hello @jerber9264,

 

Welcome to HP Support Community.

 

This is not trivial at all — HP Image Assistant (HPIA) has some non-obvious behavior that causes exactly what you’re seeing. You’re very close, but the issue is how HPIA is designed to run, not your scripting.

 

Below is the correct, supported way to deploy and use HPIA silently at scale, plus why your current method hangs and how to fix it.

 

 

Correct, Supported Way to Use HPIA in Automation

Step 1 — Extract HPIA (Do NOT wait on the EXE)

Use /s without -Wait.

 

Start-Process -FilePath "hp-hpia-5.3.3.exe" -ArgumentList "/s"

Then wait briefly (or check folder existence):

 

Start-Sleep -Seconds 15 
 
Step 2 — Run HPIA via HPImageAssistant.exe (THIS is the key)

Once extracted, do not use the launcher.

Use:

 

C:\SWSetup\HP_Image_Assistant\HPImageAssistant.exe

This binary does exit properly and supports full CLI automation.

 

Example: Fully Automated Driver Analysis & Install

 

 
$HPIAPath = "C:\SWSetup\HP_Image_Assistant\HPImageAssistant.exe" $ReportPath = "C:\HPIA" New-Item -ItemType Directory -Path $ReportPath -Force | Out-Null Start-Process -FilePath $HPIAPath ` -ArgumentList "/Operation:Analyze /Action:Install /Silent /ReportFolder:$ReportPath /SoftpaqDownloadFolder:C:\HPIA\SoftPaqs" ` -Wait

 

✔ This will finish
✔ Exit codes are returned
✔ Script continues normally

 

Hope this helps!

I am an HP Employee. Although I am speaking for myself and not for HP.
Click Helpful = Yes to say Thank You.
Question / Concern Answered, Click "Accept as Solution"
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.