The microphone privacy global switch affects all apps as of the April 2018
Update of Windows 10. (Prior to that it affected only Store apps.)
I believe you are correct that per-app toggles only show up for Store apps.
Yes, it is possible to query and control the session volume for individual apps
via the session manager APIs. Be aware, though, that for the microphone, the
session volume is just an alias for the endpoint volume, for bit depth reasons.
From: wdmaudiodev-bounce@xxxxxxxxxxxxx <wdmaudiodev-bounce@xxxxxxxxxxxxx> on
behalf of Paul Jackson <mailnew4ster@xxxxxxxxx>
Sent: Wednesday, June 20, 2018 5:41:24 AM
Subject: [wdmaudiodev] Re: Detecting and blocking microphone usage
Thank you for the reply Matthew.
Correct me if I'm wrong, but the Privacy > Microphone configuration works only
for store apps for per-app access.
IAudioSessionNotification looks interesting. Will I be able to mute the
microphone session based on the requesting application?
On Wed, Jun 20, 2018 at 2:29 PM Matthew van Eerde
Windows supports the first two natively via Start > Settings > Privacy >
Microphone; I believe there are ways to set these via group policy as well
You can write a user-mode solution for the third using the session manager APIs
– IaudioSessionManager, IAudioSessionManager2, IAudioSessionNotification
behalf of Paul Jackson <mailnew4ster@xxxxxxxxx<mailto:mailnew4ster@xxxxxxxxx>>
Sent: Wednesday, June 20, 2018 1:30:04 AM
Subject: [wdmaudiodev] Detecting and blocking microphone usage
I'm trying to find a way to implement a security kernel driver (or, if not
possible, a user-mode solution) for microphone usage.
I'd like to be able to do the following:
1. Block selective applications from accessing the microphone.
2. If not possible, block all applications from using the microphone.
3. If not possible, notify the user when the microphone is being used.
Can you please shed some light on what possibilities I have?