Purge profiles in 10.13+

Taylor_Armstron
Valued Contributor

So I used to keep a simple script available for admins to flush the profiles and re-load for troubleshooting purposes. Just realized that it is no longer working as of 10.13.

Script itself is very simple, it just calls for:

mv /var/db/ConfigurationProfiles /var/db/ConfigurationProfiles_old

followed by:

jamf -manage

For the mv command, I'm now getting "mv: rename /var/db/ConfigurationProfiles to /var/db/ConfigurationProfiles_old: Operation not permitted"

Anyone have an updated method that works to accomplish the same goal?

I have a couple of profiles scoped to smart groups that aren't being removed when the machine drops out of the smart group, just trying to troubleshoot.

0 REPLIES 0