Specialize DriverPacks
Last updated
Last updated
Wait for the next update to the OSD Module before trying this out as these functions have not been released yet
OSDCloud applies HP and Lenovo DriverPacks in the Specialize Phase of Windows Setup. The reason this is done is because HP and Lenovo Driver Packs are in 32-Bit EXE format, so they cannot be executed and expanded in WinPE x64. This page will detail how OSDCloud handles this
When OSDCloud encounters an EXE Driver Pack (HP and Lenovo) a warning is displayed in WinPE that it is unable to be expanded. Deploy-OSDCloud.ps1
addresses this by executing the function Add-StagedDriverPack.specialize
This function will create an Unattend file in the following location
The contents of the Unattend are to simply execute the function Expand-StagedDriverPack
To ensure that this Unattend file is run, the following Registry entry is made in the Offline OS
By doing this method, it ensures that if you have an Unattend.xml file placed in C:\Windows\Panther, it will not interfere with the Specialize pass, nor will an existing Unattend.xml file be overwritten. Additionally, the Registry method is the first Answer File that is processed if it exists
For more details about the Answer File settings, see the following link
Once the Specialize phase has started, the Answer File will expand any DriverPacks and apply the drivers using pnpunattend.exe. A quick look at the code will do a better job of explaining how this needs to work
And here is a video of how the process looks
If you think this applies only to OSDCloud, you are missing the big picture. This process opens the way to replacing Out-of-box-Drivers in MDT with DriverPacks. More details on this to come shortly