title: 'Login Window: Scripts' description: '' payload: payloadtype: com.apple.mcxloginscripts supportedOS: macOS: introduced: '10.7' devicechannel: true userchannel: false requiresdep: false userapprovedmdm: false allowmanualinstall: true userenrollment: mode: forbidden content: Login and logout managed script handling payloadkeys: - key: loginscripts type: presence: optional content: An array of one or more dictionaries of scripts to run at user login time. subkeytype: ScriptsItems subkeys: &id001 - key: ScriptsItems type: subkeys: - key: filename type: presence: required content: The filename for display purposes. - key: filedata type: presence: required content: The UTF-8 encoded data object representing the executable script. - key: logoutscripts type: presence: optional content: An array of one or more dictionaries of scripts to run at user logout time. subkeytype: ScriptsItems subkeys: *id001 - key: skipLoginHook type: presence: optional default: false content: If 'true', doesn't execute the login scripts during login. - key: skipLogoutHook type: presence: optional default: false content: If 'true', doesn't execute the logout scripts during logout.