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

  1. 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” [1]
  2. 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.[2]
  3. Once downloaded, extract the files to somewhere on your computer, but make sure to remember where ;)
  4. Right Click on Computer and select Manage.
  5. Click on Device Manager.
  6. Right Click on your audio device and select Update Driver Software
  7. Click on Browse My Computer for Driver Software and select the folder that you extracted in #2.[7]
  8. 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.

  1. Click on the Windows Button and type regedit into the text area.[1]
  2. Navigate to: //HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Run [2]
  3. 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
[1]:

[2]:

[7]:

Reference Images: Getting Rid of the RealTek Control Panel

[1]:

[2]:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s