Detecting the existance of drivers for certain device classes

(imported topic written by mikko_k91)

Hi all.

Has anyone written a fixlet that detects whether an endpoint has drivers installed for a certain device class?

Specifically I am looking for endpoints that do not have sound card drivers installed (our helpdesk got a fair amount of requests related to this after we implemented a voip system).

I’m guessing the device class for sound cards is this

Multimedia

Class = Media

ClassGuid = {4d36e96c-e325-11ce-bfc1-08002be10318}

This class includes Audio and DVD multimedia devices, joystick ports, and full-motion video capture devices.

(http://msdn.microsoft.com/en-us/library/ff553426(v=vs.85).aspx)

Anyone know of a way to link the guid to installed drivers? I know this is a bit more on the windows than the bigfix but maybe someone has faced a similar issue with bigfix…

Regards

Mikko Koivunen

(imported comment written by MattBoyd)

The way I check if drivers are installed (in windows 7) is by looking a folder that begins with the name of the inf file for the driver… like this:

name of operating system = “Win7” and not exists folder whose (name of it as lowercase starts with “es8a.inf”) of folder “\Windows\System32\DriverStore\FileRepository”

(This is for an Epson Scanner)

(imported comment written by amagewick91)

I have been messing with this a little bit actually, and have been using a program called Devcon. I am not familiar with it enough to say either way, but you might want to check it out. If it does what you want, you could pipe the info to a file an analyze the file

(imported comment written by mikko_k91)

Thanks for the answers! Boyd’s method is good in general, but in this case we don’t know the precise machine models and thus have no clue about the .inf names.

Devcon was a nice find, “devcon listclass media” gets me close to what I need. Thanks amagewick.

mikko