Install driver

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
TonyLedford
Posts: 2
Joined: Thu Aug 31, 2006 4:36 am

Install driver

Post by TonyLedford » Thu Jun 14, 2007 3:50 am

I want to be able to determine which keyboard is attached to a computer and, if it is a particular one (older Dell CAC Reader keyboard - 3106 I believe), check the keyboard driver currently installed and if it isn't the most recent, install a updated driver.

Is this possible/doable?

Thank you,

Tony

User avatar
TonyLedford
Posts: 2
Joined: Thu Aug 31, 2006 4:36 am

Install driver

Post by TonyLedford » Thu Jun 14, 2007 3:50 am

I want to be able to determine which keyboard is attached to a computer and, if it is a particular one (older Dell CAC Reader keyboard - 3106 I believe), check the keyboard driver currently installed and if it isn't the most recent, install a updated driver.

Is this possible/doable?

Thank you,

Tony

User avatar
jvierra
Posts: 13725
Joined: Tue May 22, 2007 9:57 am
Contact:

Install driver

Post by jvierra » Thu Jun 14, 2007 6:33 am

This is what you are likely to get from WMI:

Code: Select all

	

	instance of Win32_Keyboard

Most vendors don't provide intelligent keyboards. The driver info can be referenced from DeviceID or PNPDeviceID.

USB keyboards will probably have the vendor info flled in more completely.
jvierra2007-06-14 13:34:39

Locked