3 ms·
There are so many annoying if not dangerous default settings (like hiding known file extensions, virus.pdf.exe appears as "virus.pdf") that like many people I h
by cm2187 10y ago
There are so many annoying if not dangerous default settings (like hiding known file extensions, virus.pdf.exe appears as "virus.pdf") that like many people I have scripts to do that. Microsoft would help me more by making the system more scriptable (try setting the sound mode to No Sound in script!).
- pjmlp 10y agoIn case you just want to disable all sound, in Powershell. Get-Service -Name Audiosrv | Stop-Service -Force Windows is quite scriptable, it is just a matter of knowning the right knobs. https://blogs.technet.microsoft.com/heyscriptingguy/2013/03/01/use-powershell-to-explore-windows-audio-drivers/ https://blogs.technet.microsoft.com/heyscriptingguy/2013/03/...
- cm2187 10y agoI do not think this turns off the windows sounds. It shuts down all audio, including non OS sounds. I just want to get rid of the annoying click noises and beeps. There is a registry setting that sets the control panel to no sound but it has no practical effect. The only suggestion I found that works is to delete the wav files, but that's kind of messy
- douche 10y agoOpen the volume mixer and set "System Sounds" to 0?
- cm2187 10y agoI can also open the sound control panel and set windows to no sound. We are discussing about automating changing the default settings of windows. Not of how to change them manually through the UI.
- perspectivep 10y agoAll of the Windows shell supports UI automation, so if you run into corner cases like this that aren't scriptable, you can just use PowerShell to automate the clicks.
- douche 10y agoIs this a thing you have to do often enough that its worth bothering to automate? I'd set it that way once, and its done, never have to touch it again. The more inexplicable thing is why the modern/metro/universal/whatever-it-is-this-week apps don't show up in the volume mixer at all, and you have to rely on third-part tools like EarTrumpet to tweak them when they are being obnoxious.
- wernercd 10y ago"Open and manually do" != "run powershell script to do" This is a discussion for Developers who want to automate... manually clicking stuff is not that answer.
- pjmlp 10y agoI see, so not as easy as I thought.
- Someone1234 10y ago> try setting the sound mode to No Sound in script! You can do this with a .reg file. Just need to set everything in: HKCU/AppEvents/Schemes/Apps/.Default/[Sound Name]/.Current/(Default) to null. Easiest way is just to set "No Sound" on an example user, then Export the entire .Default tree, you can then re-import the .reg file into a different user and have no sound on there too.
- Alupis 10y ago> You can do this with a .reg file. Which doesn't take effect until after a reboot. I think OP was wanting a scripted way to disable sound at runtime.
- Someone1234 10y agoThe method set out above is identical to how the Sound Control Panel applet works behind the scenes. So it is technologically identical to setting it via the UI. As to if it requires a logout: In my experience, no, but there may be edge cases (e.g. non-OS software is also in the sound scheme, like Visual Studio and Skype for Business). If people want to investigate further, spin up Process Monitor, and set the filter to only display rundll32.exe then set sound profiles in the Sound Control Panel applet (mmsys.cpl).
- x1798DE 10y ago> There are so many annoying if not dangerous default settings (like hiding known file extensions, virus.pdf.exe appears as "virus.pdf") that like many people I have scripts to do that. Are they still doing that? I would have thought that people would have realized what a horrible, horrible idea this was by now and rolled it back. Amazing.
- rasz_pl 10y agorem Delete Windows Sounds (Permanently) reg delete "HKCU\AppEvents\Schemes\Apps" /f