If you're troubleshooting crashes, checking what a new graphics card or motherboard installed, or just want a record of the drivers on your PC before a big change, Windows 11 already has a tool for the job. driverquery is a built-in command that lists installed device drivers and their properties, and it can save that list as a CSV file you can open in a spreadsheet. This guide is based on Microsoft Learn's documentation for driverquery and PnPUtil, checked on 30 November 2026.
What driverquery does
Microsoft describes driverquery as a command that "enables an administrator to display a list of installed device drivers and their properties". Microsoft Learn lists it as applying to Windows 11 and Windows 10 as well as Windows Server. If you run it without any parameters, it runs on the local computer, so there's nothing to download or install.
It's a read-only listing tool: it shows you what's there, but it doesn't install, update or remove anything. That makes it a safe first step before you start changing drivers.
Step 1: Open a command prompt
Right-click the Start button and choose Terminal (or search for Command Prompt).
If you want the most complete results, choose Run as administrator, since Microsoft's description says the command is meant for administrators.
Step 2: Run driverquery
Type the following and press Enter:
driverquery
By default, the output is formatted as a table. That's handy for a quick look, but on a typical PC the list is long, so the export options below are usually more useful.
The /fo parameter controls the format:
driverquery /fo table formats the output as a table (the default).
driverquery /fo list formats the output as a list, which can be easier to read one driver at a time.
driverquery /fo csv formats the output as comma-separated values.
To hide the header row, add /nh. Microsoft notes that /nh isn't valid when /fo is set to list.
Two further switches add information:
Microsoft's documentation says /v isn't valid for signed drivers, so run /v and /si as separate commands rather than combining them.
Step 5: Save the list to a file
To keep a record, combine the CSV format with Command Prompt's standard output redirection, which writes the result to a file instead of the screen:
driverquery /fo csv /v > drivers.csv
The file is created in the folder your prompt is currently in. You can open it in Excel, LibreOffice Calc or any text editor, and keep it alongside notes on a driver update or a new GPU install so you can compare before and after.
Query another PC on your network
driverquery can also run against a remote computer. Use /s followed by the computer's name or IP address (without backslashes), and /u and /p if you need to supply a different user account and password. Microsoft's example is driverquery /s server1. This is mainly useful in offices or for home labs; most people will only ever query their own PC.
driverquery vs PnPUtil /enum-drivers
Windows has a second built-in command that lists drivers, and it's worth knowing the difference:
driverquery lists installed device drivers and their properties.
PnPUtil /enum-drivers enumerates all third-party driver packages in the driver store. Microsoft says it's available from Windows 10 version 1607, and Windows 11 version 21H2 added a /class flag to filter by driver class name or GUID. You need to run PnPUtil from an administrator prompt.
In practice, use driverquery when you want a broad list of drivers to save or filter, and PnPUtil when you're cleaning out old third-party driver packages. Our guide to removing old drivers in Windows 11 covers that clean-up step.
What to do next