Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 296
نمايش فراداده

driverquerynew in WS2003

Displays properties of installed device drivers.

Syntax

driverquery  [/s Computer] [/u Domain\User /p Password] [/fo {TABLE | LIST | 
CSV}] [/nh] [{/v | /si}]

Options

/s Computer

Name or IP address of a remote computer (if omitted, defaults to local computer)

/u Domain\User /p Password

Credentials for running the command (if omitted, defaults to currently logged-on user)

/fo {TABLE | LIST | CSV}

Format for displaying driver properties (if omitted, default is TABLE)

/nh

Omits header row from displayed information if /fo is set to TABLE or CSV

/v

Displays verbose driver information

/si

Displays properties of signed drivers

Examples

Display driver properties in table format:

driverquery
Module Name  Display Name           Driver Type   Link Date
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
ACPI         Microsoft ACPI Driver  Kernel        2/4/2003 9:09:10 PM
ACPIEC       ACPIEC                 Kernel        2/4/2003 9:09:15 PM
AFD          AFD Networking Support Kernel        2/4/2003 9:34:39 PM
agp440       Intel AGP Bus Filter   Kernel        2/4/2003 9:09:19 PM
AsyncMac     RAS Asynchronous Media Kernel        2/4/2003 9:07:37 PM
atapi        Standard IDE/ESDI Hard Kernel        2/4/2003 9:01:09 PM
...

Display driver properties in list format:

driverquery /fo list
Module Name:       ACPI
Display Name:      Microsoft ACPI Driver
Driver Type:       Kernel
Link Date:         2/4/2003 9:09:10 PM
Module Name:       ACPIEC
Display Name:      ACPIEC
Driver Type:       Kernel
Link Date:         2/4/2003 9:09:15 PM
Module Name:       AFD
Display Name:      AFD Networking Support Environment
Driver Type:       Kernel
Link Date:         2/4/2003 9:34:39 PM
Module Name:       agp440
Display Name:      Intel AGP Bus Filter
Driver Type:       Kernel
Link Date:         2/4/2003 9:09:19 PM
Module Name:       AsyncMac
Display Name:      RAS Asynchronous Media Driver
Driver Type:       Kernel
Link Date:         2/4/2003 9:07:37 PM
Module Name:       atapi
Display Name:      Standard IDE/ESDI Hard Disk Controller
Driver Type:       Kernel
Link Date:         2/4/2003 9:01:09 PM
...

Create a comma-separated text file containing driver information with headers omitted:

driverquery /fo csv /nh > log.csv

Display verbose driver information in list format:

driverquery /fo list /v
Module Name:       ACPI
Display Name:      Microsoft ACPI Driver
Description:       Microsoft ACPI Driver
Driver Type:       Kernel
Start Mode:        Boot
State:             Running
Status:            OK
Accept Stop:       TRUE
Accept Pause:      FALSE
Paged Pool(bytes): 45,056
Code(bytes):       106,496
BSS(bytes):        0
Link Date:         2/4/2003 9:09:10 PM
Path:              C:\WINDOWS\system32\DRIVERS\ACPI.sys
Init(bytes):       8,192
Module Name:       ACPIEC
Display Name:      ACPIEC
Description:       ACPIEC
Driver Type:       Kernel
Start Mode:        Disabled
State:             Stopped
Status:            OK
Accept Stop:       FALSE
Accept Pause:      FALSE
Paged Pool(bytes): 4,096
Code(bytes):       8,192
BSS(bytes):        0
Link Date:         2/4/2003 9:09:15 PM
Path:              C:\WINDOWS\system32\drivers\ACPIEC.sys
Init(bytes):       4,096
Module Name:       AFD
Display Name:      AFD Networking Support Environment
Description:       AFD Networking Support Environment
Driver Type:       Kernel
Start Mode:        Auto
State:             Running
Status:            OK
Accept Stop:       TRUE
Accept Pause:      FALSE
Paged Pool(bytes): 139,264
Code(bytes):       12,288
BSS(bytes):        0
Link Date:         2/4/2003 9:34:39 PM
Path:              C:\WINDOWS\system32\drivers\afd.sys
Init(bytes):       16,384
...

Display info for signed drivers:

driverquery /si
DeviceName                     InfName     IsSigned Manufacturer
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Advanced Configuration and Pow hal.inf     TRUE     (Standard computers)
Microsoft ACPI-Compliant Syste acpi.inf    TRUE     Microsoft
Processor                      cpu.inf     TRUE     (Standard processor types
ACPI Power Button              machine.inf TRUE     (Standard system devices)
System board                   machine.inf TRUE     (Standard system devices)
PCI bus                        machine.inf TRUE     (Standard system devices)
...

Notes

The GUI tool Device Manager in Computer Management can display driver information, update and roll back device drivers, configure hardware resource settings, and perform other administrative tasks relating to devices and device drivers.

See Also

Devices