Posted on 03-13-2019 05:02 AM
If a clients breaks for some reason it there any "trick" to do a fast re-enrollment of the client, so it don't start to install all the packages again that already is installed on the computer ?
Actually it is only the profiles that must be loaded and rest of enrollment process must be skipped.
Posted on 03-13-2019 05:11 AM
My enrollments policies execution frequency is 'Once per computer' flagged for enrollment. If the end user for some reason loses the jamf mdm profile or w/e, as long as the computer & history are still in the jamf pro dashboard - just not checking - they've gotten all the policies already & I can re enroll them with the enrollment process being skipped. You may want to look into something like this.
Posted on 03-13-2019 05:24 AM
So you do first a jamf removemdmprofile as I cannot succed to re-apply profiles if they already exist on the machine, but for some reason is broken?
Posted on 03-13-2019 06:02 AM
sudo jamf -removeFramework is what i would do - then re enroll
Posted on 03-13-2019 06:24 AM
Unfortunately, the fastest way to re-enroll a machine involves getting your hands on it. I've re-enrolled machines by using the command: sudo jamf reenroll -prompt
command, then I have to enter my Jamf Pro credentials. It'll also ask for SSH user and credentials, I just press enter and go through those.
Posted on 03-15-2019 01:43 AM
Just tried the sudo jamf reenroll -prompt.
After i do this I have to manually and go in approve the MDM. But all profiles are not verified, so seems not to work
My enrolment process policies I always have run only once per computer. But even I do a sudo jamf removeframework and re-enroll via normal browser link, the whole process is starting up again with all policies, even I have not removed the computer from Jamf. So it should not run once again, but it does it :(
Posted on 03-15-2019 04:21 AM
Any luck with this?
sudo jamf enroll -prompt -noPolicy
Posted on 03-15-2019 06:01 AM
Thanks. THe enrollment works then and no policies is applied. But my client is still broken afterwards with pending commands.
Posted on 04-12-2019 12:49 AM
I am still struggeling with this "quick re-enrollment".
All my normal enrollment policies are set to "run once per computer" - and all policies have triggers
But If I run the sudo jamf removeframework and afterwards to a user initiated enrollment all the policies are triggered again even I have not deleted the computer object in Jamf that was created at the first enrollment ?
Is this as it should be or since all enrollment policies are set to "run once per computer" should not run again during re-enrollment ?
Posted on 04-12-2019 01:04 AM
This solution might also be useful reading for you.
Posted on 04-12-2019 09:53 AM
Once your fleet is beyond macOS High Sierra 10.13.2, re-enrollment also involves ensuring the computer is in a state of User Approved MDM. There's been some good discussion on this thread. https://www.jamf.com/jamf-nation/discussions/26435/macos-10-13-2-and-user-approved-mdm-enrollment
Posted on 04-12-2019 10:26 AM
You might want to play with some of these settings in this case.
You can control to an extent, the re-enrollment actions on each Mac.