Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

driverquery

Feedback

In this article

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

ParameterDescription
/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 byuser ordomain\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 tableFormats the output as a table. This is the default.
/fo listFormats the output as a list.
/fo csvFormats the output with comma-separated values.
/nhOmits the header row from the displayed driver information. Not valid if the/fo parameter is set tolist.
/vDisplays verbose output./v is not valid for signed drivers.
/siProvides 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 thedriverquery command on a remote server namedserver1 using your current credentials on the local computer, type:

driverquery /s server1

To use thedriverquery command on a remote server namedserver1 using the credentials foruser1 on the domainmaindom, type:

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

Related links


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?