Displays the hardware IDs, compatible IDs, and device instance IDs of devices on the system. Valid on local and remote computers.
devcon [/m:\\computer] hwids {* | 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 (hwids). Otherwise, DevCon ignores the /m parameter and displays the hardware IDs of devices on the local computer without returning a syntax error.
To create a hardware ID for a root-enumerated device, use the DevCon SetHwID command.
devcon hwids * devcon /m:\\server01 hwids acpi* devcon hwids acpi* *port* devcon hwids =usb
Example 1: Find all hardware IDs