Редактиране

Споделяне чрез


Configure the clipboard transfer direction and data types that can be copied in Azure Virtual Desktop

Clipboard redirection in Azure Virtual Desktop allows users to copy and paste content, such as text, images, and files between the user's device and the remote session in either direction. You might want to limit the direction of the clipboard for users, to help prevent data exfiltration or malicious files being copied to a session host. You can configure whether users can use the clipboard from session host to client, or client to session host, and the types of data that can be copied, from the following options:

  • Disable clipboard transfers from session host to client, client to session host, or both.
  • Allow plain text only.
  • Allow plain text and images only.
  • Allow plain text, images, and Rich Text Format only.
  • Allow plain text, images, Rich Text Format, and HTML only.

You apply settings to your session hosts. It doesn't depend on a specific Remote Desktop client or its version. This article shows you how to configure the direction the clipboard and the types of data that can be copied using Microsoft Intune or Group Policy.

Prerequisites

To configure the clipboard transfer direction, you need:

Configure clipboard transfer direction

Here's how to configure the clipboard transfer direction and the types of data that can be copied. Select the relevant tab for your scenario.

To configure the clipboard using Intune, follow these steps. This process creates an Intune settings catalog policy.

  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 the following settings, making sure you select the settings with the correct scope for your requirements, then close the settings picker. To determine which scope is correct for your scenario, see Settings catalog - Device scope vs. user scope settings:

    • Device scope settings:

      • Restrict clipboard transfer from server to client
      • Restrict clipboard transfer from client to server
    • User scope settings:

      • Restrict clipboard transfer from server to client (User)
      • Restrict clipboard transfer from client to server (User)
  5. Expand the Administrative templates category, then toggle the switch for each setting you added to Enabled.

  6. Once each setting is enabled, a drop-down list appears from which you can select the types of data that can be copied. Choose from the following options:

    • Disable clipboard transfers from server to client or Disable clipboard transfers from client to server
    • Allow plain text
    • Allow plain text and images
    • Allow plain text, images, and Rich Text Format
    • Allow plain text, images, Rich Text Format, and HTML
  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. Connect to a remote session with a supported client and test the clipboard settings you configured are working by trying to copy and paste different types of content.