/build/static/layout/Breadcrumb_cap_w.png

How to change default sound device for all users?

Hello,

I recently received a request to set the default sound device in a lab (Windows 7, HP desktops). Right now some computers are set to the internal sound card and others are set to the external sound card (headphones attached to the front of the computer). I need to standardize the machines to the external sound card. My first choice would be to make the process automatic somehow (scripts or group policy). After some research I haven't really seen any easy way to do this. Does anyone have any experience or advice that might help? Thanks -Ben


0 Comments   [ + ] Show comments

Answers (2)

Posted by: SMal.tmcc 12 years ago
Red Belt
4

You are better off disabling the internal sound device either in the bios (which we do on all classroom dells via the CCTK) or disabling the internal driver.

There is no public API which allows you to change the default audio device, that is functionality that is considered to be under the users control. This has always been the case in Windows.

If you search the web, there are a number of people who have reverse engineered the APIs that are used in Windows to do this (the reverse engineered APIs are internal unsupported APIs and may change without notice from Microsoft). You use these solutions at your own peril.


Comments:
  • That is what I was seeing, but I had hoped that there was another answer. Thanks for your help. - Ben M 12 years ago
  • If these are dells and you did not install the CCTK in your image, you can create a pxeboot with the cctk enabled and add the line to kill the speaker to the boot via the KBE manipulator and schedule a pxe boot that does nothing but does a restart as a preinstall task. - SMal.tmcc 12 years ago
  • HP desktops, so the CCTK doesn't work real well :). HP has a similar program that I can use. I'll either take a look at that, or just go do the legwork to manually fix the problem. Thanks for your help Smal. - Ben M 12 years ago
Posted by: jknox 12 years ago
Red Belt
1

Looks like what SMal was talking about: http://www.daveamenta.com/2011-05/programmatically-or-command-line-change-the-default-sound-playback-device-in-windows-7/

This looks interesting too: http://social.technet.microsoft.com/Forums/en/ITCG/thread/05fff6f4-264d-4610-b1a6-76a84acec1ed

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ