Category filter
Configuration profile to disable fast user switching on Mac
Multiple users can access a single Mac without having to log out and close all applications using the feature known as fast user switching. Enabling the feature allows us to quickly switch between user accounts when there is more than one user logged in simultaneously. But when organizations do not want to allow multiple users to access a Mac using fast user switching in order to secure the information on the device, they can disable the feature using a custom configuration profile. IT admins can use Hexnode’s Deploy Custom Configuration feature to remotely deploy this configuration profile to multiple macOS devices enrolled in the organization.
Configuration profile to disable fast user switching on macOS devices
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 60 61 |
<?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>MultipleSessionEnabled</key> <false/> <key>PayloadIdentifier</key> <string>com.example.disablefastuserswitching</string> <key>PayloadType</key> <string>.GlobalPreferences</string> <key>PayloadUUID</key> <string>c5234012-e0sw-2066-6fl8-3bd5p8125op7</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </array> <key>PayloadDisplayName</key> <string>Global Preferences</string> <key>PayloadIdentifier</key> <string>com.example.configprofile</string> <key>PayloadType</key> <string>Configuration</string> <key>PayloadUUID</key> <string>25e8e2h6-167d-305e-t26y-2e9b717o2687</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </plist> |
The device management profile contains the MultipleSessionEnabled
key which inputs boolean values, true and false. To disable fast user switching, the key value has to be turned false.
What happens at the device end?
macOS users will have the fast user switching options configured to open in the Menu Bar or Control Centre. You can verify the associated settings from System Settings/System Preferences.
Once the policy and custom configuration are associated, the fast user switching option in the Menu Bar and Control Center gets removed.
You can verify if the policy is associated successfully from the Action History tab of the device.