Generate a List of Installed Drivers from the Command Line

By Lowell Heddings on December 7th, 2007

We’ve already covered how to take a quick look at the list of installed drivers using DriverView, but what if you are on a machine that doesn’t already have that software installed? There’s a command line utility that comes bundled with Windows Vista or XP that gives you similar output.

It’s also useful if you are a command line junkie and have cygwin installed… you can just pipe the command through grep and quickly see exactly what you are looking for.

Running the command with no parameters will give you the default output:

image 

To get verbose output you can use the /v parameter:

driverquery /v

Or to output in list or csv format instead of the default table format, you can use the /FO switch

driverquery /FO [list, table, csv]

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

driverquery /FO list /v

You should see output similar to this:

image

If you have cygwin installed you could pipe this through grep, but you should be able to pipe the output into a file, for instance like this:

driveryquery > test.txt

image

Always useful to know how to use the command line!

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 12/7/07
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!