Displays the status (running, stopped, or disabled) of the driver for devices on the computer. Valid on local and remote computers.
devcon [/m:\\computer] status {* | ID [ID ...] | =class [ID [ID ...]]}
The following special characters modify the ID parameter.
| Character | Description |
|---|---|
| * | Matches any character or no character. Use the wildcard character (*) to create an ID pattern, for example, *disk*. |
| @ | Indicates a device instance ID, for example, @ROOT\FTDISK\0000. |
| '
(single quote) |
Matches the string literally (exactly as it appears). Precede a string with a single quote to indicate that an asterisk is part of the ID name and is not a wildcard character, for example, '*PNP0600, where *PNP0600 (including the asterisk) is the hardware ID. |
You can also specify hardware IDs, compatible IDs, device instance IDs, or ID patterns following the class name. Type a space between each ID or pattern. DevCon finds devices in the class that match the specified IDs.
The /m parameter must precede the operation name (status). Otherwise, DevCon ignores the /m parameter and displays the status of device drivers on the local computer without returning a syntax error.
If DevCon cannot determine the status of the device, such as when the device is no longer attached to the computer, DevCon omits the line describing the status from the status display.
The following example shows a successful status command. The text describing the device status appears in bold type.
STORAGE\VOLUME\1&30A96598&0&SIGNATURE80OFFSET7E0000LENGTH270987600
Name: Generic volume
Driver is running.
1 matching device(s) found.
In contrast, the following example shows how DevCon displays the status of a device that that it cannot find. The status description is missing from the display.
STORAGE\VOLUME\1&30A96598&0&SIGNATURE80OFFSET7E0000LENGTH270987600
Name: Generic volume
1 matching device(s) found.
devcon /m:\\Server01 status * devcon status pci* devcon status "PCI\VEN_115D&DEV_0003&SUBSYS_0181115D" devcon status =printer
Example 17: Display the status of all devices on the local computer
Example 18: Display the status of a device by device instance ID
Example 19: Display the status of related devices on a remote computer