Archives

Resetting Software Update to use Apple’s servers

Using a Snow Leopard Server, (OS X 10.6.x) it seems that administrators have a problem if they have used Apple’s Managed Client for OS X (MCX) to provide software updates to their clients from their local server and then want to switch back to having the clients get the updates from Apple’s servers. The problem seems to lie with Apple’s Managed Preferences, which is part of MCX.

Here is what I understand happens, and a solution:

Apple allows system administrators to restrict which preferences and system settings a user on a local client may manage themselves. The restricted services are managed centrally by the system administrator. He does this by setting up one or more groups of clients or users which are managed by the server and the changing of these services by users on these computers may then be locked out by the administrator using the Workgroup Manager from the server.

If the administrator removes members from the group, the restrictions should cease to apply. At least that is what I and other users expect. That does not seem to be the case. This means that once the software update source has been changed to the local server, people have problems to reset the software update source to Apple’s own servers.

There are various solutions described in the Apple support forums, but you need to pay close attention – the way that the software update in MCX is managed changed for each recent version of OS X and none of the solutions I found works permanently for Snow Leopard.

Here is what I have found to work. The solution allows you to switch back to sourcing from the Apple servers, but seems to reset itself periodically, so that it wants to use the local server.

  1. In the Workgroup Manager Set the preference for the Software Update for the group being managed to have an update frequency of “Never” and clear the field specifying the location of the software updates on the local server.
  2. If you don’t have any other need to manage the clients using MCX, you need to delete the complete Managed Preferences directory at /Library/Managed Preferences/

    Locating the folder Managed Preferences I used a user with administrator rights to do this, and was asked for my password before the files could be moved to the trash can.
  3. I also removed the clients from the group defining which clients should be managed for the software update, managed in the Workgroup Manager.

If you have other managed preferences which you wish to keep, you will need to look for the specific files – identifiable by their names containing “system update” – which are associated with the System Update function.

Various forums recommend deleting the client cache ~/Library/Caches/com.apple.softwareupdate and ~/Library/Preferences/com.apple.SoftwareUpdate.plist but deleting these alone didn’t help in my case under Snow Leopard.

If I find out what needs deleting to stop the source reverting periodically to the local server, I will update this note.

Additional Notes:
Finding information about MCX is not easy – it is not covered in the Apple Technical Documentation for OS X Server.
There is an introduction to MCX in Mac Tech here. It was written for OS X 10.5 (Leopard), so is reasonably up to date.
There is an older article introducing MCX also in MacTech here.

2 comments to Resetting Software Update to use Apple’s servers

  • Michael Biermann

    Great thread, I needed to delete the whole Managed Preferences folder to solve my issue.
    It was really hard to find a solution because there are tons of threads which do not meantion “Managed Preferences”.

    My symptom was:
    “Set date and time automatically” was checked and the server was SAP-internal. When working outside the firewall, the date/time was not working and thus date was “2001″ (in the past).
    The checkbox to switch of the automatic date/time was disabled and thus I could not maintain date/time.

    I am not sure, what has caused the issue. I did an update of XCode some days before. Moreover I needed a system-shutdown (on/off button pressed long) when logged on to SAP’s Corporate WLAN.

  • John

    Glad the posting was of some help to you Michael. “Managed preferences” is horribly under-documented by Apple, isn’t it? Sorry I didn’t spot your comment earlier and release it!