Export (0) Print
Expand All

Targeting Drivers to a Specific Computer

Published: December 20, 2007

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:

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

    Where GUID is the globally unique identifier (GUID) assigned to the Driver Category.

  4. 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
  5. Replace strSiteCode, the strServer server, and strDriverCatName with information pertinent to the environment.


Download

Get the Microsoft Deployment Solution Accelerator

Update Notifications

Sign up to learn about updates and new releases

Feedback

Send us your comments or suggestions

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft