Posted on 10-28-2020 01:59 PM
I have a user's laptop that has not been checking in with jamf for a few months. I tried re-enrolling with the following commands but received the error in the subject line.... Any ideas for how to re-enroll?
sudo jamf -removeFramework sudo profiles renew -type enrollment
Posted on 10-28-2020 02:06 PM
Is that computer still in the JamfPro server? If so i would delete the inventory record, then re-run the profiles command and see if its happy then.
Posted on 10-28-2020 02:49 PM
Thanks, yes. I did delete it from jamf pro (cloud version). Is there a way to unenroll from the local client? It looks like the laptop has not communicated with the server since May.
Posted on 10-29-2020 07:17 AM
Ah, you might be missing a command. Run the -removeframework then run sudo rm -rf /var/db/ConfigurationProfiles/ then try and re-enroll.
If that fails, you may need to wipe and reinstall macOS
Posted on 10-30-2020 11:42 AM
Hmm, so this would remove all configuration profiles for users, yes? That is a bit of a risk for me if enrollment still fails. I hate to ask the user to rebuild just because a laptop isn't checking in.
Posted on 10-30-2020 12:30 PM
If the binary is still communicating with your jss then try issuing sudo jamf removeMdmProfile if it succeeds next delete the apsd.keychain file under /Library/Keychains, reboot and then log in as the user and issue sudo profiles renew -type enrollment. If that fails then you'll either to clear out the folder @Dylan_YYC mentioned above or backup user data and do a rebuild.