3

I need to find the GUID for an existing USB device attached to my Windows XP system. How can this be done using WMI or the registry? Or, is there another avenue that I should explore? Thanks.

Additional Information:

I need to find the GUID for a specific known device; it is not expected to change. If I need to write a little program, use some tool, or look somewhere in the Windows system to find this information, it's all the same to me.

2
  • I assume you mean the device class GUID? Are you trying to do this programmatically or manually? Are you trying to get the GUID for a specific known device, or are you trying to look up an arbitrary device's GUID at runtime? Commented Dec 7, 2010 at 15:08
  • @Josh Kelley: I added some additional information to my original question, which hopefully answers your questions.
    – Jim Fell
    Commented Dec 7, 2010 at 15:13

3 Answers 3

5

Control Panel > Device Manager > Right Click on Device > Properties > Details Tab > Change 'Property' to Driver Key > Guid will be displayed in 'value' section

1
  • 1
    I just tried that, and got 88BAE032-5A81-49f0-BC3D-A4FF138216D6, which is the GUID for USB device class. I believe all USB devices have that GUID Commented Jan 11, 2018 at 1:00
4

For a specific known device, the easiest way I've found is to open the .inf file for that device's driver (if you have the driver); it should be clearly indicated there.

You can probably also poke around under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB.

1
  • Accepted because you beat me to it.
    – Jim Fell
    Commented Dec 7, 2010 at 17:03
1

DevViewer from Symantec also seems to do the trick.

Not the answer you're looking for? Browse other questions tagged or ask your own question.