Home
%3CLINGO-SUB%20id%3D%22lingo-sub-374977%22%20slang%3D%22en-US%22%3ETwo%20Minute%20Drill%3A%20DriverQuery.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-374977%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Oct%2021%2C%202011%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EHello%20AskPerf!%26nbsp%3B%20Blake%20here%20to%20discuss%20an%20internal%20command%20line%20tool%20called%20DriverQuery.%26nbsp%3B%20What%20exactly%20is%20DriverQuery%3F%26nbsp%3B%20I%E2%80%99m%20glad%20you%20asked.%26nbsp%3B%20In%20a%20nutshell%2C%20DriverQuery%20is%20a%20command%20line%20tool%20that%20displays%20a%20list%20of%20all%20installed%20device%20drivers%20and%20their%20properties.%26nbsp%3B%20Let%E2%80%99s%20check%20out%20its%20options%20and%20some%20examples.%26nbsp%3B%20When%20you%20type%20%E2%80%9CDriverQuery%20%2F%3F%E2%80%9D%20from%20a%20command%20prompt%2C%20the%20following%20appears%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F92886i4B6CE4E2014B7C6E%22%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ENow%20let%E2%80%99s%20take%20a%20look%20at%20some%20DriverQuery%20examples%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Show%20all%20installed%20device%20drivers%20which%20includes%20Module%20Name%2C%20Display%20Name%2C%20Driver%20Type%2C%20and%20Link%20Date%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5C%26gt%3BDriverquery.exe%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E*To%20display%20addition%20columns%20(see%20below)%2C%20add%20the%20%E2%80%9C%2FV%E2%80%9D%20switch%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EModule%20Name%2C%20Display%20Name%2C%20Description%2C%20Driver%20Type%2C%20Start%20Mode%2C%20State%2C%20Status%2C%20Accept%20Stop%2C%20Accept%20Pause%2C%20Paged%20Pool%2C%20Code(bytes%2C%26nbsp%3B%20BSS(by%2C%26nbsp%3B%20Link%20Date%2C%20Path%2C%20Init(bytes%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Show%20all%20installed%20device%20drivers%20in%20a%20list%20view%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5C%26gt%3BDriverquery.exe%20%2Ffo%20list%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Do%20not%20list%20the%20column%20header%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5C%26gt%3BDriverquery.exe%20%2Fnh%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Find%20drivers%20that%20are%20not%20signed%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5C%26gt%3BDriverquery.exe%20%2Fsi%20%7C%20findstr%20FALSE%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Find%20drivers%20that%20are%20currently%20Running%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5C%26gt%3BDriverquery.exe%20%2Fv%20%7Cfindstr%20Running%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFor%20most%20of%20these%20commands%2C%20you%20may%20want%20to%20add%20the%20%E2%80%9C%26gt%3B%E2%80%9D%20command%20redirection%20option%20to%20output%20the%20results%20to%20a%20.txt%20file.%26nbsp%3B%20For%20example%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EC%3A%5C%26gt%3BDriverquery.exe%20%2Fv%20%26gt%3B%20C%3A%5Cresults.txt%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20Additional%20Resources%3A%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fbb490896.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20DriverQuery%20on%20TechNet%20%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Fmagazine%2Fee851682.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Use%20the%20Driverquery%20Command%20to%20Take%20Inventory%20of%20Installed%20Drivers%20%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%3CP%3E-Blake%20Morrison%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-374977%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Oct%2021%2C%202011%20Hello%20AskPerf!%26nbsp%3B%20Blake%20here%20to%20discuss%20an%20internal%20command%20line%20tool%20called%20DriverQuery.%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-715433%22%20slang%3D%22en-US%22%3ERe%3A%20Two%20Minute%20Drill%3A%20DriverQuery.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-715433%22%20slang%3D%22en-US%22%3EIt's%20a%20Google%20Search%20Plattform!%20You%20can%20use%20Querry%20Words%20in%20the%20URL-Searchlist.%20Like%3A%20%40Producer%40Hardware%40Co%40%20It%20search%20exactly%20the%20Precisest%20Answer%20in%20any%20Cloud%20thats%20beleve!%20The%20Apps%20Name%20is%20Multyquerry%3C%2FLINGO-BODY%3E
Microsoft
First published on TECHNET on Oct 21, 2011

Hello AskPerf!  Blake here to discuss an internal command line tool called DriverQuery.  What exactly is DriverQuery?  I’m glad you asked.  In a nutshell, DriverQuery is a command line tool that displays a list of all installed device drivers and their properties.  Let’s check out its options and some examples.  When you type “DriverQuery /?” from a command prompt, the following appears:




Now let’s take a look at some DriverQuery examples:


Show all installed device drivers which includes Module Name, Display Name, Driver Type, and Link Date


C:\>Driverquery.exe


*To display addition columns (see below), add the “/V” switch


Module Name, Display Name, Description, Driver Type, Start Mode, State, Status, Accept Stop, Accept Pause, Paged Pool, Code(bytes,  BSS(by,  Link Date, Path, Init(bytes



Show all installed device drivers in a list view


C:\>Driverquery.exe /fo list



Do not list the column header


C:\>Driverquery.exe /nh



Find drivers that are not signed


C:\>Driverquery.exe /si | findstr FALSE



Find drivers that are currently Running


C:\>Driverquery.exe /v |findstr Running



For most of these commands, you may want to add the “>” command redirection option to output the results to a .txt file.  For example:


C:\>Driverquery.exe /v > C:\results.txt



Additional Resources:



-Blake Morrison