Is there any option to install a soundcard on a VMware (vSphere 5) VM

0

We are using VMware vSphere 5.0 infrastructure to run our VMs.

Our VMs consist of desktops (multiple versions of Windows) that need a soundcard installed.

Is there any solution for achieving this ?

liortal

Posted 2012-08-21T09:00:05.517

Reputation: 253

Answers

2

You can do either one of two things:

  • Install physical USB sound devices and use USB passthrough
  • Connect to the VMs via Remote Desktop and enable audio forwarding

PhonicUK

Posted 2012-08-21T09:00:05.517

Reputation: 2 921

Thanks. A USB passthrough is attached at the vSphere level? If so, is it shared among all VMs or can be used only by a particular machine? – liortal – 2012-08-21T11:08:59.820

Only one VM can use it at a time. So you'd need as many such devices as you have VMs. You'd also need to ensure that your motherboard actually supports it (Look at the DirectPath IO settings) – PhonicUK – 2012-08-21T11:48:28.557

0

Enabling sound for Remote Desktop Protocol in a Windows virtual machine (1004839) Purpose This article provides steps for enabling sound for Remote Desktop Protocol (RDP) in a Windows virtual machine. Resolution To enable sound in a virtual machine when connected using RDP:

Windows 2003:

Click Start > Run, type services.msc, and click OK.
Change the Windows Audio service to Automatic and start the service.
Click Start > Settings > Control Panel > Administrative Tools.
Click the Terminal Services Configuration section.
Double-click RDP-TCP.
Click the Client Settings tab.
Deselect Audio Mapping.

Windows XP and 2008:

Click Start > Run, type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Administrative Templates.
Expand Windows Components.
Expand Terminal Services.
In Client/Server data redirection, enable Allow Audio Redirection.
Restart the virtual machine.

Windows 7 and 2008 R2:

Click Start > Run, type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Administrative Templates.
Expand Windows Components.
Expand Remote Desktop Services.
Expand Remote Desktop Session Host.
In Device and Resource redirection, enable Allow Audio and Video Playback Redirection.
Restart the virtual machine.

Windows 2012:

Right-click Start and click Run.
Type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Policies.
Expand Administrative Templates.
Expand Windows Components.
Expand Remote Desktop Services.
In Device and Resource redirection, enable Allow Audio and Video Playback Redirection.
Restart the virtual machine.

Windows 2012 R2:

Right-click Start and click Run.
Type mmc, and click OK.
Add the Group Policy Object Editor snapin.
Expand Local Computer Policy.
Expand Computer Configuration.
Expand Policies.
Expand Administrative Templates.
Expand Windows Components.
Expand Remote Desktop Services.
Expand Remote Desktop Session Host.
In Device and Resource redirection, enable Allow Audio and Video Playback Redirection.
Restart the virtual machine.

Notes:

Verify on the guest OS > Options > Local Resources.

Settings under Remote audio settings, the option Play on this computer should be enabled.

Windows XP may require the policy to be set to Enable.
Windows 2008 may require the policy to be set in User Configuration\Administrative Templates\Windows Components\Terminal Services.
Windows 2008 R2 requires Windows Audio Service to be started automatically.

To ensure that this service starts automatically:
    Click Start > Run, type services.msc and click OK.
    Change the service to start in Automatic mode.

Additional Information For more information, see the Microsoft Knowledge Base articles 818465 and 886199.

Antonio Reis

Posted 2012-08-21T09:00:05.517

Reputation: 1