Giter VIP home page Giter VIP logo

Comments (10)

JohnSlaughter avatar JohnSlaughter commented on May 30, 2024

"This" is a lot of scripts. Specifically which are you having issues with, and what are the specifics of those issues?

from rtrouton_scripts.

egraf620 avatar egraf620 commented on May 30, 2024

oh sorry it didn't specify. I am having problems with the disable_apple_icloud_and_diagnostic_pop_ups.sh script. It doesn't prevent the iCloud login from coming up.

from rtrouton_scripts.

rtrouton avatar rtrouton commented on May 30, 2024

@egraf620, how are you deploying the script? I generally have mine set to run at startup.

from rtrouton_scripts.

apettinen avatar apettinen commented on May 30, 2024

Instead of the script, the disabling can be done with a profile (key: SkipCloudSetup value: true). The upside is that the profile is persistent between upgrades (tested in 10.9 -> 10.10 -> 10.11).

There's a couple of new keys in SetupAssistant.plist in El Cap:
DidSeeSyncSetup2
"LastSeeniCloudSecurityProductVersion.Dev1" = "10.11";

from rtrouton_scripts.

rtrouton avatar rtrouton commented on May 30, 2024

@apettinen's point about using a profile instead of a script is a good one. Nick McSpadden has one available here:

https://github.com/nmcspadden/Profiles/blob/master/SetupAssistant-10.11.mobileconfig

I have not observed that the DidSeeSyncSetup2 or LastSeeniCloudSecurityProductVersion.Dev1 keys are necessary for El Capitan. The disable_apple_icloud_and_diagnostic_pop_ups script as it exists is working OK for me when setting up new El Capitan machines.

The iCloud screen that pops up between upgrades (like the one that pops up after upgrading from 10.11.0 to 10.11.1) is proving a bit harder to suppress.

from rtrouton_scripts.

apettinen avatar apettinen commented on May 30, 2024

Yeah, Nick's profile is nice. But then there's this way to do it:
https://gist.github.com/apettinen/d0b6568116c4ae06ec4b

It has been persistent in my testing (10.9.5->10.10.5->10.11->10.11.1). No popups observed, as the key SkipCloudSetup can be set as a system level profile, as done in the example I put in the gist.

You can easily create that with Profile Manager, in Login Window -preferences. Just edit the other unnecessary stuff away (see the gist for advice).

I guess these are the keys to success (pun intended ;) ):

        <key>PayloadType</key>
        <string>com.apple.SetupAssistant.managed</string>

        <key>PayloadDisplayName</key>
        <string>Login Window</string>

        <key>SkipCloudSetup</key>
        <true/>

I guess these could be edited to be included as an additional payload in Nick's profile.

from rtrouton_scripts.

Lollaskates avatar Lollaskates commented on May 30, 2024

I am also experiencing the same behavior with disable_apple_icloud_and_diagnostic_pop_ups.sh

It has been working fine for a long long time, at least for 10.9 and 10.10. During the 10.10.5 workflow I have it works as expected, but when I used a 10.11.1 15B42 base the icloud window pops up during first login and is interfering with the imaging process.

I have the following keys being updated to the current build / version and also bool TRUE:

DidSeeCloudSetup -bool TRUE
DidSeeSyncSetup -bool TRUE
DidSeeSyncSetup2 -bool TRUE
GestureMovieSeen none
LastSeenCloudProductVersion "${sw_vers}"
LastSeenBuddyBuildVersion "${sw_build}"
LastPreLoginTasksPerformedBuild "${sw_build}"
LastPreLoginTasksPerformedVersion "${sw_vers}"
DidSeeiCloudSecuritySetup -bool TRUE
LastSeeniCloudSecurityProductVersion.Dev1 "${sw_vers}"

As you can see, I've tried it all, and it is not suppressing on 10.11.1 15B42

It is also worth mentioning that I was able to image successfully with 10.11.0 a few weeks ago with the script the way it is presently. It is looking like 10.11.1 is the key piece here.

from rtrouton_scripts.

bigjolly1 avatar bigjolly1 commented on May 30, 2024

I am using the Disable Apple iCloud and Diagnotic Pop-Ups.pkg with createOSXinstaller on 10.11.4. I am getting this error message from createOSXinstaller:
path-to-createOSXinstallPkg-master/Disable Apple iCloud and Diagnostic Pop-Ups.pkg is not a flat distribution package. This will cause a 10.10+ install to fail.

from rtrouton_scripts.

rtrouton avatar rtrouton commented on May 30, 2024

@bigjolly1,

Correct, the Disable Apple iCloud and Diagnotic Pop-Ups.pkg is not a distribution-style installer package. Instead, it is a flat component package. For more information on this issue, and a way to convert the existing Disable Apple iCloud and Diagnotic Pop-Ups.pkg into a distribution-style installer package, please see the link below for createOSXinstallPkg:

https://github.com/munki/createOSXinstallPkg#further-note-on-additional-packages-and-yosemite

from rtrouton_scripts.

hardlydavis avatar hardlydavis commented on May 30, 2024

Hi rtrouton +anyone else who has had success with this!
First of all, thank you, very helpful indeed.
Secondly: "I generally have mine set to run at startup."
How would you recommend doing so?
I'm attempting to use a launchdaemon like your example in https://github.com/rtrouton/rtrouton_scripts/blob/master/rtrouton_scripts/rename_mac_hostname/com.company.rename_mac.plist
But I just wanted to check that this would run sufficeintly early to be effective?
Thanks again,
David

from rtrouton_scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.