-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Software and How To Questions
- Can't run HPIA truly silently

Create an account on the HP Community to personalize your profile and ask a question
02-21-2025 09:29 AM - edited 02-21-2025 09:35 AM
I have been working to automate a silent install of updates, ordered by non-restart and then restart, using Powershell.
Upon executing hp-hpia-5.3.1.exe /s in a user session, HPIA files get put into C:\SWSetup\sp155835, but then not only does the GUI of HPIA open, but an Explorer window to c:\swsetup\sp155835 opens up! Does HP understand what silent means?
I am using c:\swsetup\sp155835\hpimageassistant.exe /operation:analyze /action:download... after, but of course this operation can't proceed until HPIA is finished being unzipped, which is held up by the fact I have to -wait for the installer to finish, including those swawned windows being closed. Advising the user to close these defeats the purpose of scripting this!
Am I missing a switch to stop HPIA "helpfully" opening up the GUI, or do I have to introduce more code to kill both the GUI and the window, or figure out how to launch them in a console-less session?
Solved! Go to Solution.
Accepted Solutions
02-28-2025 10:01 AM - edited 02-28-2025 10:02 AM
For the current version (5.3.1), this kills at least HP Image Assistant GUI that appears after the installer runs, which is the only thing that prevents scripted use of the cmd line version post that, until closed. I am going to just refocus the script window over the File Explorer window to the cmd/hui file, as the PC is restarted at conclusion of the rest of my script.
[system.collections.arraylist]$ToKillWindows = @("hpimageassistant.dll")
do
{
foreach($ToKillWindow in $ToKillWindows)
{
$Process = get-process -name $ToKillWindow -erroraction silentlycontinue
if($Process)
{
try
{
stop-process $Process
}
catch
{
#Do logging here
}
$i++
}
start-sleep -seconds 5
}
}
until($i -eq $ToKillWindows.count)
02-21-2025 09:42 AM
Hi @Megabyte24
I think it lacks the commando at the end
/silent
see examples in the manual on page 24
- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
02-21-2025 09:53 AM - edited 02-21-2025 09:56 AM
Sorry, I think there is some confusion here. My issue is at the stage of unpacking HPIA from hp-hpia-5.3.1.exe . The commands, which is the next step (doing analysis/downloading the updates), on page 24, respect the /silent argument.
hp-hpia-5.3.1.exe doesn't respect /s totally (if doesn't bring up a GUI wizard for installation of HPIA, but does produce those two other windows, presuming at the end of unpacking HPIA.
02-21-2025 10:04 AM - edited 02-21-2025 10:05 AM
hp-hpia-5.3.1 produces a GUI wizard to install HPIA, then launches HPIA
hp-hpia-5.3.1 /s produces a File Explorer window of C:\SWSetup\sp155835 (full with files that would indicate to me to be done after finishing unpacking HPIA), and then launches the HPIA.
02-21-2025 10:08 AM
I understand, I don't think it is possible to silent it doesn't make sense to silent. The application when unpacked should also check for updates.
- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
02-21-2025 10:15 AM
"It doesn't make sense to silent it"?!?! Yes it does. I want it to install silently, then use the /silent switch of the command to actually do the analysing/downloading/installing to handle what presumably is the reason for the GUI to appear. Why have a /s switch that clearly changes the operation of the installer (for one of the silent operations), then a /silent switch to run HPIA on the command line, if the intention was to ONLY use the gui???
Either have a /s switch that ACTUALLY makes the HPIA installer silent, and keep the /silent switch on hpimageassistant.exe (which ironically ACTUALLY operates silently), or remove them both!
02-21-2025 10:28 AM
but the application only needs to be unpacked once, there is no sense to repeat the same ones several times, once unpacked you can use your silent command
- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
02-21-2025 10:35 AM
I don't have any network storage to store the unpacked HPIA to use on the 100's of PCs I need to run this on, but the principle remains. Don't have a /s (silent) tag and not make it COMPLETELY silent. If a programmer needs to launch the GUI, they have a way to do this, easily. Users of HPIA have no easy way to prevent windows popping up that don't adhere to commonly held understanding of what silent means.
02-21-2025 10:39 AM
I use HPIA and I don't know any command that allows that, if you can do it please share with us.
- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.