How To Display A List of Installed Device Drivers Locally and Remotely in Windows 7

Here comes a very easy way with a single dos command, DriverQuery.exe.

Open the dos prompt window, and type in

driverquery.exe

And here it goes:

image

The driverquery.exe is a console command that displays a list of all installed device drivers and their properties. Without any switches, it retrieves a list of drivers from the local computer. If you want to do the same from a remote computer, you can use the switch /s.

driverquery.exe /s computername

You can also export the list into a file in 3 formats: Table, List, or CSV, simply using the switch /fo.

driverquery.exe /fo csv

However, you may find the output is still a bit of overwhelmed. So here, with a little help from PowerShell, we can actually have a better list that has the information we needed.

Open the PowerShell console by typing in “PowerShell” in the start menu, and pipe the drivequery output to convertfrom-csv command with select-object.

PS>driverquery.exe /v /fo csv | ConvertFrom-CSV | Select-Object ‘Display Name’, ‘Start Mode’, ‘Paged Pool(bytes)’, Path

This looks much better.

image

Kent Chen

Microsoft MVP, IT Professional, Developer, Geek, and the co-founder of Next of Windows.

Last updated: 01/13/2016

Posted in: Tips & Tricks
Discover more: ,

Leave a Reply

Notify of
avatar
George Simos
Guest

Very good article Kent, keep up the good work!
I’ve found two typos in your last powershell command : a) Drivequery.exe should be DriverQuery.exe and b) ConvertFrom_CSV should be ConvertFrom-CSV

Kent Chen
Guest

Thanks for pointing it out. I’ve now updated the post to correct them.

wpDiscuz
Today's Top Picks for Our Readers:
Recommended by Recommended by NetLine