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 Microsoft Intune or Group Policy, then control redirection using the host pool RDP properties.

For Windows 365, you can configure your Cloud PCs using Microsoft Intune or Group Policy.

For Microsoft Dev Box, you can configure your dev boxes using Microsoft Intune or 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.

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.

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.

Prerequisites

Before you can configure audio and video redirection, you need:

  • An existing Cloud PC.
  • An existing dev box.
  • An audio device you can use to test the redirection configuration.

  • To configure Microsoft Intune, you need:

    • Microsoft Entra ID account that is assigned the Policy and Profile manager built-in RBAC role.
    • A group containing the devices you want to configure.
  • 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 Microsoft Intune or 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 Microsoft Intune or 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 Microsoft Intune or 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 Microsoft Intune or 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:

  1. Sign in to the Azure portal.

  2. In the search bar, type Azure Virtual Desktop and select the matching service entry.

  3. Select Host pools, then select the host pool you want to configure.

  4. Select RDP Properties, then select Device redirection.

    A screenshot showing the host pool device redirection tab in the Azure portal.

  5. 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
  6. Select Save.

  7. 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 Microsoft Intune or Group Policy

Configure audio and video playback redirection, and limit audio playback quality using Microsoft Intune or Group Policy

Select the relevant tab for your scenario.

To allow or disable audio and video playback redirection, and limit audio playback quality using Microsoft Intune:

  1. Sign in to the Microsoft Intune admin center.

  2. Create or edit a configuration profile for Windows 10 and later devices, with the Settings catalog profile type.

  3. In the settings picker, browse to Administrative templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.

    A screenshot showing the device and resource redirection options in the Microsoft Intune portal.

  4. Check the box for Allow audio and video playback redirection, and optionally Limit audio playback quality, then close the settings picker.

  5. Expand the Administrative templates category, then toggle the switch for Allow audio and video playback redirection, depending on your requirements:

    • To allow audio and video playback redirection, toggle the switch to Enabled.

    • To disable audio and video playback redirection, toggle the switch to Disabled.

  6. If you selected Limit audio playback quality, select the audio quality from the drop-down list.

  7. Select Next.

  8. Optional: On the Scope tags tab, select a scope tag to filter the profile. For more information about scope tags, see Use role-based access control (RBAC) and scope tags for distributed IT.

  9. On the Assignments tab, select the group containing the computers providing a remote session you want to configure, then select Next.

  10. On the Review + create tab, review the settings, then select Create.

  11. Once the policy applies to the computers providing a remote session, restart them for the settings to take effect.

  12. 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 Microsoft Intune or 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 Microsoft Intune or 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 Microsoft Intune or 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 Microsoft Intune or 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:

  1. Sign in to the Azure portal.

  2. In the search bar, type Azure Virtual Desktop and select the matching service entry.

  3. Select Host pools, then select the host pool you want to configure.

  4. Select RDP Properties, then select Device redirection.

    A screenshot showing the host pool device redirection tab in the Azure portal.

  5. 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)
  6. Select Save.

  7. 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 Microsoft Intune or Group Policy

Configure audio input redirection using Microsoft Intune or Group Policy

Select the relevant tab for your scenario.

To allow or disable audio input redirection using Microsoft Intune:

  1. Sign in to the Microsoft Intune admin center.

  2. Create or edit a configuration profile for Windows 10 and later devices, with the Settings catalog profile type.

  3. In the settings picker, browse to Administrative templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection.

    A screenshot showing the device and resource redirection options in the Microsoft Intune portal.

  4. Check the box for Allow audio recording redirection, then close the settings picker.

  5. Expand the Administrative templates category, then toggle the switch for Allow audio recording redirection to Enabled or Disabled, depending on your requirements. Select Next.

  6. Optional: On the Scope tags tab, select a scope tag to filter the profile. For more information about scope tags, see Use role-based access control (RBAC) and scope tags for distributed IT.

  7. On the Assignments tab, select the group containing the computers providing a remote session you want to configure, then select Next.

  8. On the Review + create tab, review the settings, then select Create.

  9. Once the policy applies to the computers providing a remote session, restart them for the settings to take effect.

  10. 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.