Title : Get a List of Vista's Drivers from the Command Prompt
Author : Alan McCloskey
Date : Thursday, March 13, 2008


Do you know what's installed?

If you've had your PC running for any length of time, then you've no doubt added and removed hardware since Windows was first installed.  Even if you uninstall the hardware, there may still be traces of the drivers on your system, and possibly even multiple versions that could cause conflicts.

Even if you have a "semi-closed" system like a laptop, there are many drivers that get installed for even the simplest of "add-on" devices.  Have you noticed that plugging in a USB drive prompts Windows to find the proper drivers?  For general hardware like USB and hard drives, the OS uses Microsoft's default drivers that ship with the OS, so this usually isn't a problem. But you may have noticed that if you plug the same USB drive into a different USB port that Windows may "reinstall" the driver? 

Fortunately you can compile a list of all the drivers installed on your system (including drivers not in use and "signed" drivers).  This list will even give you the driver's files, name, description, version, and tons of other useful information.  You can even export the data in nearly any raw format, such as a comma-delimited file (CSV), table, or a simple list.  You can even extract this information from other computers on your network (provided you have access rights).  This tool can be invaluable not only to the IT professional, but home users as well.

The little tool that gets all of this information for you is called DRIVERQUERY, and can be run from the command prompt.

Here are the available parameter switches and what they do:

DRIVERQUERY optional parameters
switch switch name description

/S

system

Specifies the remote system to connect to.

/U

[domain\]user

Specifies the user context under which the command should execute.

/P

password

Spedicy the password for the given user context.

/FO

format

Specifies the type of output to display.  Valid values to be passed with teh switch are "TABLE", "LIST", "CSV"

/NH

  Specifies that the "Column Header" should not be displayed.  Valid for "TABLE" and "CSV" format only.

/SI

  Provides information about signed drivers.

/V

  Displays verbose output.  Not valid for signed drivers.

/?

  Displays a help message

To generate a simple list, just type driverquery at the command prompt.

To get verbose output, add the /V parameter.

driverquery /v

By default the information is displayed in a table format, but you can generate the list using a comma-delimited (CSV) format.  This can be helpful if you need to process this information in a spreadsheet (or even import into a database):

driverquery /FO csv

So for instance, if you ran the following command to give you verbose information in list format:

driverquery /FO list /v

Once you find a format that works for you, you can save the output to a text file, and then use your favorite text editor (I personally use UltraEdit) to search through.  This is especially useful if you're compiling driver lists from several computers, so you can have a seperate file for each PC.

driveryquery > c:\driverlist.txt


Back to the Guides.
 
Add Comments
Related Articles

  • Reviews : WindowBlinds 7 Review
  • Articles : Building a Media Center PC Part 2
  • Guides : Use Password Phrases for Better Security
  • Guides : Change Time format to Military or International
  • Guides : How to Clean Windows Registry
  • Guides : Create a Custom Boot Logo for Windows Vista
  • Guides : How to Back up Your Encryption Key in Vista
  • Guides : Screensaver Doesn't Turn On in Vista
  • Guides : Fix: Hard Drive goes to sleep even in High Performance Power Profile
  • Comments

    By Bryan Klumpp on Tuesday, September 02, 2008 6:41:18 PM
    thanks much, very helpful. I don't remember Vista (32-bit) prompting me to install all those unsigned drivers.
    Comment on this article!
    Name:
    Email:
    Comment:
     
    All entries are logged and must be approved before publication.
    Random Gallery Images
    GET FREE HARDWARE!
     
    Sign up for our free newsletter and enter exclusive contests with great hardware prizes.  In addition, you get access to exclusive tutorials not available anywhere else on the site.
    Name:
    Email:
    Join the Facebook Club

    Follow on Twitter

    Add RSS


    [ search OCMS ]
     

    REVIEWS TECH NEWS
    GAMING AUDIO/VIDEO GADGETS

     
    Blog Posts
    More Hard Drive Woes Windows 7 Programs not launching Making a tech site profitable OCModShop Full Time? Rock Band Unplugged: Legendary Status Batman Arkham Asylum Game of the Year? Sinuses: Shock and Awe Nintendo New Download Releases for the Week of 9/20 Mad Catz Gains Rights to Sonic the Hedgehog Videogame Accessories ‘Formal Protest’ for Jim Parsons

    Latest Hardware Rebates
    Shopping
    Core i7 965 Extreme
    Core i7 940
    Core i7 920
    Core 2 QX9770
    Core 2 Q9650
    Core 2 Quad Q6700
    Core 2 Quad Q6600
    Core 2 Duo E8400
    Core 2 Duo E6850


    Phenom 9850 Black
    Phenom 9750 Black
    Phenom 9600 Black
    Phenom 9600
    Phenom 9500
    Athlon 64 X2 6400+ Black
    Athlon 64 X2 6000+
    Athlon 64 X2 5600+
    Athlon 64 X2 5200+


    Intel DX58SO
    Gigabyte GA-EX58-UD5
    Asus Rampage Formula
    Gigabyte GA-EP45-DS3L
    Gigabyte GA-X38-DQ6
    Asus P5K Deluxe
    Shuttle SP35P2 Pro
    Shuttle SG33G5
    Antec Sonata III
    Cooler Master Cosmos
    PCP&C Silencer 750W
    Samsung 22" 226BW
    GeForce GTX 280
    GeForce GTX 260
    GeForce 9800 GTX
    GeForce 9800 GT
    GeForce 8800 Ultra


    Radeon HD 4870 X2
    Radeon HD 4870
    Radeon HD 4850 X2
    Radeon HD 4850


    Seagate 7200.11 1.5TB
    Seagate 7200.11 1TB
    WD Passport Elite 500GB
    1TB Hitachi 7K1000
    1TB Caviar GP
    750GB Caviar SE16
    750GB Barracuda


    Call of Duty World at War
    Grand Theft Auto IV
    Fallout 3
    Fable II
    Madden NFL 09
    Left 4 Dead
    Rock Band 2
    Guitar Hero World Tour

    site map | advertise | subscribe | privacy policy | RSS feeds

    Website design by Alan McCloskey. All content © OCModShop.com: 2001 - 2009, reproduction by permission only.