How to change default sound device for all users?
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
Community Chosen Answer
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.