This question has come up a few times in the past few days, so I thought I’d better document it.
On Mountain Lion, how do I suppress the Setup Assistant that prompts for an Apple ID to setup iCloud?
The answer is to use MCX. You can use Local MCX, network directory-based MCX, or Profiles.
You can read more about Local MCX here. (And yes, Local MCX still works in Mountain Lion.)
# dscl /Search mcxread /ComputerGroups/setupassistant App domain: com.apple.SetupAssistant Key: DidSeeCloudSetup State: once Value: 1 App domain: com.apple.SetupAssistant Key: LastSeenCloudProductVersion State: once Value: 10.8
Here is a profile that will do the same thing. You can use the command-line
profiles tool to install it.
NOTE: for whatever reason, this doesn’t work if the management frequency is set to “Always” or “Forced”. It does work when set “Once”. I have not tested “Often”, but I imagine that would work as well.