Home > Bash scripting, Mac administration, Mac OS X > Disabling the iCloud sign-in pop-up message

Disabling the iCloud sign-in pop-up message

iCloud_pop_up

In 10.7.2, Apple set the iCloud sign-in to pop up on the first login. Since having this appear may not be desirable in all Mac environments, it makes sense to be able to turn this off for new user accounts. After doing some file tracking, Mike Boylan and Allen Golbig figured out which file controlled this. Setting com.apple.SetupAssistant.plist in /System/Library/User\ Template/Non_localized/Library/Preferences/ to include the key DidSeeCloudSetup with a Boolean value of TRUE will stop the iCloud login from automatically coming up for new users.

You can disable the iCloud sign-in from popping up with the following defaults command:

sudo defaults write /System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE

I’ve also posted this in a script available here in my GitHub repo.

  1. October 18, 2011 at 11:47 pm

    I can not make this adjustment. The system has rwx on the directory. You can not chmod to 777 on the directory. When I run the script you listed (thank you by the way), it displays “Could not write domain /System/Library/User Template/Non_Localized/…” exiting

    Any suggestions? I would really like to turn off that iCloud intro screen.

    Thank you!

  2. October 18, 2011 at 11:56 pm

    Sorry, the script needs to be run with root privileges. Try running the command this way:

    sudo defaults write /System/Library/User\ Template/Non_localized/Library/Preferences/com.apple.SetupAssistant DidSeeCloudSetup -bool TRUE

  3. October 19, 2011 at 1:19 am

    Ahhhh….. I am still trying to get rid of the title ‘Mac Newbie’, so sudo is still somewhat unknown to me.

    Thank you!

    • October 19, 2011 at 1:44 am

      I added “sudo” to the command in the post. Hopefully, that’ll save the next person from my unspoken assumptions. :-)

  4. October 19, 2011 at 1:51 pm

    Thanks for figuring this out.

    Anyone know if this will work as part of a Deploy Studio workflow? (I’m new to Deploy Studio, and haven’t really worked with scripts in the workflow.) I’ve got a 10.7.2 image, and I’d like to be able to use it without having to recapture.

    I’m assuming I don’t have to include the sudo in the script if it’s part of the workflow, is that correct?

    • Ben
      October 19, 2011 at 10:39 pm

      chitowngeorge: that’s exactly how I’m doing it. I have a post-install script setup in Deploystudio that tweaks system settings. Just add the script to your workflow and make sure the post-execution box is checked.

  5. October 20, 2011 at 12:34 pm

    You can also switch off the “Scrolling is now natural!11!” popup by setting “GestureMovieSeen” to “trackpad” on laptops.

  6. blimvisible
    December 16, 2011 at 6:44 pm

    Unfortunately this method seems to be negated if Setup Assistant runs. If you have an unmanaged environment in which users set up their own machines with Setup Assistant, but still don’t want them to see the iCloud prompt, here’s an alternate (albeit more complicated) method: http://bit.ly/vRq5xV

  7. December 20, 2012 at 4:08 pm

    Thanks! i am running this script from OD server as managed pref on login and it works like a dream

  8. Dakota Smith
    December 6, 2013 at 11:59 pm

    I hope this helps

  9. October 22, 2014 at 7:31 pm

    :P

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 164 other followers

%d bloggers like this: