Saturday, 15 June 2013

How to List all The Installed Drivers in a CSV File

A list of all drivers installed on the system can be very useful while troubleshooting. In order to know exactly what’s going on with your PC for possible future fixes, you want a list in text CSV (comma-separated values) format, which can be opened by Excel as a table or by any text viewer. To do so go
to 'Start | All programs | Accessories | Command prompt’. The command line tool Driverquery.exe assists you in listing the drivers used. Type the command ‘Driverquery.exe -?’ to see an overview of
the possible parameters. The parameter ‘-fo’ is particularly interesting since it helps you determine the type of output. When you use ‘-focsv’, Driverquery.exe generates an output in CSV format. In addition, you can overlay the parameter ‘-fo’ with ‘list’ or a standard ‘table’. You'll have to redirect the information to a file to save it. Supplement the instruction with a '>' as well as the desired file name with the complete path. Such a command would look like this: ‘Driverquery.exe -fo csv > C:\Temp\DriverList.csv’.
Excel might not correctly interpret a file generated this way. To fi x this, you can load the file in any desired text editor and replace all commas with semi-colons using the search and replace function.
NOTE: While calling Driverquery. exe, use the parameter ‘-v’ to show more information about the drivers. Without ‘-v’, Windows only documents ‘Module name’, ‘Display name’, ‘Driver type’ and the ‘Link date’.

No comments:

Post a Comment