Share via


Driver Packages WMI Query

Question

Sunday, July 1, 2012 5:58 PM

Hello,

I, as many others have found, had to create separate TS's for each machine model so I could specify specific driver packages.  If I didn't do that, several models would get 'Code 12 Resources' errors for several drivers.  I read that some people were still using one TS but utilizing WMI to query the hardware and select the right packages that way.  How do I go about doing this?  Thanks!

All replies (3)

Sunday, July 1, 2012 6:05 PM ✅Answered | 1 vote

Hi,

Here is a great blog describing how to use WMI queries when applying the Apply Driver Package steps, doing it this way means you can have a single task seqeunce with many Apply Driver Packages step. http://blogs.technet.com/b/deploymentguys/archive/2008/02/15/driver-management-part-1-configuration-manager.aspx

The query you want to use is SELECT * FROM Win32_ComputerSystem WHERE Model LIKE "%<MODEL>%"  where model represents the model of you computer.

Regards,
Jörgen 

-- My System Center blog ccmexec.com -- Twitter @ccmexec


Sunday, July 8, 2012 3:10 PM

Can I use the 'Auto Apply Drivers' task, have it point to a specific category, and use the WMI query that way?  Or is there more success using the "Apply Driver Packages" method?

Thanks!


Sunday, July 8, 2012 5:24 PM

Yes you could do that, the benefits of using a driver package is that you can add drivers to driver store of hardware that's not online for an example a wificard thats disabled.

Auto apply driver will do a plug and play detection and only use drivers of hardware that is "online"