Category filter
Configuration profile to remove Shut Down option from Apple menu on Mac
Admins may often initiate time-consuming actions that require the device to remain turned on throughout the entirety of its execution. There may also be instances wherein the device has a faulty power-on button, so an unintended shutdown could turn the device off, preventing the user from turning it back on. In such scenarios, when a user shutting down their macOS device is not favored, admins can hide the shutdown option from the Apple menu by deploying a custom configuration profile from the Hexnode UEM portal.
Hide Shut Down option from Apple Menu
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 56 57 58 59 |
<?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>ShutDownDisabledWhileLoggedIn</key> <true/> </dict> </dict> </array> </dict> </dict> <key>PayloadEnabled</key> <true/> <key>PayloadIdentifier</key> <string>MCXToProfile.c9e435e9-b507-418f-9420-b1453e2678a8.alacarte.customsettings.48e05061-5822-412b-a3f9-96c8715d364e</string> <key>PayloadType</key> <string>com.apple.ManagedClient.preferences</string> <key>PayloadUUID</key> <string>48e05061-5822-412b-a3f9-96c8715d364e</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </array> <key>PayloadDescription</key> <string>Included custom settings: com.apple.loginwindow Git revision: 5aefeaf7eb</string> <key>PayloadDisplayName</key> <string>MCXToProfile: com.apple.loginwindow</string> <key>PayloadIdentifier</key> <string>ShutdownRemovedFromAppleMenu</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>c9e435e9-b507-418f-9420-b1453e2678a8</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </plist> |
What happens at the device end?
Once the configuration profile is deployed, the Shut Down option will be removed from the Apple menu.