Windows 7 OSD Alternate Driver Solution (tested on Dell)
After several months of battling model after model with limited success, a new contractor joined my organization and we both came to the conclusion after a few days that things were acting really weird. I then stumbled across an article for SCCM CB that seemed to describe a similar issue to what we were having.
After installing the ADK 10 1607 on ConfigMgr Current Branch 1602 or newer, the Apply Driver Package task will start failing while installing one of the drivers in the Driver Package. The failure is random and will not occur on the same driver every time. Occasionally the Apply Driver Package task may succeed.While this didn't describe my issue (I'm on SCCM 2012 R2 still), the symptom was pretty close to what I was seeing. We gave "Workaround 1" from this article an attempt and knock on wood, it seems to have solved our issue. I'll give you instructions / screenshots for the Dell Optiplex 7050.
We have a step (highlighted yellow) in our TS for Apply 7050 Driver Package (we are using the Dell Enterprise CAB driver pack from http://en.community.dell.com/techcenter/enterprise-client/w/wiki/2065.dell-command-deploy-driver-packs-for-enterprise-client-os-deployment) that uses the traditional driver package step with a WMI Query for SELECT * FROM Win32_ComputerSystem WHERE Model LIKE "%Optiplex 7050%" that limits it to that specific model. Important notes - we check the boxes for Do unattended installation of unsigned drivers and Continue on error.
Immediately after this step, add in a new Group and call it Retry if Failed - Model Number. Check the box for Continue on error. Then add in two conditions:
1. WMI Query: SELECT * FROM Win32_ComputerSystem WHERE Model LIKE "%Optiplex 7050%"
2. Task Sequence Variable:
a. Variable: _SMSTSLastActionSucceeded
b. Condition: equals
c. Value: false
DISM.exe /Image:%OSDTargetSystemDrive%\ /Add-Driver /Driver:"%_SMSTSPackageCacheLocationA01004E3%" /Recurse /forceunsigned /logpath:"%_SMSTSLogPath%\dism.log"
***Modify the package number listed to indicate your driver package for that specific model of computer***
1. Check box for Continue on error
a. Variable: OSDAllowUnsignedDriver
b. Condition: equals
c. Value: true (or false if you don't want to allow)