How to disable Windows system sounds - permanently - but not application sound
OK, I went to the folder where all system sounds were stored, and moved the entire folder elsewhere, so if it does change system sound schemes, it won't have a source to play the sounds...
On Windows 7 and Windows 10, the folder is: C:\Windows\Media
The other option is Sound Sentry...In the accessibility control panel, you can choose to have all sound disabled and, optionally enable visual cues instead.
From TenForums:
https://www.tenforums.com/tutorials/71209-turn-off-sound-sentry-visual-notifications-windows-10-a.html
In Windows Vista and later, you can control per-application sounds, including system sounds. Click the volume icon in the taskbar, then click on "mixer".
Click the mute button under "System sounds". Applications' sounds will still play, but system sounds will not.
I had the same issue and tried using the "prevent changing sounds" Group policy setting, but whenever you change the theme it would change the sound scheme so that didn't really work.
Deleting or renaming the folder sounds like one way to fix it, but I found that updating the registry to removing the sounds from all of the themes also works. This Powershell script will remove all of the sounds assigned to each sound scheme so that they all are equivalent to the No Sound scheme. (NOTE: you may want to backup the hkcu:\AppEvents\Schemes\Apps
registry key first in case you want to recover the sounds later.
$ThemeSounds = Get-ChildItem hkcu:\AppEvents\Schemes\Apps -Recurse | Get-ItemProperty
foreach ($regkey in $ThemeSounds){
$strVal = [string]$regkey.'(default)'
if($strVal.EndsWith(".wav")){
Set-ItemProperty -Path $regkey.PSPath -name "(default)" -Value ""
}
}
If you change hkcu:\AppEvents\Schemes\Apps
to hkcu:\AppEvents\Schemes\Apps\.Default
it should only remove sounds for the Windows group listed in the sound settings and not any of the other apps.