Skip to main content

Hi,
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

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.


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.


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


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.


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.