> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remote Desktop

> Configure the built-in remote access of managed devices: Remote Desktop and Remote Assistance on Windows, Screen Sharing on macOS.

The Remote Desktop control configures the remote access built into the operating system. On Windows, it sets incoming Remote Desktop and Remote Assistance: who may connect, encryption, redirections, the clipboard and credential delegation. On macOS, it sets Screen Sharing.

> [!NOTE]
>
> This control doesn't install a remote support tool and doesn't enable **Start session** in the device panel. To start a remote session from Primo, use [RustDesk](https://docs.getprimo.com/mdm/policies/remote-management.md).

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | ✅ | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls** and open **Remote Desktop**. Select the platform tab, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all devices on that platform, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the device keeps its own value.

## Settings

> [tab] macOS
>
> Under **Screen Sharing**:
>
> | Setting | Options |
> | - | - |
> | **Block copying files from this Mac** | **On**, **Off**, **Not configured** |
> | **Block copying files to this Mac** | **On**, **Off**, **Not configured** |
> | **Block high-performance connections** | **On**, **Off**, **Not configured** |
> | **Maximum virtual displays** | From 0 to 2 |
> | **First UDP port** | From 1024 to 65535 |
>
> * **Maximum virtual displays** caps the virtual displays a Screen Sharing session can add to the Mac.
> * **First UDP port**: the first connection always uses TCP port 5900; the next ones use UDP ports from this one.
>
> The control doesn't turn Screen Sharing on or off. To turn it off, use the [System services](https://docs.getprimo.com/mdm/policies/system-services.md) control.

> [tab] Windows
>
> Toggles offer **On**, **Off** and **Not configured**.
>
> | Section | Setting | Options |
> | - | - | - |
> | **Remote Desktop** | **Allow Remote Desktop connections** | Toggle |
> | | **Client connection encryption level** | **Low**, **Client compatible**, **High**, **Not configured** |
> | | **Require secure RPC communication** | Toggle |
> | | **Always prompt for a password on connection** | Toggle |
> | | **Disconnect the session on lock (legacy authentication)** | Toggle |
> | **Redirection and clipboard** | **Block drive redirection** | Toggle |
> | | **Block WebAuthn redirection** | Toggle |
> | | **Clipboard into this device** | Clipboard level |
> | | **Clipboard out of this device** | Clipboard level |
> | | **Block saving passwords in Remote Desktop Connection** | Toggle |
> | **Remote Assistance** | **Requested Remote Assistance** | **Off**, **View only**, **Full control**, **Not configured** |
> | | **Offered Remote Assistance** | **Off**, **View only**, **Full control**, **Not configured** |
> | | **Helpers who may offer assistance** | A list of users or groups |
> | | **Message shown before a helper connects** | Text, up to 1024 characters |
> | | **Message shown before a helper takes control** | Text, up to 1024 characters |
> | | **Log Remote Assistance sessions** | Toggle |
> | | **Accept encrypted invitations only** | Toggle |
> | | **Bandwidth optimization** | **No optimization**, **No full window drag**, **No background**, **Full optimization**, **Not configured** |
> | **Credential delegation (CredSSP)** | **Delegate default credentials to** | A list of servers |
> | | **Delegate default credentials with NTLM-only authentication to** | A list of servers |
> | | **Delegate fresh credentials to** | A list of servers |
> | | **Delegate fresh credentials with NTLM-only authentication to** | A list of servers |
> | | **Delegate saved credentials to** | A list of servers |
> | | **Delegate saved credentials with NTLM-only authentication to** | A list of servers |
> | | **Never delegate default credentials to** | A list of servers |
> | | **Never delegate fresh credentials to** | A list of servers |
> | | **Never delegate saved credentials to** | A list of servers |
> | | **Restrict delegation to remote servers** | **Require Restricted Admin**, **Require Remote Credential Guard**, **Restrict credential delegation**, **Not configured** |
>
> * **Clipboard into this device** and **Clipboard out of this device** set what the clipboard of a Remote Desktop session can carry: **Blocked**, **Plain text**, **Plain text and images**, **Plain text, images and rich text**, **Plain text, images, rich text and HTML** or **Not configured**.
> * **Requested Remote Assistance** covers the help an employee asks for with an invitation. **Offered Remote Assistance** covers the help a helper offers without an invitation.
> * **Helpers who may offer assistance**: users or groups, such as `DOMAIN\Helpdesk`, up to 50. At least one helper is required when **Offered Remote Assistance** is **View only** or **Full control**, and helpers apply only when Remote Assistance is offered.
> * The credential delegation lists take service principal names, such as `TERMSRV/*` or `TERMSRV/server.example.com`, up to 100 per list. They're added to the Windows defaults.

## How it works

> [tab] macOS
>
> Primo deploys a Screen Sharing host settings declaration through declarative device management. Only the settings you configured are written.

> [tab] Windows
>
> Primo applies the settings through Windows policies for the whole device. An invitation for requested Remote Assistance lasts 6 hours, the Windows default.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [RustDesk](https://docs.getprimo.com/mdm/policies/remote-management.md)
* [System services](https://docs.getprimo.com/mdm/policies/system-services.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.