The payload that configures scripts to run at login and logout.
| Setting | Type | Required | Default | Manual Install | Supported OS |
|---|---|---|---|---|---|
loginscripts loginscripts An array of one or more dictionaries of scripts to run at user login time. 1 subkey | array | optional | — | ✓Yes | macOS (10.7+) |
└─ ScriptsItems ScriptsItems A dictionary of login scripts. 2 subkeys | dictionary | — | ✓Yes | macOS (10.7+) | |
└─ └─ filename filename The filename for display purposes. | string | required | — | ✓Yes | macOS (10.7+) |
└─ └─ filedata filedata The UTF-8 encoded data object representing the executable script. | data | required | — | ✓Yes | macOS (10.7+) |
logoutscripts logoutscripts An array of one or more dictionaries of scripts to run at user logout time. 1 subkey | array | optional | — | ✓Yes | macOS (10.7+) |
└─ ScriptsItems ScriptsItems A dictionary of login scripts. 2 subkeys | dictionary | — | ✓Yes | macOS (10.7+) | |
└─ └─ filename filename The filename for display purposes. | string | required | — | ✓Yes | macOS (10.7+) |
└─ └─ filedata filedata The UTF-8 encoded data object representing the executable script. | data | required | — | ✓Yes | macOS (10.7+) |
skipLoginHook skipLoginHook If `true`, the system doesn't execute the login scripts during login. | boolean | optional | false | ✓Yes | macOS (10.7+) |
skipLogoutHook skipLogoutHook If `true`, the system doesn't execute the logout scripts during logout. | boolean | optional | false | ✓Yes | macOS (10.7+) |
Explore the full catalogue of Apple Mobile Device Management (MDM) and Declarative Device Management (DDM) policies for macOS and iOS. Search, filter, and reference policy keys for use with Microsoft Intune, Jamf, or any standards-compliant MDM solution.
com.apple.wifi.managed – Wi-Fi network configurationcom.apple.vpn.managed – VPN configurationcom.apple.applicationaccess – App and feature restrictionscom.apple.security.pkcs1 – Certificate (PKCS#1) payloadcom.apple.security.pkcs12 – Identity certificate (PKCS#12) payloadcom.apple.security.scep – SCEP certificate enrolmentcom.apple.mail.managed – Mail account configurationcom.apple.eas.account – Exchange ActiveSync accountcom.apple.MCX – Managed Client (macOS) preferencescom.apple.MCX.FileVault2 – FileVault 2 disk encryptioncom.apple.dock – macOS Dock configurationcom.apple.screensaver – Screensaver configurationcom.apple.loginwindow – macOS login window configurationcom.apple.systempolicy.managed – Gatekeeper / system policycom.apple.systempreferences – System Preferences pane restrictionscom.apple.SoftwareUpdate – Software update behaviourcom.apple.TCC.configuration-profile-policy – Privacy Preferences Policy Control (PPPC)com.apple.notificationsettings – Per-app notification settingscom.apple.webcontent-filter – Web content filtercom.apple.dnsSettings.managed – DNS settings (DoH / DoT)com.apple.relay.managed – Network relay configurationcom.apple.extensiblesso – Extensible Single Sign-Oncom.apple.configuration.passcode.settings – DDM: passcode policycom.apple.configuration.softwareupdate.enforcement.specific – DDM: enforced software updatecom.apple.configuration.services.configuration-files – DDM: service configuration filescom.apple.configuration.management.status-subscriptions – DDM: status subscriptionscom.apple.activation.simple – DDM: simple activation predicatecom.apple.management.organization-info – DDM: organization information