HP is about to release an update to the HP Client Management Script Library, (1.6.5) and with it, a new Commandlet, New-HPDriverPack. This fills a void with driver packs that has been plaguing us for years. The issue HP tackled? Stale driver packs! Typically driver packs get updated… rarely, lets go with that, but individual drivers get updated much more frequently. Most vendors provide tools then to update drivers on machines running the Full OS, but until today, that meant having to first run OSD with old drivers, have the OS installed, then run HPIA to update the drivers to current versions. Now, you can create your own custom updated driver packs and be far better after the first time the Full OS comes online.
New-HPDriverPack, this command will allow you to feed it the platform code, OS (Win10 or Win11), and OSVer (21H2, etc), and build a driver pack based on those findings.
New-HPDriverPack -Platform 8730 -Os win10 -OSVer 21H2 -Path C:\HPStaging
Outcome, a folder with inf drivers that you can DISM into the Offline OS during OSD.
You would take this output and build a driver package in CM for deployment during OSD
I really like this structure, I know exactly what driver and what SP# it included, and for PowerShell automation for updating driver packs, the manifest.json file makes it easy to compare between driver pack creations.
Original Pack Test (OP): I’ve taken four of my HP Models I have in my lab and ran tests. I ran OSD with the basic driver pack, then ran HPIA scan to determine missing updates.
Updated Pack Test (NP): Ran same Task Sequence but with Driver Pack created with New-HPDriverPack
DISM Drivers Step (Part of Child Task Sequence)
TEST MACHINES & RESULTS
- HP EliteBook 840 G3 : HP-EB-840-G3
Results: You can see, while not perfect, it is MUCH better, going from 13 out of date to 4 out of date.
- HP EliteDesk 705 G3 : HP-ED-705-G3
Results, went from 1 Missing driver to 0, and 2 out of date to 1 out of date
- HP ProBook 445 G7 : HP-PB-445-G7
Results: This was a clear win, no missing drivers or out of date drivers after applying the newly created custom driver pack during OSD.
- HP ProDesk 600 G4 : HP-PD-600-G4
Results: This model too give a completely updated driver pack using the new commandlet.
From my testing, I’ve learned how great this new process will be. Since it’s all powershell, automation is easy as well. I’ve already automated having it update all of my Driver Packs in CM for my HP models using this new method. The script will be available on my GitHub eventually.
POSTED on GARYTOWN.COM