-
×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-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)
- « Previous
-
- 1
- 2
- Next »