Since the other threads are a little long in terms of upgrading to 10.9 through Self Service. I'd like to branch this off to discuss bypassing the AppleID setup.
I tried modifying this script that was found on this board with the keys from my SetupAssistant.plist, by adding these two lines and setting the script to run "after" in SS policy to install 10.9. It didn't work.
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" DidSeeSyncSetup2 -bool TRUE defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" ShowKeychainSyncBuddyAtLogin -bool FALSE
#!/bin/bash
# updated from DeployStudio's ds_finalize.sh script by Ryan Manly 02-24-12
# man bash
shopt -s nullglob
# arrays are the safest way to deal with lots of strings in bash so let's make some!
user_templates=("/System/Library/User Template/"*)
user_homes=(/Users/*)
# why match to > 7 if they aren't here yet...?
if [[ $(sw_vers -productVersion | awk -F. '{ print $2 }') -eq 7 ]]; then
for template in "${user_templates[@]}"; do
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" DidSeeCloudSetup -bool TRUE
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" GestureMovieSeen none
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" DidSeeSyncSetup2 -bool TRUE
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" ShowKeychainSyncBuddyAtLogin -bool FALSE
done
# I don't see why you would ever have a user directory for a valid user without having Library/Preferences
# already in there anyway, so I got rid of the exception for Shared and the mkdir's etc.
for home in "${user_homes[@]}"; do
# /Users/Shared shouldn't have a ./Library/Preferences so just work on everything that does
if [[ -d "${home}/Library/Preferences" ]]; then
defaults write "${home}/Library/Preferences/com.apple.SetupAssistant" DidSeeCloudSetup -bool TRUE
defaults write "${home}/Library/Preferences/com.apple.SetupAssistant" GestureMovieSeen none
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" DidSeeSyncSetup2 -bool TRUE
defaults write "${template}/Library/Preferences/com.apple.SetupAssistant" ShowKeychainSyncBuddyAtLogin -bool FALSE
# using bash's built-in parameter expansion features gets to the username MUCH more
# quickly than the external program basename and we don't have to assign another variable
chown "${home##*/}" "${home}/Library/Preferences/com.apple.SetupAssistant.plist"
fi
done
fi