Skip to main content
TechNet

Tip:Use the Driverquery Command to Take Inventory of Installed Drivers


If you want a more compact record of installed drivers in a format that you can review later, use the Driverquery command. Entering this command with no switches produces a simple list of installed devices and drivers. You can modify the output of the command with a variety of switches, and you can redirect the output of the command to a file so that you can load it in another program.

Follow Our Daily Tips
Tell Us Your Tips

For instance, you can use the /V switch to produce a detailed (verbose) listing, and add the /FO switch with the Csv parameter to generate the output in a format suitable for use in Microsoft Office Excel:

driverquery /v /fo csv > drvlist.csv

Open Drvlist.csv in Excel to see a neatly formatted and highly detailed list of all your hardware. (For a full list of the switches available for the Driverquery command, add the /? switch or search for Driverquery in Windows Help and Support.)

From the Microsoft Press book Windows 7 Inside Out by Ed Bott, Carl Siechert, and Craig Stinson.
Looking for More Tips?

For more tips on Windows 7 and other Microsoft technologies, visit the TechNet Magazine Tips library.