@agrosvenor Thanks a lot for the reply. I'm trying to kill the procs that stick around from the prior users. It's really nasty, the dock gets corrupted and programs won't launch. I discovered this thread with a few more scripts I'm going to try:
https://discussions.apple.com/thread/6468254?start=15&tstart=0
Apparently this is a longstanding issue. I really don't understand why Apple fails to address massive bugs like this which affect enterprise environments.
@dferrara We had an Apple Engineer out and document the problem. Reproduced it in 10.9.x and 10.10.x. Because at that time, 10.11 was already released, 10.9 and 10.10 are only kept up for security issues only. It was determined this was a known issue internally and not resolved. I have not checked against 10.11 to see its been resolved.
Can you post up a list of the zombie processes? I'm wondering which processes are still holding out. If it's PC, which version are you using?
While we do use PC Client for our teachers, we don't use it for students. That means we don't see multiple users on teacher stations, unlike student stations. We can see upwards of 90+ users on one station which leads to these zombie processes saturating the computer.
If you want, you can email me offline.
@millersc @dferrara I am still seeing this issue with 10.12.6. In a lab its a nightmare - every user leaves 10 or more processes.
@nigelg do you have parental control active or isn't it limited to a handful of processes for each user? Can you share a screen shot of activity monitor?

@millersc We do use parental controls - any info on the impact that could have would be useful. Each user ends up with these processes running when they log out and some of them (mainly mdworker - spotlight) can come back after a reboot. I am currently running a logout script to kill processes but its a bit dirty.
After running the logout script to kill processes, users are always left running trustd, lsd and cfprefsd.
@nigelg im not at my desk to show my screen shots. But this looks like it might be the parental control config profile issue. Search the forum here. I know guys have been having issues with that and 100% processor spikes