To list all installed drivers on a Windows 11 system using the command line, you can use either Command Prompt or PowerShell. Below are the methods to achieve this:
Using Command Prompt
- Open Command Prompt as Administrator.
- Run the following command to list all drivers with detailed information:
driverquery /FO list /vThis provides a comprehensive list of drivers, including their names, types, states (running or stopped), and other details. - If you prefer a tabular format, use:
driverquery /FO table /v
Using PowerShell
- Open PowerShell as Administrator.
- Execute the following command to retrieve driver details: Get-WmiObject Win32_PnPSignedDriver | Select-Object DeviceName, DriverVersion, Manufacturer This lists Plug and Play drivers along with their device names, versions, and manufacturers.
- For exporting the output to a file (e.g., CSV):
Get-WmiObject Win32_PnPSignedDriver | Select-Object DeviceName, DriverVersion, Manufacturer | Export-Csv -Path "C:\DriversList.csv" -NoTypeInformation
Best Practices
- Use driverquery for a more exhaustive list of all drivers on the system.
- Use PowerShell for specific details like signed drivers or exporting data for further analysis.
- Always run these commands with administrative privileges to ensure complete access to driver information.
These methods allow you to efficiently view and manage driver details on your Windows 11 system.