Has anyone had success running HPIA from Kace SMA?
HP has deprecated Softpaq Download Manager (SDM), so I'm trying to convert us to HP Image Assistant (HPIA) which is HP's current recommendation. There's some nice things that HPIA does, like building softpaq repositories at runtime, which has the potential to make my life a lot easier.
This works fine as part of a batch file, run by technicians:
start /wait "Driver Updater" "%HPIA%\HPImageAssistant.exe" /Operation:Analyze /Action:Install /Silent /Category:BIOS,Drivers,Firmware /ReportFolder:%log% /SoftpaqDownloadFolder:"%softpaqpath%"
If Kace SMA tries to run it as part of a kscript, using the same technician's credentials, it hangs on HPImageAssistantLauncher, and never completes. I can even add the /debug flag, and it won't create the debug log. However, if Kace runs it with Local System credentials, and with %softpaqpath% set to a local path, it works fine, except it can't access a network driver repository using the Local System creds.
My workaround for the time being is terrible and if anyone has a better idea, I'd love to hear it. I have Kace SMA run a batch file with network tech creds that does the following:
Copy the network repo for that model/os combo to the PC
Create a scheduled task that runs a separate HPIA batch file with Local System rights
Run that task
Loop a timeout until HPIA finishes
Delete the scheduled task so it doesn't get triggered later
Copy any changes that HPIA made to the local repo back up to the network repo.
As I said, it's gross, so all suggestions are welcome.