MacOS关闭后台检测下载升级

注:仅适用于MacOS 手动自动更新还是会下载

关闭自动检测更新

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled -boolean FALSE

关闭自动下载更新

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -boolean FALSE

关闭后台安装系统数据更新

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -boolean FALSE

关闭配置文件与安全响应自动安装

sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -boolean FALSE

检查是否关闭 (返回 0 表示关闭)

defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled

刷新更新服务

sudo softwareupdate --schedule off

如需更改回来只需要把 上面命令中 FALSE 改成 TRUE

屏蔽Apple整个更新,该方法可能会导致在App Store中下载Apple产品失败

mesu.apple.com
swscan.apple.com
swquery.apple.com
appldnld.apple.com
appldnld.apple.com.edgesuite.net
updates-http.cdn-apple.com
updates.cdn-apple.com
gdmf.apple.com
configuration.apple.com
seed.apple.com
seed-sequoia.siri.apple.com

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注