Media Keys and Teams notifications

Occasional Visitor

If I use keyboard media keys to pause music when I receive a call in teams, the notification sound doesn't seem to get dismissed when I answer the call. So, when I later press play, it also resumes playing the teams call sound over my music. 


It does seem to go away on it's own eventually, but it's kind of annoying when I want to listen to music!



6 Replies
best response confirmed by ThereseSolimeno (Microsoft)
Hi @graemec5

Known issue, as raised here on uservoice

If you go to that uservoice, a few comments down you should see a solution to this: go to avatar > settings > permissions > turn off midi device. People have reported that it has solved it for them

Hope this resolves and answers your question

Best, Chris
Sadly, it does not work... :(

@graemec5Like you, I suffered from this. For me, this has fixed the issue:

try starting Teams with -disable-features=HardwareMediaKeyHandling

eg. C:\Users\Username\AppData\Local\Microsoft\Teams\current\Teams.exe -disable-features=HardwareMediaKeyHandling

If you have e.g. a start menu shortcut (or other shortcut for teams), you can edit it and add it as a (commandline) argument so you wont have to remember it. The solution mentions Windows, but for me it also works on Linux, which is really nice!


Taken from here:

@graemec5 as a workaround, update the teams autostart post in the registry.

It's located in the following path


Key is named "com.squirrel.Teams.Teams"

If you modify the --process-start-args to contain the "-disable-features=HardwareMediaKey" value, then it should be set when launched on startup.

On my computer, the full value is

C:\Users\My Name\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe" --process-start-args "-disable-features=HardwareMediaKeyHandling --system-initiated"



@dhvik thank you very much!

Your suggestion didn't work for me perfectly as my registry entry got overwritten with every restart of windows but this is my modified solution now:

1) Go to settings and switch off "Auto-start application"

2) Go to C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs and search for "Microsoft Teams" / Right click on the short cut / Copy

3) Press WIN+R / type in shell:startup

4) Right click in the autostart folder / Paste (now the shortcut should have been added to your autostart folder)

5) Right click on the short cut / properties / short cut and copy/paste the following to target:


C:\Users\My Name\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe" --process-start-args "-disable-features=HardwareMediaKeyHandling --system-initiated"​​


6) Apply changes

7) Restart your computer


This works fine for me now. Hope it helps you, too :smile:.

@AndreDIAL I noticed the same. Seems that Teams updates the autostart registration each time it starts (and overwrites any changes).
I also switched off the autostart setting (in Teams configuration). This removed the registry autostart key.
Then you are free to manually launch teams any way you would like to. 
(I added a new key to the same registry folder and named it Teams instead, but a shortcut in the autostart folder as you mentioned, works just as fine)