11

I have a physical device object name, e.g. "\Device\0000007c".

In Windows 7, how do I find what device corresponds to that ID short of going through every device in my system in Device Manager, one at a time, opening the properties dialog and looking at the Physical Device Object Name entry?

I found Find device in Windows based on Physical Device Object (PDO) identifiers but that turned out to be a bit of an XY problem and doesn't answer this question.

I tried searching the registry (keys/values/data) for the string "0000007c", "0000007C", and the dword 0x0000007C but could not find anything related to devices.

In older Windows you could print a full report from Device Manager (which I could then search), but in Windows 7 the Device Manager no longer has this option.

  • You could search the object name in the registry, and then inspect the parent/child keys to get additional information. – and31415 Jul 19 '14 at 10:31
  • @and31415 I already tried that but could not find anything; I'll update the question. – Jason C Jul 19 '14 at 10:41
  • 2
    Try running the following command from a command prompt, and post here the output: wmic path Win32_PnPSignedDriver where "pdo like '%0000007c'" get devicename,pdo – and31415 Jul 19 '14 at 18:17
  • @and31415 Just tried it; it worked! – Jason C Jul 29 '14 at 16:55
11

Solution

From the official documentation:

When a bus driver detects that child devices have been plugged in or unplugged, it informs the Plug and Play (PnP) manager. In response, the PnP manager asks the bus driver to create a physical device object (PDO) for each child device that is connected to the parent device (that is, the bus).

Source: WDM Concepts for WDF Drivers

To get the required information, open a command prompt and run the following command:

wmic path Win32_PnPSignedDriver where "pdo like '%0000007c'" get devicename,pdo

Further reading

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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