How to get an Inventory of all the Installed Device Drivers in a Machine?

Consider a scenario, where you need to take an inventory of all the Device drivers installed on your machine. This information will be very essential to identify the vendor details, Driver files and other important stats. Driverquery command will exactly help us in this purpose.

Running the Driverquery command in the Command Prompt will list out all the drivers installed on the machine. (Run the Command Prompt in Administrator Context)

Driverquery Command - Listing all the Drivers in a machine

If you want a compact record of installed drivers in a reporting format, use this command with appropriate switches. As we saw above, DriverQuery command gives all the information; You can modify the output of the command with a variety of switches, and you can redirect the output of the command to a file so that you can load it in another program.

You can use the /v switch to produce a detailed verbose information, and add the /Fo switch with the CSV parameter to generate the output in the csv (Comma Seperated Value) format. – driverquery /v /fo csv > drvlist.csv

Inventory of Installed Drivers in a Machine

Further, Opening this file Driverlist.csv in Excel will give you a highly detailed list of all your hardware. (as shown below – Click the image for ful size)

List of Installed Drivers in CSV Format - Driverquery

Similarly, using the /SI switch to get all the information on the signed drivers installed on the machine.

Inventory of Installed Signed Drivers - DriverQuery

Signed Device Drivers Information

DriverStore is a new and a central location in Windows Vista and Windows 7 where all the driver files will be stored., before they are copied to their final destination during the device driver installation. – Read more to Understand better

For a full list of the switches available for the Driverquery command., run the driverquery with a /? switch.

Driverquery with Help Syntax

You would also be interested in reading –

Guest Posts How-to Windows Installer, Application Compatibility and Deployments

Command Line Switches for MSI and MSP Installations

thumbHi Folks, Its time for yet another Guest Post; and we have Bhuvana writing for us. In this article she focuses on the command line arguments and the silent switches that can be used for msi and msp (un-installable patches). Bhuvana specializes in InstallShield & MSI Installers and her primary responsibility at work is “Build & Release” which includes creating Setups and Source Control Management.

She keeps all the details crisp in this table. I know that, this below chart will be as a printed one.. in your desks !!

Install / Uninstall Command Line Option Silent Mode
MSI – Installation  msiexec /i “<msi file name with path>” [TRANSFORMS=”<mst file name with path>”]  msiexec /i “<msi file name with path>” [TRANSFORMS=”<mst file name with path>”] /qn
MSI – UnInstallation  msiexec /x <ProductGUID> msiexec /x <ProductGUID> /qn
MSP – Installation Command line with Progress dialog:
msiexec /p “<msp file name with path>” /qb
msiexec /p “<msp file name with path>” /qn
Command line with UI:
msiexec /p “<msp file name with path>” REINSTALLMODE=oums REINSTALL=ALL
MSP – Uninstallation Command line with Progress dialog:
Msiexec /package <ProductGUID> MSIPATCHREMOVE=<PatchGUID> /qb
msiexec  /I <ProductGUID> MSIPATCHREMOVE=<PatchGUID> /qn

  1. Patch uninstallation does not work without /qb option. i.e. Patch can be uninstalled from command line only in silent mode. If you want to invoke the UI for uninstallation, go to Add / Remove Programs with Show Updates enabled.
  2. Msiexec /uninstall <PatchGUID> /package <ProductGUID> /passive
    The above command removes the entire base product but not the Patch alone.

Bhuvana’s Thought on
I came across MSIgeek blog through linkedin groups. Good to see lots of articles and FAQs on MSI at one stop. Some of the articles definitely helps to give a better insight into the concepts. So felt like contributing some article, which would help people like us, the Packaging specialists.

If you want to get in touch, her LinkedIn Profile is – Here. (PS: Do mention in the LinkedIn request that, you read her article on msigeek. We do not want to give her un-necessary Spams 🙂 )