Login Window: Scripts
com.apple.mcxloginscripts
The payload that configures scripts to run at login and logout.
Not available with User Enrollment · Only one instance per profile · macOS: device channel only
Configuration Keys (4)
| Key | Type | Description | Default | Range |
|---|---|---|---|---|
loginscriptsarrayLogin script | array | An array of one or more dictionaries of scripts to run at user login time. | Default: — | Range: 1 – — |
| dict | A dictionary of login scripts. | Default: — | Range: — | |
| string | The filename for display purposes. | Default: — | Range: — | |
| data | The UTF-8 encoded data object representing the executable script. | Default: — | Range: — | |
skipLoginHookbooleanExecute the Mac computer's LoginHook script | boolean | If 'true', the system doesn't execute the login scripts during login. | Default: false | Range: — |
logoutscriptsarrayLogout script | array | An array of one or more dictionaries of scripts to run at user logout time. | Default: — | Range: 1 – — |
| dict | A dictionary of login scripts. | Default: — | Range: — | |
| string | The filename for display purposes. | Default: — | Range: — | |
| data | The UTF-8 encoded data object representing the executable script. | Default: — | Range: — | |
skipLogoutHookbooleanExecute the Mac computer's LogoutHook script | boolean | If 'true', the system doesn't execute the logout scripts during logout. | Default: false | Range: — |