The latest update of Lion for Mac OS X 10.7.2 comes with an interesting new option, where it prompts users to log into iCloud. This setting is stored in com.apple.SetupAssistant.plist in the DidSeeCloudSetup key. Configuring the boolean with a positive value then suppresses the prompt for the user: defaults write /System/Library/User Template/Non_localized/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -boolean YES If you have configured it and you want to run it again, just revert to NO: defaults write /System/Library/User Template/Non_localized/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -boolean NO These commands can be sent out through Apple Remote Desktop, or some other patch management system.
-
-
Rerunning the Setup Assistant
Often times you will want the Mac OS X Setup Assistant to run post the initial installation or imaging. Perhaps you bake an image into machines at a retail store, installing a number of software packages, or maybe you just want a shot at entering your credit card information because you used Command-Q to quit the Setup Assistant when you first unboxed your boxen. Either way, it’s a fairly straight forward task. Simply delete the .AppleSetupDone, stored in the /var/db directory. Note that this file is hidden and owned by root, so use the following command to remove it: sudo rm /var/db/.AppleSetupDone It’s also worth noting that when doing a…