Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kim4apple/99ddb8d5cdba1716bd1909a7afd277fe to your computer and use it in GitHub Desktop.
Save kim4apple/99ddb8d5cdba1716bd1909a7afd277fe to your computer and use it in GitHub Desktop.
Software Update keys in Yosemite's /Library/Preferences/com.apple.SoftwareUpdate.plist
Automatically check for updates:
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -bool FALSE
Download newly available updates in the background:
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool FALSE
Install XProtect and Gatekeeper updates automatically:
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool FALSE
Install security updates automatically (like the OS X NTP Security Update 1.0 update)
Enable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool TRUE
Disable: sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment