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

# Screen mirroring

> Limit the AirPlay destinations of managed Macs, and allow or block AirPlay to the Mac and iPhone Mirroring.

The Screen mirroring control decides where your Macs can show their screen and what can show on them. Limit the AirPlay destinations a Mac can mirror to, and allow or block AirPlay to the Mac and iPhone Mirroring.

## 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**, open **Screen mirroring**, then click **Add configuration**.

**2. Configure the settings**

Fill in 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 macOS devices, 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 Mac keeps its own setting.

## Settings

| Section | Setting | Options |
| - | - | - |
| **AirPlay** | **Allowed AirPlay destinations** | A list of AirPlay destination names |
| | **AirPlay to this Mac** | **On**, **Off**, **Not configured** |
| **iPhone Mirroring** | **iPhone Mirroring** | **On**, **Off**, **Not configured** |

* **Allowed AirPlay destinations**: one destination per line, by its name as AirPlay shows it, such as `Meeting Room Apple TV`. Only these destinations show on the Mac. Up to 50 destinations, each name up to 255 characters.
* **AirPlay to this Mac** set to **Off** stops other Apple devices from mirroring or streaming to the Mac.
* **iPhone Mirroring** set to **Off** stops the employee from using their iPhone from the Mac.

## How it works

Primo deploys a configuration profile with up to two payloads, only for the settings you configured: an AirPlay payload for the allowed destinations, and a restrictions payload for AirPlay to the Mac and iPhone Mirroring.

The allowed destinations are matched by name. The control doesn't set a password for a destination.

## Modify or remove the control

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

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Screen capture blocking](https://docs.getprimo.com/mdm/policies/screen-capture-blocking.md)
* [Cross-device features](https://docs.getprimo.com/mdm/policies/cross-device-features.md)


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