Every year we re-image the student laptops. Some of the young students that use laptops. When we click on the User account that these young students the iCloud Prompt pops up. I know there are scripts out there to do this. We even used it in the past but does not seem to work any more. We are using 10.9.5 on these machines. Anyone have any idea what I can do to prevent this iCloud Prompt from popping up without me having to tough a few hundred machines.
Here is what I am using:
"#!/bin/bash"
PLIST="/Library/Users/$ShortName/Library/Preferences/com.apple.SetupAssistant"
sudo defaults write "$PLIST" DidSeeCloudSetup -bool TRUE
sudo defaults write "$PLIST" GestureMovieSeen none
sudo defaults write "$PLIST" DidSeeSyncSetup2 -bool TRUE
sudo defaults write "$PLIST" ShowKeychainSyncBuddyAtLogin -bool FALSE
sudo defaults write "$PLIST" LastSeenCloudProductVersion "15.15.15"
sudo defaults write "$PLIST" SkipFirstLoginOptimization -bool True
