We are using JAMF to deploy configuration profiles which we are able to do successfully, however, we have one piece of functionality we'd like to implement but can't seem to figure out to get how to work. We have successfully gotten profiles to deploy based on network location, but after the profile deploys, the user needs to reboot or log in / log out of their session for the profile to take effect. We have some profiles that are being deployed to laptops where we want one version if the laptop is on campus (i.e. in a certain IP range) and a different one if it is not, and we'd like this to take effect immediately when the client checks in with JAMF and it is detected they have switched locations. I've gone through all the JAMF nation posts on configuration profiles, a fair amount of searching about how OS X deploys these profiles, and the man page of the command profile, but I don't see a way to be able to do this. Does anyone know of a way to apply the configuration profile without starting a new session in OS X? Thanks in advance.
Hmm I can't say for sure, but I would think this would depend on which settings you are enforcing. User settings may need a re-log but I thought system-level settings were immediate. I don't know of a way around that with user settings, if that is the case.
Try:
sudo mcxrefresh -n <username of logged-in user>
Configuration Profiles and MCX apply the same way in the end, so the mcxrefresh command typically works with Configuration Profiles too.
Ignore any errors that appear, by-the-way, about directory users, etc. It still seems to work (at least for me) when using Configuration Profiles deployed by the Casper Suite.
Thanks for these suggestions, will try and let you guys know how it turns out
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.