JSI Tip 7483. What is the DRIVERQUERY command in Windows XP, and later?

Windows XP, and later operating systems, contain the DRIVERQUERY command.

When I open a CMD prompt and type driverquery /?, I receive:

DRIVERQUERY \[/S system \[/U username \[/P \[password\]\]\]\]
              \[/FO format\] \[/NH\] \[/SI\] \[/V\]
Description:
    Enables an administrator to enumerate and display the list of
    installed device drivers as well as their properties.

Parameter List:
      /S     system           Specifies the remote system to connect to.

      /U     \[domain\\]user    Specifies the user context
                              under which the command should execute.

      /P     \[password\]       Specify the Password for the given
                              user context. Prompts for input if omitted.

      /FO    format           Specifies the type of output to display.
                              Valid values to be passed with the
                              switch are "TABLE", "LIST", "CSV".

      /NH                     Specifies that the "Column Header"
                              should not be displayed in the
                              screen output. Valid for "TABLE"
                              and "CSV" format only.

      /V                      Displays detailed information. Not valid
                              for signed drivers.

      /SI                     Provides information about signed drivers.

      /?                      Displays this Help/Usage.

Examples:
    DRIVERQUERY
    DRIVERQUERY /FO CSV /SI
    DRIVERQUERY /NH
    DRIVERQUERY /S ipaddress /U user  /V
    DRIVERQUERY /S system /U domain\user /P password /FO LIST

Here is a snippet of the output from driverquery /V:

Module Name  Display Name           Description            Driver Type   Start Mode State      Status     Accept Stop Accept Pause Paged Pool Code(bytes BSS(by Link Date              Path                                             Init(bytes
=======

============

============

===

=

==

= =================

======================================

===== AACMgt AACMgt AACMgt Kernel Boot Running OK TRUE FALSE 0 29,120 0 09/27/2002 13:56:05 C:\WINDOWS\System32\drivers\AACMgt.sys 2,848 abp480n5 abp480n5 abp480n5 Kernel Disabled Stopped OK FALSE FALSE 0.00 17,792.00 0.00 08/17/2001 16:51:59 C:\WINDOWS\System32\DRIVERS\ABP480N5.SYS 640.00 ACPI Microsoft ACPI Driver Microsoft ACPI Driver Kernel Boot Running OK TRUE FALSE 40,192.00 103,936.00 0.00 08/29/2002 04:09:03 C:\WINDOWS\System32\DRIVERS\ACPI.sys 4,736.00 aac PERC 320/DC SCSI RAID PERC 320/DC SCSI RAID Kernel Boot Running OK TRUE FALSE 0.00 25,856.00 0.00 09/11/2002 21:19:25 C:\WINDOWS\System32\drivers\aac.sys 576.00



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish