Processes still running as logged-off user

I deal with multi-user Macs, and I'm finding that if I log on to perform administrative tasks the previously logged-on user has a large list of processes still running as that user. Sometimes this gets in the way of applying updates, and other times it can halt shutting down or restarting the Mac as it tries to quit those processes.


This seemed to get introduced with Fast User Switching. In an Active Directory environment like this one, having this support can break some applications. On MacOS this breaks home folders at least, and breaks some Adobe Creative Cloud applications at worst. if nothing else, these processes consume memory and slow things down quite a bit for the active user. Just disabling the entry points in Login Options, like I would on Windows through Group Policy, doesn't seem to make a difference here.


Is there a means to safely force-quit these processes running as this logged-off user? I suppose I could open up a Terminal and sudo-run a script that lists and then kills processes running as this user, but I suspect some processes depend on others and killing them in an incorrect order would make things worse. And after that, is there a way to make sure that, when a user logs off, all of their processes actually quit?

--


Message was edited by: gordonf-asc (Grammar)

MacBook Pro, OS X Yosemite (10.10.5), Wife's Mac

Posted on Oct 14, 2016 10:37 AM

Reply
4 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Processes still running as logged-off user

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.