Arcolite Posted October 31, 2007 Report Posted October 31, 2007 In our language lab, the little blighters keep playing with the Mic and Sound settings. Is it possible to control these within a GPO so that on machine rebuilds we don't have to spend ages per machine reconfiguring it all? I've not run Regmon just yet to capture, but if anyone has the key i need to look at I can work from there.
Geoff Posted October 31, 2007 Report Posted October 31, 2007 You might want to look at the solution posted in this previous thread. http://www.edugeek.net/index.php?name=Forums&file=viewtopic&t=10695
Arcolite Posted October 31, 2007 Author Report Posted October 31, 2007 Ah perfect. That'll do the job. I've had a look at the commands but I can't see one to Select which input. By default Line In is the selected Input, would be great to script Microphone.
Geoff Posted October 31, 2007 Report Posted October 31, 2007 I have the following: nircmd setsysvolume 55000 master nircmd setsysvolume 55000 waveout Which sets the sound output at about 90%, high enough, but low enough to avoid any distortion from cheapo sound cards. for machines that use microphones I also do: nircmd setsysvolume 40000 microphone I found microphones need to be set around 75% for best results.
eean Posted October 31, 2007 Report Posted October 31, 2007 Is there any easy way of switching the Recording options so that the microphone is selected as the default input rather than the line in?
Arcolite Posted November 2, 2007 Author Report Posted November 2, 2007 Is there any easy way of switching the Recording options so that the microphone is selected as the default input rather than the line in? You can do that via a vbs startup script. There's a registry key that controls it, but you need to find the registry address for the soundcard on your machines, I don't think it will be the same for all. Here's the one I use on our workstations. Dim objShell, RegLocate, RegLocate1 Set objShell = WScript.CreateObject("WScript.Shell") On Error Resume Next objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 0", 0, "REG_DWORD" objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 1", 1, "REG_DWORD" objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 2", 0, "REG_DWORD" objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 3", 0, "REG_DWORD" objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 4", 0, "REG_DWORD" objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 5", 0, "REG_DWORD" objShell.RegWrite "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4A8086&REV_02#3&267A616A&0&FD#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 1\Controls\ 0\Item 6", 0, "REG_DWORD" WScript.Quit Item 0 through to Item 6 are the 7 Inputs under the Sound Control Panel. Setting Item 1 to 1 makes Mic the default.
rpettit Posted May 25, 2016 Report Posted May 25, 2016 I am hoping a 9 year old post can help...where do you put the code for the volume settings?
phildyer Posted May 27, 2016 Report Posted May 27, 2016 I use a little VBS to set the volume to 0: Set WshShell = CreateObject("WScript.Shell") wshshell.LogEvent 4, "setting Vol to min" WshShell.SendKeys "{" & chr(174) & " 50}" wshshell.LogEvent 4, "vol set"
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