Category filter
Configuration profile to disable shutdown from macOS login
The login window on macOS typically displays a shutdown button that allows users to turn off the system from there. However, in certain situations, you might have to disable the shutdown from the macOS login window, such as shared workstations or public environments, to avoid accidental actions that might disrupt the devices’ functioning. Here’s a custom configuration profile that helps disable shutdown from the macOS login window. Hexnode’s Deploy Custom Configuration for Apple devices feature lets you remotely deploy custom configuration profiles across multiple endpoints.
Here is a .plist file to disable shutdown from macOS login window:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
<?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>PayloadContent</key> <dict> <key>com.apple.loginwindow</key> <dict> <key>Forced</key> <array> <dict> <key>mcx_preference_settings</key> <dict> <key>ShutDownDisabled</key> <true/> </dict> </dict> </array> </dict> </dict> <key>PayloadEnabled</key> <true/> <key>PayloadIdentifier</key> <string>MCXToProfile.bd86b41b-76ed-4db5-b130-6015d9f37396.alacarte.customsettings.fa5d2b44-8f46-4f6d-947d-3d1c3955b7b6</string> <key>PayloadType</key> <string>com.apple.ManagedClient.preferences</string> <key>PayloadUUID</key> <string>fa5d2b44-8f46-4f6d-947d-3d1c3955b7b6</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </array> <key>PayloadDescription</key> <string>Included custom settings:com.apple.loginwindow</string> <key>PayloadDisplayName</key> <string>MCXToProfile: com.apple.loginwindow</string> <key>PayloadIdentifier</key> <string>ShutdownRemovedFromLoginwindow</string> <key>PayloadOrganization</key> <string></string> <key>PayloadRemovalDisallowed</key> <true/> <key>PayloadScope</key> <string>System</string> <key>PayloadType</key> <string>Configuration</string> <key>PayloadUUID</key> <string>bd86b41b-76ed-4db5-b130-6015d9f37396</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </plist> |
What happens at the device end?
Usually, the device shows the Shut Down button in the login window.
However, deploying the configuration profile will conveniently disable shutdown from the macOS login window. It will prevent the user from accessing the Shut Down button from the login window.