Posted on 09-13-2017 06:19 AM
Hi everyone,
we are using JSS 9.100.0. I have the problem that we have a lot of users login in over AD on our MacBooks. After a AD User login a policy runs that sets a couple of Dock Items. The policy shows as complete in JSS and even I see the message that I setup in JSS that the policy has executed. But the Dock does not change. After a second Login the policy runs again and the dock is updated, but not on the first login. Even when I open Selfservice after the first login and run the policy manual, the dock items change like they should be. I guess, that maybe the User folder creation is not finished before the policy runs, thats properly the reason for working on the second login and manually. How can I make the policy run later, or maybe you guys know a different way to do it.
Posted on 09-13-2017 07:11 AM
@stefanmcnett We've had a number of issues with policies not triggering at login. Not sure why.
To get around this, we've deployed outset to our machines. This allows to run scripts or even install profiles and software packages either at computer startup or user login, only once or every time, without needing to involve the JSS.
Check it out.
Posted on 09-13-2017 08:01 AM
Dock changes to be processed before the user environment starts to load. To accomplish this, you need "Perform login hook actions in background" turned off in your JSS. This will make it so login scripts finish running before the user environment starts loading.