Forum Discussion
graemec5
Dec 02, 2020Brass Contributor
Media Keys and Teams notifications
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 p...
- Dec 28, 2020Hi graemec5
Known issue, as raised here on uservoice
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/39956326-media-keys-affecting-teams-web-app
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
Oudstand
Nov 23, 2022Copper Contributor
Hofa the output is longer than the console can display it. I could post the code which is still shown in the console window. Do you want me to do this?
Hofa
Nov 23, 2022Copper Contributor
Oh my bad. Updated:
[System.BitConverter]::ToString(($Bytes[$ValueIndex..($ValueIndex + $HWMKeyHandlingByteArray.count + $ValueOffset + 10)]))
- IainMNormanNov 23, 2022Copper Contributor
Works with 16 as the offset for me
- MrDakNov 23, 2022Copper Contributor
Hofa Hey i think Teams got recently updated (I have to redo the hex edit).
This is what i got when run your script
PS C:\Users\User\OneDrive\Workstation> .\Teams_DisableMediaKeysHex.ps1
Something isn't correct, the value for option 'HardwareMediaKeyHandling' is neither 1 or 0 but 72
48-E7-09-47-01-00-00-00-01-00-00-00-00-00-00-00-52-65-73-6F-6C-75-74-69-6F-6E-42-61-73-65-64-44-65-63-6F-64-65-72-50-72-69-6F-72- IainMNormanNov 23, 2022Copper ContributorMrDak, teams was updated 22nd for me.
I can see...
4861726477617265 4D656469614B6579
48616E646C696E67 0000000000000000
48E7094701000000 0100000000000000
Looks to me Hofa that the $ValueOffset should be 16, not 8 - OudstandNov 23, 2022Copper ContributorI get the same result.
- HofaNov 23, 2022Copper Contributor**bleep**, looks like the number of bytes between the optionName and it's value is different on my setup. It should work when you change 'offset' on line 13 from 8 to 12... I think...