HPIA driver install fails
Describe the bug
When $Global:MyOSDCloud.HPIADrivers = $true is specified, the drivers will be installed during the setupcomplete phase using the following command:
Invoke-HPIA -Category Drivers -Action Install -NoninteractiveMode -ReportsFolder C:\OSDCloud\HP\HPIA -HPIAInstallPath C:\OSDCloud\HP\HPIA.
We are experiencing an issue on one specific model where a driver fails to install during this phase. The installation seems to hang, and the logs return a 3020 exit code. Unfortunately, the setupcomplete (invoke-hpia) process continues to run, so the script doesn't stop even though the underlying process has already returned an exit code. See screenshots.
However, it is possible to manually trigger the install.cmd after setupcomplete has failed. That will work.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Setupcomplete.log
C:\OSDCloud\HP\HPIA\20240923-0808.log
Driver install log.
Desktop (please complete the following information):
- OS: Win11 23H2
- Module: 24.9.18.1
- Model: HP ProDesk 400 G7 Small Form Factor PC
@gwblok any ideas?
You have a few options
- Disable a BIOS setting that enables that feature
- Disable that model from running HPIA in your OSD Start up script
- If you can easily repo in the full os on that model, contact HP, as it would be an issue with their softpaq.
Additional Details
- BIOS Setting:
This is something you should have bookmarked; https://h10032.www1.hp.com/ctg/Manual/c06696065.pdf
2: Disable specific Model via PowerShell If Statement on the Variable:
- Repo in Full OS then contact HP Support, then Bug These guys on Twitter: https://x.com/dan_felman https://x.com/Geodesicz
So you're also saying, that even when it exits a 3020, it's not continuing the process, it's just done? That log looks like it finished HPIA with exit code 3020, and at that point, rest of the process should continue, is that not happening?
So you're also saying, that even when it exits a 3020, it's not continuing the process, it's just done? That log looks like it finished HPIA with exit code 3020, and at that point, rest of the process should continue, is that not happening?
Correct. It will hang for the rest of the time...
@StevenVBeek Ok, I'd suggest those 3 options above, as a work around.
I will consider looking into a method to create a timeout for HPIA, like at the 1 hour mark, just kill it. But honestly, no idea when I'd get time to work on that.