Skip to main content
Question

Enabling Fast User Switching 10.10


Forum|alt.badge.img+8

Hi everyone,

This seems to be very hit and miss on Yosemite. Traditionally, we enable fast users in Managed Preferences.

User level enforced
Domain : .GlobalPreferences
Key: MultipleSessionEnabled
Value: True

This works perfectly on 10.9 and below. 10.10 seems to have problems with user level enforced mcx, sometimes it applies, sometimes it doesn't.

How is everyone else managing fast user switching in yosemite?

I have tried defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool 'YES'
which doesn't seem to work either.

I have also tried a custom setting via configuration profile but no luck with that also.

Any ideas?

12 replies

Forum|alt.badge.img+14
  • Contributor
  • 388 replies
  • May 13, 2015
defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool Yes

defaults write /Library/Preferences/com.apple.loginwindow SHOWFULLNAME -bool YES

This has always worked for me, maybe it could be the extra apostrophes? I use this during imagining at reboot, but this could be used as a policy as well (test it out!).


Forum|alt.badge.img+9
  • Contributor
  • 53 replies
  • May 13, 2015

I have deployed

defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool 'YES'

successfully to 10.10.2 and 10.10.3 clients via policy.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 58 replies
  • May 13, 2015

Hi guys,

cheers for the responses. This does seem to work on any new accounts, but it doesn't seem to affect any existing users.


Forum|alt.badge.img+11
  • Contributor
  • 286 replies
  • May 14, 2015

Have you tried:

defaults write /Users/*/Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool 'YES'


bentoms
Forum|alt.badge.img+35
  • Legendary Contributor
  • 4331 replies
  • May 15, 2015

Just to add. User level MCX & Yosemite seems to not work.

There are a few threads in that here, so might me time to move to profiles.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 58 replies
  • May 15, 2015

Hi Ben,

This is what I am seeing. I tried a custom configuration profile for fast user switching and couldn't get it working. I could only get it to deploy at a system level. I'll see if the threads here can shed any more light.


Forum|alt.badge.img+12
  • Contributor
  • 115 replies
  • September 5, 2015

@jamesdurler Hi James, did you ever find something reliable to deploy at the system level?


Forum|alt.badge.img+4
  • Contributor
  • 17 replies
  • November 9, 2018

I know this is an old thread but anyone managed to get this to work on 10.14? Thanks


Forum|alt.badge.img+6
  • Contributor
  • 15 replies
  • November 14, 2018

Hi @j.tanudjaja ,

It works for Mojave, but you need to add .plist in your command line:

defaults write /Library/Preferences/.GlobalPreferences.plist MultipleSessionEnabled -bool true
defaults write /Library/Preferences/com.apple.loginwindow.plist SHOWFULLNAME -bool true

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"


Forum|alt.badge.img+5
  • Contributor
  • 30 replies
  • October 27, 2022
AKuzenkov wrote:

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"


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

but this doesn't add the option for all users, If a new user logs in the complete script needs to be ran.

Is there one that will effect all users and not just current console user?

 

 


Forum|alt.badge.img+6
  • Contributor
  • 15 replies
  • January 19, 2023
IT-Chris wrote:

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

but this doesn't add the option for all users, If a new user logs in the complete script needs to be ran.

Is there one that will effect all users and not just current console user?

 

 


Not that I know of unfortunately. You could set the script to run Once per User in JAMF.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings