---
title: ScreenSharingHostSettings
framework: Device Management
role: symbol
role_heading: Object
platforms: [macOS 14.0+]
path: devicemanagement/screensharinghostsettings
---

# ScreenSharingHostSettings

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

## Declaration

```data
object ScreenSharingHostSettings
```

## Properties

MaximumVirtualDisplays: The maximum number of virtual displays to make available to clients. PortBase: The initial UDP port number to connect to the host. Screen sharing requires multiple connections, so the system increments this value by 1 for each additional connection. This doesn’t change the port number that the system uses to initially establish a connection with a host, which is always TCP port 5900. PreventCopyFilesFromHost: If true, the system prevents users from copying files from the screen-sharing host. PreventCopyFilesToHost: If true, the system prevents users from copying files to the screen-sharing host. PreventHighPerformanceConnections: If true, the system prevents clients from establishing high-performance connections to the host.

## Discussion

Discussion Specify com.apple.configuration.screensharing.host.settings as the declaration type. Configuration availability  |   |   |   |   |   |   |   |  Configuration example This configuration manages screen-sharing host settings and restrictions. {     "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     } }

## See Also

### Configurations

- [AccessibilitySettings](devicemanagement/accessibilitysettings.md)
- [AccountCalDAV](devicemanagement/accountcaldav.md)
- [AccountCardDAV](devicemanagement/accountcarddav.md)
- [AccountExchange](devicemanagement/accountexchange.md)
- [AccountGoogle](devicemanagement/accountgoogle.md)
- [AccountLDAP](devicemanagement/accountldap.md)
- [AccountMail](devicemanagement/accountmail.md)
- [AccountSettings](devicemanagement/accountsettings.md)
- [AccountSubscribedCalendar](devicemanagement/accountsubscribedcalendar.md)
- [AppManaged](devicemanagement/appmanaged.md)
- [AppSettings](devicemanagement/appsettings.md)
- [AudioAccessorySettings](devicemanagement/audioaccessorysettings.md)
- [ContentCaching](devicemanagement/contentcaching.md)
- [DiskManagementSettings](devicemanagement/diskmanagementsettings.md)
- [ExtensibleSSO](devicemanagement/extensiblesso.md)
