<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/ScreenSharingHostSettings",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rmdm-declarations:ScreenSharingHostSettings"
  },
  "title" : "ScreenSharingHostSettings"
}
-->

# ScreenSharingHostSettings

The declaration to configure screen-sharing host settings and restrictions.

```
object ScreenSharingHostSettings
```

## Discussion

Specify `com.apple.configuration.screensharing.host.settings` as the declaration type.

### Configuration availability

|||
|--------------------------------|--------------------------------------|
|Allowed in supervised enrollment|macOS                                 |
|Allowed in device enrollment    |N/A                                   |
|Allowed in user enrollment      |N/A                                   |
|Allowed in local enrollment     |macOS                                 |
|Allowed in system scope         |macOS                                 |
|Allowed in user scope           |N/A                                   |
|Apply                           |Only a single configuration is applied|

### Configuration example

This configuration manages screen-sharing host settings and restrictions.

```json
{
    "Type": "com.apple.configuration.screensharing.host.settings",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "MaximumVirtualDisplays": 1,
        "PortBase": 1100,
        "PreventCopyFilesFromHost": true,
        "PreventCopyFilesToHost": true,
        "PreventHighPerformanceConnections": true
    }
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)