Driverquery command in Windows
The driverquery command allows the admin to display a list of installed device drivers and their properties. If used without parameters, the driverquery command will run on the local computer.
For an example of how to use this command, please see the example below.
Driverquery command syntax
driverquery [/s [/u [] [/p ]]] [/fo {table | list | csv}] [/nh] [/v | /si] Parameters
Parameter Description / s Specifies the name or IP address of the remote computer. Do not use backslashes. The default is the local computer. / u [] Run the command with login information from the user account as specified by User or Domain * User. By default, ** / s * uses the login information of the user who is currently logged on to the computer issuing the command. The parameter / u cannot be used unless the parameter / s is specified. / p Specifies the password of the user account specified in the / u parameter . The / p parameter cannot be used unless / u is specified. / fo {table List / Ignore the header row from the displayed driver information. Invalid if the / fo parameter is set to list. / v Display detailed output. Invalid parameter / v for signed drivers. / si Provide information about the signed driver. /? Show help at the command prompt.For example
To display a list of device drivers installed on the local computer, enter:
driverquery To display the output in Comma-Separated Values (CSV) format - a value separated by commas, enter:
driverquery /fo csv To hide the header row in the output, enter:
driverquery /nh To use the driverquery command on the remote server named server1, use your current login information on the local computer, enter:
driverquery /s server1 To use the driverquery command on the remote server named server1, use the login information for user1 in the domain maindom, enter:
driverquery /s server1 /u maindomuser1 /pp@ssw3d See more:
- Diskshadow command in Windows
- Diskperf command in Windows
- Diskcopy command in Windows