I seem to have had various occasions since beginning my journey with Mac OS X Server to clear, flush, erase, reset (or whatever else you want to call it) the Managed Preference I push out to my Macs to set the Software Updates server, or catalog URL as I believe it’s called, to point to my Mac OS X Server. The latest reason being one of the hard drives in my mac mini server has blown up and I needed the latest 10.6.8 update on my MacBook.
Every time I’ve needed this I seem to spent around 20 getting frustrated at hunting through various pages found on google with a version of how to do this and so this time I’m recording it here ready for the next time I need it.
So to be clear, I’m using Mac OS X Snow Leopard on the machine I’m running this on and I’m deleting the managed preference, from my managed client environment, on a client Mac that tells Software Update to use my updates server instead of the Apple one. Deleting it will force Software Update to go back to using the Apple server for updates. Obviously the next time preferences are refreshed this will be put back but the following is useful if the server is temporarily unavailable for some reason or you need to reset a previous managed preference.
Logged in as an administrator, open up Terminal and enter the following at the command line followed by ENTER…
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
I usually just run Software Update without a reboot and it uses the Apple updates server. If you do reboot first remember that if you haven’t removed the Managed Preference from the server and the server is still up and running, and connected to the network, the setting will most likely be set again reversing the above command line.




