Configure audio and video redirection over the Remote Desktop Protocol
Tip
This article is shared for services and products that use the Remote Desktop Protocol (RDP) to provide remote access to Windows desktops and apps.
Select a product using the buttons at the top of this article to show the relevant content.
You can configure the redirection behavior of audio peripherals, such as microphones and speakers, between a local device and a remote session over the Remote Desktop Protocol (RDP).
For Azure Virtual Desktop, we recommend you enable audio and video redirection on your session hosts using Group Policy, then control redirection using the host pool RDP properties.
For Windows 365, you can configure your Cloud PCs using Group Policy.
For Microsoft Dev Box, you can configure your dev boxes using Group Policy.
This article provides information about the supported redirection methods and how to configure the redirection behavior for audio and video peripherals. To learn more about how redirection works, see Redirection over the Remote Desktop Protocol.
Tip
If you use the following features in a remote session, they have their own optimizations that are independent from the redirection configuration on the session host, host pool RDP properties, or local device.
- Microsoft Teams for camera, microphone, and audio redirection.
- Multimedia redirection for audio, video and call redirection.
Tip
If you use the following features in a remote session, they have their own optimizations that are independent from the redirection configuration on the Cloud PC or local device.
- Microsoft Teams for camera, microphone, and audio redirection.
- Multimedia redirection for audio, video and call redirection.
Tip
If you use the following features in a remote session, they have their own optimizations that are independent from the redirection configuration on the dev box or local device.
- Microsoft Teams for camera, microphone, and audio redirection.
- Multimedia redirection for audio, video and call redirection.
Prerequisites
Before you can configure audio and video redirection, you need:
An existing host pool with session hosts.
A Microsoft Entra ID account that is assigned the Desktop Virtualization Host Pool Contributor built-in role-based access control (RBAC) roles on the host pool as a minimum.
- An existing Cloud PC.
- An existing dev box.
An audio device you can use to test the redirection configuration.
To configure Group Policy, you need:
- A domain account that has permission to create or edit Group Policy objects.
- A security group or organizational unit (OU) containing the devices you want to configure.
You need to connect to a remote session from a supported app and platform. To view redirection support in Windows App and the Remote Desktop app, see Compare Windows App features across platforms and devices and Compare Remote Desktop app features across platforms and devices.
Configure audio output redirection
Audio output redirection controls where audio signals from the remote session are played. Configuration of a session host or setting an RDP property on a host pool governs the ability to play audio from a remote session, which is subject to a priority order.
Session host configuration controls whether audio and video playback redirection is enabled together with the audio playback quality and is set using Group Policy. A host pool RDP property controls whether to play audio and the audio output location over the Remote Desktop Protocol.
The default configuration is:
- Windows operating system: Audio and video playback redirection isn't blocked.
- Azure Virtual Desktop host pool RDP properties: Play sounds on the local computer.
- Resultant default behavior: Audio is redirected to the local computer.
Important
Take care when configuring redirection settings as the most restrictive setting is the resultant behavior. For example, if you disable audio and video playback redirection on a session host with Group Policy, but enable it with the host pool RDP property, redirection is disabled.
Audio output redirection controls where audio signals from the remote session are played. Configuration of a Cloud PC governs the ability to play audio from a remote session and controls the audio playback quality. You can configure audio output redirection using Group Policy.
The default configuration is:
- Windows operating system: Audio and video playback redirection isn't blocked.
- Windows 365: Audio and video playback redirection is enabled.
- Resultant default behavior: Audio is redirected to the local computer.
Audio output redirection controls where audio signals from the remote session are played. Configuration of a dev box governs the ability to play audio from a remote session and controls the audio playback quality. You can configure audio output redirection using Group Policy.
The default configuration is:
- Windows operating system: Audio and video playback redirection isn't blocked.
- Microsoft Dev Box: Audio and video playback redirection is enabled.
- Resultant default behavior: Audio is redirected to the local computer.
Configure the audio output location using host pool RDP properties
The Azure Virtual Desktop host pool setting audio output location controls whether to play audio from remote session in the remote session, redirected to the local device, or disable audio. The corresponding RDP property is audiomode:i:<value>
. For more information, see Supported RDP properties.
To configure the audio output location using host pool RDP properties:
Sign in to the Azure portal.
In the search bar, type Azure Virtual Desktop and select the matching service entry.
Select Host pools, then select the host pool you want to configure.
Select RDP Properties, then select Device redirection.
For Audio output location, select the drop-down list, then select one of the following options:
- Play sounds on the local computer (default)
- Play sounds on the remote computer
- Do not play sounds
- Not configured
Select Save.
To test the configuration, connect to a remote session and play audio. Verify that you can hear audio as expected. Make sure you're not using Microsoft Teams or a web page that's redirected with multimedia redirection for this test.
Configure audio and video playback redirection, and limit audio playback quality using Group Policy
Configure audio and video playback redirection, and limit audio playback quality using Group Policy
Select the relevant tab for your scenario.
To allow or disable audio and video playback redirection, and limit audio playback quality using Group Policy:
Open the Group Policy Management console on device you use to manage the Active Directory domain.
Create or edit a policy that targets the computers providing a remote session you want to configure.
Navigate to Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.
Double-click the policy setting Allow audio and video playback redirection to open it.
To allow audio and video playback redirection, select Enabled or Not configured, then select OK.
To disable audio and video playback redirection, select Disabled, then select OK.
If you want to limit audio playback quality, double-click the policy setting Limit audio playback quality to open it.
Select Enabled, then select the audio quality from the drop-down list, then select OK.
Ensure the policy is applied to the computers providing a remote session, then restart them for the settings to take effect.
To test the configuration, connect to a remote session and play audio. Verify that you can hear audio as expected. Make sure you're not using Microsoft Teams or a web page that's redirected with multimedia redirection for this test.
Configure audio capture redirection
Audio recording redirection controls whether you want to allow peripherals such as a microphone to be accessible in the remote session. Configuration of a session host and setting an RDP property on a host pool governs the ability to record audio from a local device in a remote session, which is subject to a priority order.
Session host configuration controls whether audio recording redirection is enabled and is set using Group Policy. A host pool RDP property controls whether microphones are redirected over the Remote Desktop Protocol.
The default configuration is:
- Windows operating system: Audio recording redirection isn't blocked.
- Azure Virtual Desktop host pool RDP properties: Not configured.
Important
Take care when configuring redirection settings as the most restrictive setting is the resultant behavior. For example, if you disable audio recording redirection on a session host with Group Policy, but enable it with the host pool RDP property, redirection is disabled.
Audio recording redirection controls whether you want to allow peripherals such as a microphone to be accessible in the remote session. Configuration of a Cloud PC governs the ability to record audio from a local device in a remote session. You can configure audio recording redirection using Group Policy.
The default configuration is:
- Windows operating system: Audio recording redirection isn't blocked. Windows 365 enables audio recording redirection.
Audio recording redirection controls whether you want to allow peripherals such as a microphone to be accessible in the remote session. Configuration of a dev box governs the ability to record audio from a local device in a remote session. You can configure audio recording redirection using Group Policy.
The default configuration is:
- Windows operating system: Audio recording redirection isn't blocked. Microsoft Dev Box enables audio recording redirection.
Configure audio input redirection using host pool RDP properties
The Azure Virtual Desktop host pool setting microphone redirection controls whether to redirect audio input from a local device to an audio application in a remote session. The corresponding RDP property is audiocapturemode:i:<value>
. For more information, see Supported RDP properties.
To configure audio input redirection using host pool RDP properties:
Sign in to the Azure portal.
In the search bar, type Azure Virtual Desktop and select the matching service entry.
Select Host pools, then select the host pool you want to configure.
Select RDP Properties, then select Device redirection.
For Microphone redirection, select the drop-down list, then select one of the following options:
- Disable audio capture from the local device
- Enable audio capture from the local device and redirection to an audio application in the remote session
- Not configured (default)
Select Save.
To test the configuration, connect to a remote session and verify that the audio input redirection is as expected, such as recording audio from a microphone in an application in the remote session.
Configure audio input redirection using Group Policy
Configure audio input redirection using Group Policy
Select the relevant tab for your scenario.
To allow or disable audio input redirection using Group Policy:
Open the Group Policy Management console on device you use to manage the Active Directory domain.
Create or edit a policy that targets the computers providing a remote session you want to configure.
Navigate to Computer Configuration > Policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.
Double-click the policy setting Allow audio recording redirection to open it.
To allow audio recording redirection, select Enabled or Not configured, then select OK.
To disable audio recording redirection, select Disabled, then select OK.
Ensure the policy is applied to the computers providing a remote session, then restart them for the settings to take effect.
To test the configuration, connect to a remote session and verify that the audio input redirection is as expected, such as recording audio from a microphone in an application in the remote session.
Optional: Disable audio input redirection on a local device
You can disable audio input redirection on a local device to prevent audio input from being redirected from a local device to a remote session. This method is useful if you want to enable audio input redirection for most users, but disable it for specific devices.