How can I find out which processes on my computer are accessing the microphone?

After reading this interesting Lifehacker post and reading the comments on the page, one person was wondering if it would be possible to use the Physical Device Object Names of other hardware such as the microphone to find out the names of processes using that device.

I tried the same approach, but so far it only seems to work for the webcam. Is there any other way I could get this to work in Process Explorer?


UPDATE:

The Lifehacker post was about finding out which Windows process is currently using your webcam. This is how they went about doing it:

  1. Start Device Manager
    (WIN+R → "devmgmt.msc" → OK)
  2. Find your webcam among the list of devices (check under Imaging Devices)
  3. Open the properties window of the device and switch to the Details tab
    (Right click → Properties → Details)
  4. In the dropdown menu, select Physical Device Object Name and copy the string
    (Right click → Copy)
  5. Download Process Explorer
  6. Make sure you have opened Process Explorer in Administrator Mode
    (File → Show Details for All Processes)
  7. Hit CTRL+F and enter the string you copied earlier
    (it should be something like \Device\000000XX)
  8. Hit the Search button and you should see a list of processes using the webcam
    (if there are any)
    PsExec Handle Search

I can indeed confirm this works with the same thing, altho device manager / Audio devices doesn't work the same for me.

To clarify:

  1. Right click your Volume icon on the lower right hand on the task bar.
  2. Click 'Recording Devices'
  3. Right click your current / Default Device and go to 'Properties'.
  4. Under where it says Controller Information click 'Properties' and under the 'Details' tab when it pops up, under Property, go to Physical Device Object Name.
  5. Right-click and copy the Device path. After this you can find it in Process Explorer or wherever necessary.

Notes: For me it's not the device name (Headset Microphone) but rather Bluetooth Hands-free Audio. Huh. It may be different depending on your hardware. I was able to find all processes using my mic, including the audiodg.exe (Where you open it up to test if your mic is working.)

Good luck guys!

Screenshot