Following guide will assist you to enable redirection of audio/video sound via Remote Desktop client. Note that, below guide is built on Windows Server 2012 R2 OS, though the procedure for both OS Windows Server 2012 and 2008 is similar.
Desktop Experience Feature Installation
To route VPS sound to local computer, your VPS must have Windows Audio service up and running. Windows Audio service is a part of the Desktop Experience feature. By default, Windows servers don't have pre-installed Desktop Experience feature to eliminate the additional UI overhead. Hence, to get Windows Audio service in VPS, we will have to install the Desktop Experience feature first.
To install the Desktop Experience, you can refer to our knowledge base article How to install desktop experience on Windows server.
Configure Windows Audio Service
Once Windows Audio service is installed in VM, the next step is to configure it. To launch the Services in Windows Server 2008, navigate to Start >> Administrative tools >> Services. You can also launch the Services window via Run menu as follows (for both Windows server 2008 and Windows Server 2012 systems).
- Once you are logged into your remote machine via Remote Desktop, press Windows key + R. This key combination will launch the Run menu.
- In Run menu, type 'services.msc' and hit enter.
- This will launch the Services window. Find Windows Audio service, right click on it and then select the Properties option.
- At Windows Audio Service Properties page, select Startup type as Automatic and then Start the service using the Start button. Click Apply to confirm your settings and then OK.
Allowing Redirecting Sounds In Group Policy
- Once Windows Audio service is configured, the next step is to allow sound and audio redirection from group policy. To do so, type 'group policy' in the search bar of VPS, and you will see Edit group policy option appearing as follows. Click on Edit group policy option.
- This will launch Local Group Policy Editor as follows.
- On the Local Group Policy Editor window, navigate to Configuration >> Administrative Templates >> Windows Components >> Remote Desktop Services >> Remote Desktop Session Host >> Device and Resource Redirection. Double click on option Allow audio and video playback redirection.
- On the next window, select Enabled, click Apply to confirm your settings and then OK.
Reboot the server, and when the system is up again, you would see an icon to control sounds and information about the redirection in the notification bar. Now, server settings are finished and you just have to verify whether sound playback is allowed in RDP client or not.
Check If Sound Playback Is Allowed In RDP Client
- Launch your Remote Desktop client and click on Local Resources.
- Make sure that Only when using the full-screen option is selected under Apply Windows key combinations. Now, click Settings in the Remote audio section of the Local Resources tab.
- On the next screen, select Play on this computer under Remote audio playback section and then click OK. You're done now, all VPS sounds will now be played at your local computer via the established RDP connection.