driverquery.exe

  • File Path: C:\Windows\system32\driverquery.exe
  • Description: Queries the drivers on a system

Hashes

Type Hash
MD5 45C068A7D9C9D304FCEC5ED4CB6CEBB2
SHA1 CB2B37FA13EA4AD18746A6CC85EC68A27B058B5F
SHA256 4CB5B035E0F4E62350F91366BF16CA816BEC39AEDA4F11DFF44B01525DDBE272
SHA384 89E1B4D4ECEC52BA8FAA45A5261A5AA999EA3EA51C8052596529F65EF40F42B02A5A3B4D02183A1EFE585C6F146849C1
SHA512 A9D73FB2A4D30D76913CDB3F9E6C2425C223DDDDD6FFF7E2FF071E9A05502433B10BCA9D01D3750998E89D703E4FD7A50B0ED7865169E9B4858717FBB5C69A24
SSDEEP 1536:jilIWf1LzmJoPtvMRS5TZhvL3lw6+SJlZRSF/NvSIexKxyVKR:mlDmJo1vZhL3HPZsFVexXg
IMP A87A1089836CF0B5D0149F0CD61532AF
PESHA1 9D9667B15FB190C3E21C391F5DD2841E61EADD69
PE256 9B3B494DD2866053EC300C0AECAC4D1A0D9B34427BE2F1E08535AE6A58BD9596

Runtime Data

Usage (stdout):


DRIVERQUERY [/S system [/U username [/P [password]]]]
              [/FO format] [/NH] [/SI] [/V] 
Description:
    Enables an administrator to display a list of 
    installed device drivers.

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.

      /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. Valid for  
                              "TABLE" and "CSV" format only.

      /SI                     Provides information about signed drivers.

      /V                      Displays verbose output. Not valid 
                              for signed drivers.

      /?                      Displays this help message.

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

Usage (stderr):

ERROR: Invalid argument/option - '--help'.
Type "DRIVERQUERY /?" for usage.

Child Processes:

csrss.exe winlogon.exe

Signature

  • Status: Signature verified.
  • Serial: 33000001C422B2F79B793DACB20000000001C4
  • Thumbprint: AE9C1AE54763822EEC42474983D8B635116C8452
  • Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
  • Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

File Metadata

  • Original Filename: drvqry.exe.mui
  • Product Name: Microsoft Windows Operating System
  • Company Name: Microsoft Corporation
  • File Version: 10.0.17763.1 (WinBuild.160101.0800)
  • Product Version: 10.0.17763.1
  • Language: English (United States)
  • Legal Copyright: Microsoft Corporation. All rights reserved.
  • Machine Type: 64-bit

File Scan

  • VirusTotal Detections: 0/68
  • VirusTotal Link: https://www.virustotal.com/gui/file/4cb5b035e0f4e62350f91366bf16ca816bec39aeda4f11dff44b01525ddbe272/detection/

Additional Info*

*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.


driverquery

Enables an administrator to display a list of installed device drivers and their properties. If used without parameters, driverquery runs on the local computer.

Syntax

driverquery [/s <system> [/u [<domain>\]<username> [/p <password>]]] [/fo {table | list | csv}] [/nh] [/v | /si]

Parameters

Parameter Description
/s <system> Specifies the name or IP address of a remote computer. Do not use backslashes. The default is the local computer.
/u [<domain>]<username> Runs the command with the credentials of the user account as specified by user or domain\user. By default, /s uses the credentials of the user who is currently logged on to the computer that is issuing the command. /u can’t be used unless /s is specified.
/p <password> Specifies the password of the user account that is specified in the /u parameter. /p cannot be used unless /u is specified.
/fo table Formats the output as a table. This is the default.
/fo list Formats the output as a list.
/fo csv Formats the output with comma-separated values.
/nh Omits the header row from the displayed driver information. Not valid if the /fo parameter is set to list.
/v Displays verbose output. /v is not valid for signed drivers.
/si Provides information about signed drivers.
/? Displays help at the command prompt.

Examples

To display a list of installed device drivers on the local computer, type:

driverquery

To display the output in a comma-separated values (CSV) format, type:

driverquery /fo csv

To hide the header row in the output, type:

driverquery /nh

To use the driverquery command on a remote server named server1 using your current credentials on the local computer, type:

driverquery /s server1

To use the driverquery command on a remote server named server1 using the credentials for user1 on the domain maindom, type:

driverquery /s server1 /u maindom\user1 /p p@ssw3d

Additional References


MIT License. Copyright (c) 2020-2021 Strontic.