Apple MDM & DDM Policy Explorer

Explore the full catalogue of Apple Mobile Device Management (MDM) and Declarative Device Management (DDM) policies for macOS and iOS. Use the interactive explorer to search, filter, and reference policy keys for use with Microsoft Intune, Jamf, or any standards-compliant MDM solution.

Policy categories

  • Configuration Profile
  • Declarative Configuration
  • Declarative Activation
  • Declarative Asset
  • Declarative Management

Login Window: Scripts (com.apple.mcxloginscripts)

com.apple.mcxloginscripts

The payload that configures scripts to run at login and logout.

macOS(10.7)
Branch: release

Settings (10)

SettingTypeRequiredDefaultManual InstallSupported OS
loginscripts
loginscripts
An array of one or more dictionaries of scripts to run at user login time.
1 subkey
arrayoptional
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.
stringrequired
Yes
macOS (10.7+)
└─ └─
filedata
filedata
The UTF-8 encoded data object representing the executable script.
datarequired
Yes
macOS (10.7+)
logoutscripts
logoutscripts
An array of one or more dictionaries of scripts to run at user logout time.
1 subkey
arrayoptional
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.
stringrequired
Yes
macOS (10.7+)
└─ └─
filedata
filedata
The UTF-8 encoded data object representing the executable script.
datarequired
Yes
macOS (10.7+)
skipLoginHook
skipLoginHook
If `true`, the system doesn't execute the login scripts during login.
booleanoptionalfalse
Yes
macOS (10.7+)
skipLogoutHook
skipLogoutHook
If `true`, the system doesn't execute the logout scripts during logout.
booleanoptionalfalse
Yes
macOS (10.7+)