Gibt es eine Möglichkeit, eine Soundkarte auf einer VMware (vSphere 5) VM zu installieren?

Gibt es eine Möglichkeit, eine Soundkarte auf einer VMware (vSphere 5) VM zu installieren?

Wir verwenden die VMware vSphere 5.0-Infrastruktur zum Ausführen unserer VMs.

Unsere VMs bestehen aus Desktops (mehrere Windows-Versionen), auf denen eine Soundkarte installiert sein muss.

Gibt es eine Lösung, um dies zu erreichen?

Antwort1

Sie können eines von zwei Dingen tun:

  • Installieren Sie physische USB-Soundgeräte und verwenden Sie USB-Passthrough
  • Stellen Sie per Remotedesktop eine Verbindung zu den VMs her und aktivieren Sie die Audioweiterleitung

Antwort2

Aktivieren von Sound für Remote Desktop Protocol in einer virtuellen Windows-Maschine (1004839) Zweck Dieser Artikel enthält Schritte zum Aktivieren von Sound für Remote Desktop Protocol (RDP) in einer virtuellen Windows-Maschine. Lösung So aktivieren Sie Sound in einer virtuellen Maschine, wenn eine Verbindung über RDP besteht:

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 und 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 und 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.

Anmerkungen:

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.

Weitere Informationen: Weitere Informationen finden Sie in den Microsoft Knowledge Base-Artikeln 818465 und 886199.

verwandte Informationen