تحرير

مشاركة عبر


Use RDP Multipath to improve connections to Azure Virtual Desktop

Important

RDP Multipath is now Generally Available (GA). We are currently rolling out this connection-level feature to production in a phased manner. Until the rollout reaches 100%, you may not experience RDP Multipath consistently across all connections. The progression to each new phase will be quality-driven, ensuring a stable and reliable experience throughout the deployment.

Remote Desktop Protocol (RDP) Multipath improves session stability by continuously monitoring multiple networks paths and dynamically selecting the most reliable one. This intelligent switching mechanism helps reduce the likelihood of disconnections and contributes to a smoother and more consistent user experience.

It offers several key benefits:

  • Seamless integration: RDP Multipath works automatically. You don't need to make changes to existing infrastructure, making it easy to adopt RDP Multipath without disrupting current workflows.

  • Intelligent path management: Interactive Connectivity Establishment (ICE) discovers and evaluates multiple RDP Shortpath paths using Simple Traversal Underneath NAT (STUN) and Traversal Using Relays around NAT (TURN) protocols. With RDP Multipath, backup paths remain on standby in case the active path fails. RDP Multipath continuously monitors these paths and promotes the most stable one to active use. If the currently active path becomes unreliable or fails, the system automatically switches to the next best available path. This helps users remain connected and significantly reduces session drops or interruptions. If all paths fail, for example due to a local network outage, it automatically attempts to reconnect once connectivity is restored.

  • Enhanced Reliability: RDP Multipath proactively manages multiple network paths to significantly improve the resilience of Azure Virtual Desktop connections. Even in environments with fluctuating network quality, users can expect a more stable and productive experience.

The following diagram illustrates how RDP Multipath works with Azure Virtual Desktop. In this user scenario, the primary active path is the connection of UDP via STUN, supplemented by two redundant UDP connections through a TURN server:

A diagram showing RDP Multipath connections over RDP Shortpath using STUN and TURN.

Prerequisites

RDP Multipath works automatically when the following prerequisites are met:

Verify RDP Multipath is used

There are two ways to verify that RDP Multipath is being used for a connection:

  • Users can check the connection status of a remote session from the connection bar, which shows RDP Multipath is enabled, as shown in the following example screenshot:

    A screenshot of connection information showing that RDP Multipath is enabled.

  • Azure Virtual Desktop administrators can view connection reliability information in Azure Virtual Desktop Insights. For more information, see the connection reliability use case for Azure Virtual Desktop Insights.

    If you find some connections aren't using RDP Multipath, check that a firewall or other network restrictions doesn't block RDP Shortpath connections. A connection using STUN or TURN protocols is required.

Opt-in or Opt-out of the RDP Multipath

RDP Multipath is being rolled out in phases. If you’d like to manually control the feature availability on your session hosts, you can use the following registry key to either opt in or opt out.

Opt In to RDP Multipath

To enable RDP Multipath ahead of the full rollout, set the following registry key value to 100:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RdpCloudStackSettings" /v SmilesV3ActivationThreshold /t REG_DWORD /d 100 /f

Opt Out of RDP Multipath

If you prefer to disable RDP Multipath until the rollout is complete, set the registry key value to 0:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RdpCloudStackSettings" /v SmilesV3ActivationThreshold /t REG_DWORD /d 0 /f

Note

After updating the registry key, users must disconnect and reconnect to the session host for the change to take effect.

To learn more about RDP Shortpath, see RDP Shortpath for Azure Virtual Desktop.