Generate a report of installed drivers Generare un rapporto di driver installati
I came across this built-in command that works under XP, 2003, and Vista. Sono venuto in questo built-in del comando che funziona sotto XP, 2003 e Vista.
From the command line you can type: Dalla riga di comando è possibile digitare:
driverquery driverquery
And it will immediately come back with a complete list of drivers E sarà immediatamente ritornare con un elenco completo dei conducenti

Better yet, the program is loaded with options. Meglio ancora, il programma è caricato con le opzioni. If we look at the help screen for it: Se guardiamo alla schermata di aiuto per:
Parameter List: Elenco parametro:
/S system Specifies the remote system to connect to. / S sistema Specifica il sistema remoto a cui connettersi.
/U [domain\]user Specifies the user context / U [dominio \] utente Specifica il contesto utente
under which the command should execute. in base alla quale il comando deve eseguire.
/P [password] Specify the Password for the given / P [password] Specifica la password per il dato
user context. contesto utente. Prompts for input if omitted. Istruzioni per l'ingresso, se omesso.
/FO format Specifies the type of output to display. / PER formato di specificare il tipo di output a schermo.
Valid values to be passed with the Valori validi per essere passato con il
switch are “TABLE”, “LIST”, “CSV”. interruttore sono "TABELLA", "list", "CSV".
/NH Specifies that the “Column Header” / NH Specifica che la "colonna"
should not be displayed in the non deve essere visualizzata in
screen output. schermo di uscita. Valid for “TABLE” Valido per "TAVOLA"
and “CSV” format only. e "CSV" solo in formato.
/V Displays detailed information. / V Mostra informazioni dettagliate. Not valid Non valido
for signed drivers. firmato per i conducenti.
/SI Provides information about signed drivers. / SI Fornisce informazioni su firmato driver.
/? Displays this Help/Usage. Visualizza questo Aiuto / Utilizzo.
We can see that it is possible to query a computer remotely. Possiamo vedere che è possibile eseguire query di un computer remoto. I was going to build a simple program to do this for me…but is already built in! Stavo per costruire un programma semplice per fare questo per me… ma è già costruito nel!
My purpose was that I wanted to create a report of drivers on computers across my network. Il mio scopo è stato che ho voluto creare un rapporto di driver sul mio computer in rete. To accomplish this, it required two batch files. Per fare questo, che ha richiesto due file batch.
I first created a batch file that looks like this: In primo luogo ho creato un file batch che assomiglia a questo:
@echo =========================================== @ echo ===========================================
@echo Driver Report for Computer: %1 @ echo Relazione driver per computer:% 1
@echo =========================================== @ echo ===========================================
@driverquery /s %1 /u intelliadmin\administrator /p [Password Removed] @ driverquery / s% 1 / u intelliadmin \ amministratore / p [Password Rimosso]
@echo @ echo
Lets save that as DriverReport.bat Che consente di salvare come DriverReport.bat
The script will run a driver query against a remote computer with the specified username and password…and will output to the command line a nicely formatted report. Lo script esegue un driver di query nei confronti di un computer remoto con un determinato nome utente e la password… e di uscita alla riga di comando per uno ben formattato relazione. The computer name will be provided as the first command line parameter (That is what %1 is for) Il nome del computer verrà fornito come primo parametro della riga di comando (Questo è ciò che è 1% per)
Also - if you notice - you will need to put your password as cleartext in this batch file…so make sure you delete it when done. Anche - se è legale - hai bisogno di mettere la password in chiaro come in questo file batch… in modo da assicurarsi che viene eliminata quando fare.
Now, we need to create another batch file that will actually generate the report. Adesso, abbiamo bisogno di creare un altro file batch che effettivamente generare la relazione. Here is my first crack at it: Qui è il mio primo crack a:
@del Report.txt @ Del Report.txt
@DriverReport.bat Computer1 >> Report.txt @ DriverReport.bat COMPUTER1>> Report.txt
@DriverReport.bat Computer2 >> Report.txt @ DriverReport.bat COMPUTER2>> Report.txt
@DriverReport.bat Computer3 >> Report.txt @ DriverReport.bat Computer3>> Report.txt
@DriverReport.bat Computer4 >> Report.txt @ DriverReport.bat Computer4>> Report.txt
@DriverReport.bat Computer5 >> Report.txt @ DriverReport.bat Computer5>> Report.txt
@DriverReport.bat Computer6 >> Report.txt @ DriverReport.bat Computer6>> Report.txt
It deletes any report we created before, and then generates a report for each system…then takes the output and appends it to Report.txt Cancella qualsiasi relazione che abbiamo creato prima, quindi genera una relazione per ciascun sistema… poi prende l'output e viene aggiunto a Report.txt
Simply fill out the batch file with your computer names. Semplicemente compilare il file batch con il computer nomi. You could probably throw together a vb script that would populate it for you. Si potrebbe probabilmente gettare insieme un vb script che popolano per voi.
Lets save that last script as GenerateReport.bat Che consente di salvare ultimo script come GenerateReport.bat
Now when you call it (GenerateReport.bat), Report.txt will contain a complete driver list for the computers you include. Ora, quando si chiamano (GenerateReport.bat), Report.txt conterrà un elenco completo driver per il computer si include.
Just make sure you put both batch files in the same folder - and be careful with your admin password. Solo assicurarsi di mettere entrambi i file batch nella stessa cartella - e stare attenti con il tuo password di amministratore. Don’t leave it laying around on your network in that first batch file. Non lasciarlo, che intorno sulla vostra rete prima che nel file batch.
Popularity: 8% Popularity: 8%
Written by Steve Wiseman. Scritto da Steve Wiseman. Read more great feeds at is source Per saperne di più grande al feed è fonte WEBSITE SITO WEB
4 comments 4 commenti . .
Read more articles on Per saperne di più articoli su software software . .
- [+] Digg [+] Digg : Feature this article : Feature questo articolo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Bookmark questo articolo
- [+] Furl [+] Furl : Bookmark this article : Bookmark questo articolo















#1 # 1 . November 4th, 2007, at 4:28 PM. Novembre 4th, 2007, alle 4:28 PM.
Windows XP returns an error message that “driverquery” is not recognized. Windows XP restituisce un messaggio di errore che "driverquery" non è riconosciuto. Any suggestions? Qualche suggerimento?