1

I'm writing a python application on Windows 7 (64bit) where I need to start something after a new USB storage device has been mounted. In an older application I was polling on HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM for changes and I want to do the same approach for a new USB device.

Does anyone know where in the registry I might do this?

0

2 Answers 2

0

this site sais it's here : HKLM\SYSTEM\MountedDevices

1
  • I thought so to, but if I unplug on of the devices with drive letters nothing happens in that registry
    – chwi
    Jan 30, 2015 at 12:30
0

I found that I can poll for changes in the `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR\Enum'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .