With this tool you can easily create scripts to mute Windows if you're connected to a specific WiFi.
All you have to do is specify the SSID of the WiFi as an argument. In the following example Windows is muted when you are connected to the eduroam WiFi.
WinMuteIfWifi.exe eduroam