So I have a ESXi 5.1 set-up at home where I have a few Windows 7 machines running. After connecting to a win7 VM the other day via RDP I noticed no sound was being passed. Sound was enabled via RDP which left the VM itself, after some digging I found I had to edit the VMX file of the VM to add sound. So after turning the VM off and browsing to the datastore I downloaded the VMX file and added these entries:
sound.present = “TRUE”
sound.virtualDev = “es1371”
sound.fileName = “-1”
sound.autodetect = “TRUE”
sound.startConnected = “TRUE”
Once I re-uploaded the VMX, Boom (literally), sound!!