LoginWindow
The payload that configures Login Window behavior.
Declaration
object LoginWindowProperties
| Name | Type | Description |
|---|---|---|
AdminHostInfo | string | The admin host info. If present in the payload, the system displays its value in the Login Window as additional computer information. Before macOS 10.10, this string could only contain host name, system version, or IP address. After macOS 10.10, setting this key to any value allows the user to click the time area of the menu bar to toggle through various computer information values. |
AllowList | [string] | The list of user GUIDs or group GUIDs of users that the system allows to log in. An asterisk ( |
AutologinPassword | string | An optional user password to set up auto login. This must match the |
AutologinUsername | string | The user short name for an existing user to set up auto login. |
DenyList | [string] | The list of user GUIDs or group GUIDs of users that the system disallows to log in. This list takes priority over the list in the |
DisableConsoleAccess | boolean | If |
DisableFDEAutoLogin | boolean | If |
DisableScreenLockImmediate | boolean | If |
HideAdminUsers | boolean | If |
HideLocalUsers | boolean | If |
HideMobileAccounts | boolean | If |
IncludeNetworkUser | boolean | If |
LoginwindowText | string | The text to display in the Login Window. |
LogOutDisabledWhileLoggedIn | boolean | If |
PowerOffDisabledWhileLoggedIn | boolean | If |
RestartDisabled | boolean | If |
RestartDisabledWhileLoggedIn | boolean | If |
SHOWFULLNAME | boolean | If |
showInputMenu | boolean | If |
SHOWOTHERUSERS_MANAGED | boolean | If |
ShutDownDisabled | boolean | If |
ShutDownDisabledWhileLoggedIn | boolean | If |
SleepDisabled | boolean | If |
Discussion
Specify com.apple.loginwindow as the payload type.
Profile availability
Device channel | macOS |
User channel | NA |
Allow manual install | macOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | NA |
Allow multiple payloads | macOS |
Profile example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>AdminHostInfo</key>
<string>HostName</string>
<key>AdminMayDisableMCX</key>
<true/>
<key>AllowList</key>
<array/>
<key>AlwaysShowWorkgroupDialog</key>
<true/>
<key>CombineUserWorkgroups</key>
<true/>
<key>DenyList</key>
<array/>
<key>DisableConsoleAccess</key>
<true/>
<key>EnableExternalAccounts</key>
<false/>
<key>FlattenUserWorkgroups</key>
<true/>
<key>HideAdminUsers</key>
<false/>
<key>HideLocalUsers</key>
<false/>
<key>HideMobileAccounts</key>
<false/>
<key>IncludeNetworkUser</key>
<true/>
<key>LocalUserLoginEnabled</key>
<true/>
<key>LocalUsersHaveWorkgroups</key>
<true/>
<key>RestartDisabled</key>
<false/>
<key>RetriesUntilHint</key>
<integer>0</integer>
<key>SHOWFULLNAME</key>
<false/>
<key>SHOWOTHERUSERS_MANAGED</key>
<true/>
<key>ShutDownDisabled</key>
<false/>
<key>SleepDisabled</key>
<false/>
<key>UseComputerNameForComputerRecordName</key>
<true/>
<key>com.apple.login.mcx.DisableAutoLoginClient</key>
<true/>
<key>showInputMenu</key>
<true/>
<key>PayloadIdentifier</key>
<string>com.example.myloginwindowpayload</string>
<key>PayloadType</key>
<string>com.apple.loginwindow</string>
<key>PayloadUUID</key>
<string>fe9ba3c5-0f1a-45c7-b6df-a5f4489695fe</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Login Window</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>61bd7d63-4a4a-4b67-9112-5ceb16afb4dc</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>