Managing drivers in MDT 2012 using Driver Groups
Microsoft Deployment Toolkit 2012 has some nice improvements to its successors in the driver handling department. You can use Driver Groups or Selection Profiles. In this tutorial I will describe using Driver Groups to manage drivers in MDT 2012.
Firstly we will build the ‘Out-of-Box Drivers’ folder structure and import drivers. I have subdirectories for each architecture, brand and model.
To build up the folder structure you have to know the model name of your hardware. To retrieve the proper computer name execute at command prompt: ‘wmic csproduct get name’, to get the exact name WMI queries to determine the computer model. In my case the computer name is “Latitude E4600”.
Now that we have drivers imported in our Deployment Share, it’s time to move on
At deployment phase MDT uses WMI to query the proper computer model and only the current model drivers will be injected. In order to get this working properly, you have to use the EXACT model name in your Out-of-Box Driver tree. You don’t want to query dead horses.
Inject the correct drivers in your Task Sequence
Add a new step in your Task Sequence to inject the correct drivers. Select Add > General > Set Task Sequence Variable
I usually place this new variable in the node just above the Inject Drivers Node.
MDT will query the computer name and inject the drivers which corresponds with the computer name from the Out-of-Box folder structure, right before applying the image at deployment.
I use ‘DriverGroup001’ as Task Sequence Variable, and windows 8 x64\%Make%\%Model% as value for my Windows 8 x64 Task Sequence . You have to adapt this to your Out-of-Box tree.
Finally, you want to go into you're Inject Drivers node and make sure you're not using profiles
Selecting Nothing in the Choose a selection profile and choosing the install all drivers from the selection profile. Which in reality is turning off plug and play. Note that if you leave the Choose a selection profile set to all drivers, the task sequence is going to inject the drivers in your matching folder and all the other folders.
If you don’t like to use a new Task in your TS, you can add DriverGroup variables in customsettings.ini like this:
DriverGroup001=%Make%\%Model%