Windows xp sound scheme

broken image
broken image

Set-ItemProperty -Name '(Default)' -Value '' This can be accomplished by an one-liner: Get-ChildItem -Path 'HKCU:\AppEvents\Schemes\Apps' | Get-ChildItem | Get-ChildItem | Where-Object | However, in your case, you can just clear out all the values, since you're applying a 'no sounds' theme. Current.Īs an example, to apply the No Sounds scheme to the System Exclamation event, you would copy HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\.None over HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current. To apply a sounds scheme, the appropriate action is: However, the event sounds will still play, and that is because the selected scheme has not been applied. This will (technically) set the selected scheme, which you can verify by going to your Sounds settings and see that the No Sounds scheme is selected. None: New-ItemProperty -Path HKCU:\AppEvents\Schemes -Name '(Default)' -Value '.None' -Force | Out-Null So you can set the selected scheme by changing this to. The selected scheme is at HKEY_CURRENT_USER\AppEvents\Schemes, which defaults to. None you can see this by exploring HKEY_CURRENT_USER\AppEvents\Schemes\Names.

broken image

However, you then have to apply the new scheme, which is a bit more involved.

broken image