after having muted the System Sounds on the remote desktop machine, it shall unmute itself after several seconds. This pattern is persistent.
The physical setting:
I use my laptop at work, and use Remote Desktop Connection to access my desktop machine left in my apartment.
The software setting:
I have enabled Remote audio through the Remote Desktop Connection, and chose Remote audio playback --> Play on this computer. Thus, I get audio streaming on my laptop at work.
I have tried to find a way to mute System Volumes through a shortcut, and the following pages appears to be helpful:
HowToGeek suggested to create a shortcut with the following executable command:
“C:\Path\To\nircmd.exe” mutesysvolume 2
The same source also points me to the shortcut for opening the Volume Mixer.
%SystemRoot%\System32\SndVol.exe. Yet, I failed to find a stable way to mute System Sounds through AutoHotKey.
The problem for the suggested approach is that, on Windows 10,
nircmd.exe no longer take the option "
mutesysvolume 2" as designed. Instead of toggling the System Volumes, it is toggling the Device Volume. This is different from what the specs have suggested: http://www.nirsoft.net/utils/nircmd.html