Export (0) Print
Expand All
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Expand Minimize
2 out of 3 rated this helpful - Rate this topic

Driverquery

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Vista

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

For examples of how to use this command, see Examples.

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 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 cannot 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 | list | csv}

Specifies the format to display the driver information. Valid values are table, list, and csv. The default format for output is table.

/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.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.