Getting Windows 7 Audio to Work in VirtualBox
January 28, 2010
It seems like getting Audio to Work in Windows 7 64bit when running VirtualBox is a common problem, so I would like to share what worked for me.
Corresponding images are below, click on the image or the link in brackets  for full size
- In VirtualBox, click on the Windows 7 Virtual Machine and click on settings. Make sure that the Audio is enabled and set to “ALSA Audio Driver”(if you use Alsa) and “ICH AC97” 
- Download the RealTek Audio Codec for Windows 7, which can be found here. Click on “High Definition Audio Codecs (Software)” and after accepting the license agreement, download the Windows 7/Vista Driver.
- Once downloaded, extract the files to somewhere on your computer, but make sure to remember where ;)
- Right Click on Computer and select Manage.
- Click on Device Manager.
- Right Click on your audio device and select Update Driver Software
- Click on Browse My Computer for Driver Software and select the folder that you extracted in #2.
- Windows 7 should detect and install the audio driver.
Optional: Getting Rid of the RealTek Control Panel
When I restarted I got an error that the Realtek Control Panel was not functioning properly, so I deleted it from the registry in order to prevent it from running at start-up. As is usually the case with most of these tools, the Windows Audio Panel does a fine job of controlling the volume, so it is usually not needed anyway.
- Click on the Windows Button and type regedit into the text area.
- Navigate to: //HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Run 
- Delete* the entry for Soundman.exe
*As is always the case with editing the registry, if you don’t know why you are doing it, don’t do it, because deleting the wrong key can mess things up!
Reference Images: Fixing Windows 7 Audio in VirtualBox
Reference Images: Getting Rid of the RealTek Control Panel