Skip to main content
Question

how to unlock "Show fast user switching menu as" in system preference

  • November 20, 2018
  • 6 replies
  • 72 views

Forum|alt.badge.img+3

6 replies

Forum|alt.badge.img+15
  • Valued Contributor
  • 301 replies
  • November 20, 2018

If something is greyed out in preferences it's likely a configuration profile that's restricting that option. There's a .GlobalPreferences key for MultipleSessionsEnabled and yours might be set to false.

In Jamf the most common way this gets set is if you're using a Login Window payload and leave this box unchecked, which blocks that for your users.

It's also possible that restriction was set with a script:

/usr/bin/defaults write .GlobalPreferences MultipleSessionsEnabled -bool NO

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 8 replies
  • November 21, 2018

i have set Enable Fast User Switching, But it's not working . the itme is also greyed out. @ sshort


clint5047
Forum|alt.badge.img+5
  • Contributor
  • 15 replies
  • December 12, 2018

@shermanpan not sure if you ever got a solution for this. I just ran into the same thing and found that our custom profile that set the "CSUIDisable32BitWarning" did this. Essentially, it sets the plist that also holds the setting for Fast User switching as a Managed Preference and if you don't explicitly set "MultipleSessionEnabled" to TRUE in that, it will default to FALSE. The plist file is /Library/Managed Preferences/.GlobalPreferences.plist


Forum|alt.badge.img+15
  • Valued Contributor
  • 301 replies
  • December 12, 2018

@chuinder Interesting... just curious, was the custom profile that sets CSUIDisable32BitWarning uploaded as a mobileconfig and signed (so it's read-only)? Or did you create the custom profile by uploading a plist?


clint5047
Forum|alt.badge.img+5
  • Contributor
  • 15 replies
  • December 12, 2018

had to check with my coworker who actually authored the setting and he did it as a .mobileconfig. It's actually still giving us some issues. Removing the profile "fixes" the problem. Setting the MultipleSessionEnabled to TRUE is still read by the system as it being FALSE..


Forum|alt.badge.img+6
  • Contributor
  • 15 replies
  • May 10, 2022

In case anyone else is having the same issue with Monterey go to this article - https://www.kevinmcox.com/2022/04/adventures-in-fast-user-switching-on-macos-monterey/

Below is the script I deployed through JAMF. The key is running the last 2 plist settings AS the user.

#!/bin/sh

# Get current logged in user
currentuser=`/bin/ls -la /dev/console | /usr/bin/cut -d " " -f 4`

# Global Setting. Enables for all users.
defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool true

# User Specific Setting. Note - if running manually use SUDO
# UserSwitcher - Where you want the fast user switching icon to appear
# OPTIONS: 1 = Show in Control Center. (WE USE #2) 2 = Show in Menu Bar. 3 = Show in both. 8 = Hidden (FUS disabled)
su $currentuser -c "defaults -currentHost write com.apple.controlcenter UserSwitcher -int 2"

# User Specific Setting. Note - if running manually use SUDO
# userMenuExtraStyle - What you want it to display.
# OPTIONS: 0 = Full Name. (WE USE #1) 1 = Account Name (username). 2 = Icon (default)
su $currentuser -c "defaults write .GlobalPreferences userMenuExtraStyle -int 1"