Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

DevCon HwIDs

Displays the hardware IDs, compatible IDs, and device instance IDs of the specified devices. Valid on local and remote computers.


    devcon [/m:\\computer] hwids {* | ID [ID ...] | =class [ID [ID ...]]} 

   

Parameters

/m:\\computer

Runs the command on the specified remote computer. The backslashes are required.

Note   To run DevCon commands on a remote computer, the Group Policy setting must allow the Plug and Play service to run on the remote computer. On computers that run Windows Vista and Windows 7, the Group Policy disables remote access to the service by default. On computers that run WDK 8.1 and WDK 8, the remote access is unavailable.

*

Represents all devices on the computer.

ID

Specifies one or more devices by using an identifier.

Type all or part of a hardware ID, compatible ID, or device instance ID of a device. When specifying multiple IDs, type a space between each ID. IDs that include an ampersand character (&) must be enclosed in quotation marks.

The following special characters modify the ID parameter.

CharacterDescription

*

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.

 

=class

Specifies one or more devices by using a setup class.

Type all or part of the name of the setup class of the devices. The equal sign (=) identifies the string as a class name.

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.

Comments

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.

Sample Usage


devcon hwids *
devcon /m:\\server01 hwids acpi* 
devcon hwids acpi* *port*
devcon hwids =usb

Examples

Example 1: Find all hardware IDs

Example 2: Find hardware IDs by using a pattern

Example 3: Find hardware IDs by using a class

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.