This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Enables an administrator to display a list of installed device drivers and their properties. If used without parameters,driverquery runs on the local computer.
driverquery [/s <system> [/u [<domain>\]<username> [/p <password>]]] [/fo {table | list | csv}] [/nh] [/v | /si]| 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 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 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 tolist. |
| /v | Displays verbose output./v is not valid for signed drivers. |
| /si | Provides information about signed drivers. |
| /? | Displays help at the command prompt. |
To display a list of installed device drivers on the local computer, type:
driverqueryTo display the output in a comma-separated values (CSV) format, type:
driverquery /fo csvTo hide the header row in the output, type:
driverquery /nhTo use thedriverquery command on a remote server namedserver1 using your current credentials on the local computer, type:
driverquery /s server1To use thedriverquery command on a remote server namedserver1 using the credentials foruser1 on the domainmaindom, type:
driverquery /s server1 /u maindom\user1 /p p@ssw3dWas this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?