MDT 2012 using Driver Groups

2013/06/20 | By | 5 Replies More

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

. image

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 driversSelect 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%

Tags: ,

Category: Uncategorized

Comments (5)

Trackback URL | Comments RSS Feed

  1. Dan says:

    The Variable should be “DriverGroup001” without the “Set”.

    Seems obvious but may trip up some MDT newbies.

    Good article. Thanks.

    • gandalf50 says:

      Thanks, It’s been corrected

    • Rick Annunziata says:

      I am trying to get drivers installed using mdt 2013. I have tested using Rules and a task sequence and in both cases I get the same result.
      The drivers get injected but not installed. After the image is applied I see a c:drivers folder with my drivers but I assume nothing makes it into the drivers store? I have tested using the Hp driver packs and also with just one driver and had the same results. The drivers get injected and not installed. its like plug and play does not see the drivers

  2. murray dance says:

    Ƭhankѕ for shariոg your thoughts about mdt 2010. Regards

  3. Theofilos says:

    Really nice article. Thank you for sharing.

Leave a Reply

You must be logged in to post a comment.