1. Shut down your virtual machine
  2. In vSphere, right-click on the virtual machine and select remove from inventory
  3. Select the root folder in the left panel of vSphere
  4. Select the Configuration tab
  5. Select Storage
  6. Right-click the datastore where your virtual machine is installed and select Browse datastore
  7. Open the folder for your virtual machine
  8. Right-click on the .vmx file and select Download
  9. Open the downloaded file in Notepad++
  10. At the bottom of the file, add the following:
  11. sound.present = "true"

    sound.allowGuestConnectionControl = "false"

    sound.virtualDev = "hdaudio"

    sound.fileName = "-1"

    sound.autodetect = "true"

    sound.pciSlotNumber = "17"

    Note: Select an available pciSlotNumber. Review all of the PCI slots being used in your .vmx file, and select a slot number that is not currently being used.

    11. In the VMWare datastore, select upload files to this virtual machine, select the .vmx file, and upload it

    1. Right-click on the .vmx file, select Add to Inventory, and select Next, Next, Finish to add the virtual machine to inventory
    2. In the left panel of vSphere, right-click on the virtual machine and select Edit Settings
    3. In the virtual machine dialog box, on the Hardware tab, there should now be an option HD audio

    Note: Perform the following steps in Guest VM

    15. Right click on the Start button then click on Run (or press Windows + R)

    1. Type in gpedit.msc
    2. Expand Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection
    3. Enable the Allow audio and video playback redirection setting
    4. Next you'll need to enable remote audio playback in the Remote Desktop Connection client:

    Ø Click on the Local Resources tab

    Ø Click Settings in the Remote audio section

    Ø Click the Play on this computer setting

    Ø Click OK when done