3 ms·
> 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.
by 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).