Skip to main content
Solved

Reset Software Update Cofiguration profile (or remove users from configuration profile)

  • July 27, 2018
  • 4 replies
  • 46 views

Forum|alt.badge.img+13

I have users connecting to an internal update server that I'm taking offline and would like to point these users to apple's software updates server during this time.

How can I accomplish this?

Best answer by tnielsen

Nevermind, delete the configuration profile in the JSS then run

sudo /usr/local/bin/jamf removeSWUSettings

on clients and that clears things out.

4 replies

Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • Answer
  • July 27, 2018

Nevermind, delete the configuration profile in the JSS then run

sudo /usr/local/bin/jamf removeSWUSettings

on clients and that clears things out.


easyedc
Forum|alt.badge.img+16
  • Esteemed Contributor
  • July 27, 2018

if it's coming from a configuration profile, removing that profile should remove that setting. Then you may follow that up with a

/usr/sbin/softwareupdate --clear-catalog
softwareupdate: Changed catalog to Apple production

and you should be back to normal. Try verifying with a

defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist

Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • July 27, 2018

It was coming from a configuration profile but even after removing the configuration profile the settings were still defaulting to our internal servers. This line here did resolve the problem. I find this... strange.

sudo /usr/local/bin/jamf removeSWUSettings

I did try the things you mentioned, though. They had no effect for some reason.


easyedc
Forum|alt.badge.img+16
  • Esteemed Contributor
  • July 27, 2018

I've experienced it where I have to do a remove framework to get everything JAMF off of it, then it removes the corrupt profile. Re-enroll and things are fine.

I do wonder if its related to MDM. Trying to manually remove stubborn profiles with a

profiles remove -identifier stubborn-uuid-of-profile
profiles remove for identifier:'stubborn-uuid-of-profile' and user:'admin' returned 101 (Profile is not removable.)