driverquery - List Installed Drivers

Maintained on
Table of Contents

The driverquery command displays a list of the device drivers installed on your computer.

From Command Prompt alone, you can see which drivers are loaded, whether they are signed, and where the driver files are located. It is also handy for recording the current state and sharing it when troubleshooting.

Basic syntax of driverquery

driverquery [/s <computer> [/u [<domain>\]<user> [/p <password>]]] [/fo {TABLE | LIST | CSV}] [/nh] [/v | /si]

Run without arguments, it prints the list of drivers as a table.

driverquery
- □ ×
Command Prompt Icon
Command Prompt
Microsoft Windows [Version xx.x.xxxxx.xxx]
(c) 2026 Ribbit App Development All rights reserved.
 
C:\users\user>driverquery
Module Name Display Name Driver Type Link Date
============ =========================== ================= ======================
(one line per driver follows)
C:\users\user>

By default, these four columns are shown.

ColumnDescription
Module NameShort name of the driver
Display NameDisplay name of the driver
Driver TypeKernel driver, file system driver, and so on
Link DateDate and time the driver was built
Output varies by environment

Column names and the contents of the list depend on the Windows display language and the drivers installed. The output above is an example to show the format.

Option reference

OptionDescription
/vShow detailed information such as state and file path
/siShow signature information (signed or not, manufacturer, INF file name)
/foChoose the output format from TABLE, LIST, or CSV
/nhHide column headers (for TABLE and CSV)
/sSpecify a remote computer
/uSpecify the user to connect to the remote computer with
/pSpecify the password for the user given with /u
/v and /si cannot be combined

Specify either /v or /si, not both. Using both results in an error.

Show detailed information (/v)

With /v, the output includes the driver state and file location in addition to the default columns.

driverquery /v

The main columns added are:

  • Description and start mode
  • State (running, stopped, and so on)
  • Status details (such as OK)
  • Whether the driver accepts stop and pause
  • Memory-related columns (paged pool, code, BSS)
  • Path (location of the driver file)

Verbose output makes each row very long, so combining it with /fo list is easier to read on screen.

driverquery /v /fo list

Check signature information (/si)

With /si, you can see whether each driver is signed, who the manufacturer is, and which INF file installed it.

driverquery /si

To find only unsigned drivers, filter with findstr or similar. The value that indicates whether a driver is signed can differ by display language, so check the output of driverquery /si first and then decide what string to search for.

sigverif can also check signatures

If you prefer a GUI, the built-in file signature verification tool (sigverif) can also check signatures.

Save the result to a file

Using /fo csv and redirection, you can save the result to a file and open it in Excel or similar.

driverquery /v /fo csv > drivers.csv

If the file looks garbled in Excel, see the character encoding article listed under related articles.

To omit the header row, add /nh.

driverquery /fo csv /nh > drivers-nohead.csv

Find a specific driver

Pipe the output of driverquery to find or findstr to show only the drivers you want.

driverquery | find /i "usb"

/i makes the search case-insensitive. To look for network-related drivers:

driverquery | findstr /i "net nic wifi"
- □ ×
Command Prompt Icon
Command Prompt
Microsoft Windows [Version xx.x.xxxxx.xxx]
(c) 2026 Ribbit App Development All rights reserved.
 
C:\users\user>driverquery | find /i "usb"
(only lines whose module name or display name contain usb are shown)
C:\users\user>

Record the driver list in a batch file

This batch file saves the current driver state to the desktop for when trouble occurs.

save-drivers.cmd
@echo off
setlocal

set "OUTFILE=%USERPROFILE%\Desktop\drivers.csv"

driverquery /v /fo csv > "%OUTFILE%"

if errorlevel 1 (
  echo Failed to get the driver list.
  exit /b 1
)

echo Saved to %OUTFILE%.

endlocal

Check the drivers on another computer

Specify a computer name or IP address with /s to check the drivers of another computer on the network.

driverquery /s PC-01 /u username

/u and /p are used together with /s. If you omit /p, you are prompted for the password. Typing a password directly on the command line can leave it in history, so it is safer to omit it and enter it interactively. Whether a remote connection works also depends on the firewall and permission settings of the other computer.

Summary

GoalCommand
List driversdriverquery
Show details such as state and pathdriverquery /v
Show signature informationdriverquery /si
Save to a CSV filedriverquery /v /fo csv > drivers.csv
Find a specific driverdriverquery | find /i "usb"

Practice questions

Practice Problem

Which option shows driver signature information (whether it is signed, and the manufacturer)?

Choose one answer.

  1. /v
  2. /si
  3. /nh

Practice Problem

Which command saves the driver list to a file as CSV without a header row?

Choose one answer.

  1. driverquery /fo table /nh > drivers.csv
  2. driverquery /fo csv /nh > drivers.csv
  3. driverquery /v /si > drivers.csv
#Command Prompt #Batch Files #Command Line #Commands #Drivers #System Information