mareg Posted October 24, 2005 Posted October 24, 2005 Hello there,I'm looking for a regtweak to disable any sound in Windows XP.I disabled Windows'sounds with .theme file (or it's possible to do it this way : http://www.msfn.org/board/index.php?showtopic=25349), but I need to disable all sounds output, meaning to mute all sound card.Thanks for your help.
cluberti Posted October 25, 2005 Posted October 25, 2005 The sound mute value is set in two locations:HKLM\System\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings"MasMM" = 0/1 (REG_DWORD): 0 = Enabled, 1 = DisabledHKLM\System\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_<SUBSYS OF YOUR SOUND CARD VALUE>{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\0\Controls\1"Channel0" = 0/1 (REG_DWORD) 0 = Enabled, 1 = Disabled"Channel1" = 0/1 (REG_DWORD) 0 = Enabled, 1 = DisabledNote that you will need to know the SUBSYS_ value of the soundcard in question, as this value is populated in by your soundcard driver upon installation. It wil always be PCI#VEN_8086&DEV_24D5, but the &SUBSYS_<value> will change with the card or driver in use. If you know the SUBSYS_ value you can set this programmatically.============================================Now that I've scared all but the most hardcore WMI guys in here... ============================================Download the tool mute.exe (from http://ed.mullen.home.comcast.net/utility.html) to mute the volume on or off. Place the mute.exe file in the system32 folder, and simply call "mute on" from your script and the system should mute immediately. Note that I've tried this during and after Windows setup, and it only seems to work properly after Windows setup, not during. So, if you've got a script that runs in GUIRunOnce or a RunOnceEx batch, call it there.
mareg Posted October 26, 2005 Author Posted October 26, 2005 Thanks Cluberti,I saw HKLM\System\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_<SUBSYS OF YOUR SOUND CARD VALUE>{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\0\Controls\1 but I got too many different hardwares to do this.And after few tests, using a .theme file or setting reg key like here http://www.msfn.org/board/index.php?showtopic=25349 doesn't work.As you said, it seems not to work during install.So I'll use the great tool mute.exe that you've discovered and using it each first time a user loggs on.Thank you again
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now