title: Disk Management:Settings description: The declaration to configure disk management settings on the device. payload: declarationtype: com.apple.configuration.diskmanagement.settings supportedOS: iOS: introduced: n/a macOS: introduced: '15.0' allowed-enrollments: - supervised - local allowed-scopes: - system tvOS: introduced: n/a visionOS: introduced: n/a watchOS: introduced: n/a apply: combined payloadkeys: - key: Restrictions title: Restrictions type: presence: optional content: The restrictions for the disk. subkeys: - key: ExternalStorage title: External storage type: presence: optional rangelist: - Allowed - ReadOnly - Disallowed combinetype: enum-last content: |- Specifies the mount policy for external storage: - `Allowed`: The system can mount external storage that's read-write or read-only. - `ReadOnly`: The system can only mount read-only external storage. Note that external storage that's read-write won't be mounted read-only. - `Disallowed`: The system can't mount any external storage. - key: NetworkStorage title: Network storage type: presence: optional rangelist: - Allowed - ReadOnly - Disallowed combinetype: enum-last content: |- Specifies the mount policy for network storage: - `Allowed`: The system can mount network storage that's read-write or read-only. - `ReadOnly`: The system can only mount read-only network storage. Note that network storage that's read-write won't be mounted read-only. - `Disallowed`: The system can't mount any network storage. examples: - title: Configuration example files: - description: This configuration prevents the use of external and network storage devices. file: examples/declarative/declarations/configurations/diskmanagement.settings/example1.json