+ Post New Thread
Results 1 to 7 of 7
Windows Thread, Control Sound Settings via GPO in Technical; In our language lab, the little blighters keep playing with the Mic and Sound settings. Is it possible to control ...
  1. #1

    Join Date
    Apr 2006
    Location
    Hertfordshire
    Posts
    69
    Thank Post
    2
    Thanked 3 Times in 3 Posts
    Rep Power
    17

    Control Sound Settings via GPO

    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.

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Control Sound Settings via GPO

    You might want to look at the solution posted in this previous thread.

    http://www.edugeek.net/index.php?nam...wtopic&t=10695

  3. #3

    Join Date
    Apr 2006
    Location
    Hertfordshire
    Posts
    69
    Thank Post
    2
    Thanked 3 Times in 3 Posts
    Rep Power
    17

    Re: Control Sound Settings via GPO

    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.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Control Sound Settings via GPO

    I have the following:
    Code:
    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:
    Code:
    nircmd setsysvolume 40000 microphone
    I found microphones need to be set around 75% for best results.

  5. #5

    Join Date
    Apr 2006
    Location
    Hertfordshire
    Posts
    69
    Thank Post
    2
    Thanked 3 Times in 3 Posts
    Rep Power
    17

    Re: Control Sound Settings via GPO

    Fantastic. Thank you!

  6. #6
    eean's Avatar
    Join Date
    May 2006
    Location
    Kuala Lumpur
    Posts
    555
    Thank Post
    64
    Thanked 52 Times in 37 Posts
    Rep Power
    29

    Re: Control Sound Settings via GPO

    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?

  7. #7

    Join Date
    Apr 2006
    Location
    Hertfordshire
    Posts
    69
    Thank Post
    2
    Thanked 3 Times in 3 Posts
    Rep Power
    17

    Re: Control Sound Settings via GPO

    Quote Originally Posted by eean
    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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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\Contr ol\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_24D5&SUBSYS_0C4 A8086&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.

SHARE:
+ Post New Thread

Similar Threads

  1. Don't Like the sound of this!
    By FN-GM in forum Wireless Networks
    Replies: 18
    Last Post: 23rd November 2007, 09:59 AM
  2. Odd Sound Problem
    By enjay in forum Hardware
    Replies: 9
    Last Post: 17th June 2007, 09:57 PM
  3. No Sound for me.
    By mrforgetful in forum Windows Vista
    Replies: 3
    Last Post: 4th June 2007, 08:49 AM
  4. Control Sound Remotely
    By Craig_W in forum Network and Classroom Management
    Replies: 16
    Last Post: 1st March 2007, 07:55 PM
  5. Replies: 8
    Last Post: 9th October 2006, 10:11 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •