Targeting Drivers to a Specific Computer

To install specific drivers to a target computer, use the Auto-apply Drivers task to install drivers from a specific driver category. The driver category used is not important, because it is overridden in the Customsettings.ini file.

To add specific drivers to a target computer

  1. In Configuration Manager Console, expand Computer Management, and then expand Operating System Deployment. Click Task Sequences, and then click task_sequence (where task_sequence is the sequence to edit). Right-click Task Sequence, and then click Edit.

  2. Create multiple Auto-apply Drivers tasks in the task sequence. For each task, choose the specific driver category. Set a condition on the tasks so that a Windows Management Instrumentation (WMI) query is made for the make and model of the computer, and the correct task will be associated with the correct make and model or role.

  3. Use the OSDAutoApplyDriverCategoryList variable, available in Configuration Manager Console. To do this, add the following lines to the Customsettings.ini file:



[Default] or some other location OSDAutoApplyDriverCategoryList=DriverCategories:GUID

Where *GUID* is the globally unique identifier (GUID) assigned to the Driver Category.
  1. Obtain the GUID information by running the following Microsoft Visual Basic® Scripting Edition (VBScript) code:

    strSiteCode = "CEN"

strServer = "SMSSERVER" strDriverCatName = "Dell" set objWMIService= GetObject("winmgmts:{impersonationlevel=impersonate}!\" & strServer & "\root\sms\site_" & strSiteCode)

set DriverGUIDS = objWMIService.ExecQuery("select CategoryInstance_UniqueID from sms_categoryinstance where LocalizedCategoryInstanceName = '" & strDriverCatName & "'") For each DriverGuid in DriverGuids     wscript.echo DriverGuid.CategoryInstance_UniqueID Next

  1. Replace strSiteCode, the strServer server, and strDriverCatName with information pertinent to the environment.


Get the Microsoft Deployment Solution Accelerator

Update Notifications

Sign up to learn about updates and new releases


Send us your comments or suggestions