Hardware

What Drivers Do I Have? List Installed Drivers on Windows

To see what drivers you have on Windows, run driverquery in Command Prompt for a quick list of installed device drivers, or open Device Manager (right-click Start, then Device Manager) to check a single device. For third-party driver packages with versions and dates, run pnputil /enum-drivers in an administrator prompt.

Each tool answers a slightly different question, so pick by what you need to know.

You want to knowUse
The driver for one specific deviceDevice Manager, Driver tab
A quick list of installed device driversdriverquery
Which third-party driver packages are installedpnputil /enum-drivers
Every driver, including built-in ones, as PowerShell objectsGet-WindowsDriver -Online -All

How to check a driver in Device Manager

  1. Right-click the Start menu and select Device Manager.
  2. Expand a category, for example Display adapters or Network adapters.
  3. Right-click the device and select Properties.
  4. Select the Driver tab.

Microsoft's steps cover opening Device Manager and the Driver tab, where the Roll Back Driver button lives. Device Manager shows one device at a time, so it is a poor fit for auditing a whole machine. To update a graphics driver once you know what you have, see how to update your GPU driver on Windows.

How to list installed drivers with driverquery

Open Command Prompt or PowerShell and run:

driverquery

Without parameters, it lists the installed device drivers on the local computer. Useful variations, all from Microsoft's reference:

driverquery /fo csv
driverquery /fo list
driverquery /nh
driverquery /si
  • /fo table is the default format. /fo list prints one property per line, and /fo csv prints comma-separated values you can open in a spreadsheet.
  • /nh omits the header row. It is not valid together with /fo list.
  • /si gives information about signed drivers.
  • /v gives verbose output, but Microsoft notes it is not valid for signed drivers, so do not combine it with /si.

To save the list to a file you can search or share:

driverquery /fo csv > drivers.csv

How to list driver packages with pnputil

PnPUtil is included in every version of Windows since Windows Vista. Open a Command Prompt as administrator and run:

pnputil /enum-drivers

This enumerates all third-party driver packages in the driver store. "Third-party" means packages added by hardware vendors or by you, not the drivers that ship inside Windows. The older switch pnputil -e still works as a legacy mapping of the same command.

Two filters exist on newer builds. /class filters by class name or GUID (Windows 11, version 21H2 and later), and /files lists every file in each package (Windows 11, version 22H2 and later):

pnputil /enum-drivers /class Display

Replace Display with the class you want. If a filter is rejected, you are on an older build, so run the unfiltered command.

Which driver is a specific device using?

To go from a device to its driver, /enum-devices (Windows 10, version 1903 and later) lists devices, and its /drivers flag (Windows 10, version 2004 and later) adds the matching and installed drivers:

pnputil /enum-devices /connected /class Display /drivers

Use /problem instead of /class to list only devices that have a problem code, which is the quickest way to find a device whose driver failed to load.

How to list all drivers in PowerShell

In an administrator PowerShell window:

Get-WindowsDriver -Online -All

Microsoft's example for this exact command is "Gets all drivers in an online image". -Online targets the Windows installation you are running. -All matters: according to the documentation, if you leave it out, only third-party drivers are listed, and with it you also get the default drivers that ship with Windows. The output is a collection of objects, so you can sort and export it with standard cmdlets:

Get-WindowsDriver -Online -All | Export-Csv -Path "$env:USERPROFILE\Desktop\drivers.csv" -NoTypeInformation

To see detailed information about one package, pass its .inf file to -Driver. The documentation shows this with -Path for an offline image, so check the output on your own machine when you try it online.

Reading the results

  • oem#.inf names are third-party. This is the file name PnPUtil's /delete-driver and /export-driver commands take, so note it before removing or exporting a package.
  • Many drivers are not "yours" to manage. The long default list from Get-WindowsDriver -All includes the default drivers that ship with Windows, which is why it is so much longer than the third-party list.
  • A driver in the store is not always in use. A package can sit in the driver store after a device was removed. Cross-check with pnputil /enum-devices /connected /drivers to see which ones a connected device actually uses.

If a command fails

If pnputil or Get-WindowsDriver reports an access problem, reopen the window as administrator with Run as administrator. If a flag such as /class or /drivers is not recognized, the flag needs a newer Windows build than yours. Run pnputil /? to see what your version supports.

Frequently asked questions

Why does driverquery show fewer details than Device Manager?
driverquery lists installed device drivers and their properties as a table, with no per-device driver version and date view. Device Manager shows one device at a time and has a Driver tab for that device. For a full list with versions, use pnputil /enum-drivers or Get-WindowsDriver -Online -All.
What is the difference between a driver and a device?
A device is the piece of hardware, or a virtual device, that Windows detects. A driver is the software package Windows uses to talk to it. One driver package can serve several devices, and Windows ships many built-in drivers that never appear in the third-party list.
Do I need administrator rights to list drivers?
Microsoft's PnPUtil page says to run it from a command prompt opened as administrator. The Get-WindowsDriver and driverquery pages state no requirement, but running PowerShell as administrator is the safe default if a command is refused.

Sources