是否有任何選項可以在 VMware (vSphere 5) 虛擬機器上安裝音效卡

是否有任何選項可以在 VMware (vSphere 5) 虛擬機器上安裝音效卡

我們使用 VMware vSphere 5.0 基礎架構來運行我們的虛擬機器。

我們的虛擬機器由需要安裝音效卡的桌面(多個版本的 Windows)組成。

有什麼解決方案可以實現這一目標嗎?

答案1

您可以執行下列兩種操作之一:

  • 安裝實體 USB 聲音裝置並使用 USB 直通
  • 透過遠端桌面連接到虛擬機器並啟用音訊轉發

答案2

在 Windows 虛擬機器中為遠端桌面協定啟用聲音 (1004839) 目的 本文提供在 Windows 虛擬機器中為遠端桌面協定 (RDP) 啟用聲音的步驟。解決方法 若要在使用 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 與 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 與 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.

筆記:

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.

其他資訊 有關詳細信息,請參閱 Microsoft 知識庫文章 818465 和 886199。

相關內容