Sub topic 7
Choosing automatic update options
This chapter covers the automatic update switches in System Settings. You will see what each one does, how they depend on each other, what a Mac does when each is on, and how to check the stored values from Terminal. It assumes you can open System Settings and Terminal, you have an administrator account, and you know the difference between a major upgrade and a point update (covered earlier in this tutorial).
Where the options live
Open System Settings > General > Software Update. Next to Automatic Updates there is an Info button (the small "i"). Clicking it opens a sheet with a list of switches. The exact wording changes slightly between macOS releases, but the set is stable:
| Switch | What it controls |
|---|---|
| Check for updates | Whether the Mac periodically asks Apple which updates are available. |
| Download new updates when available | Whether the Mac fetches update files in the background once it knows about them. |
| Install macOS updates | Whether downloaded macOS updates are installed without you starting them. |
| Install application updates from the App Store | Whether App Store apps update on their own. |
| Install Security Responses and system files | Whether small security fixes and background system data are applied automatically. |
Some releases also show a Beta updates entry on the main Software Update pane. That is separate from the sheet and only matters if you have enrolled the Mac in a beta program.
How the switches depend on each other
The switches form a chain. Each one needs the one before it, and the interface reflects this. If you turn off Check for updates, the Mac never learns that anything is available, so download and install have nothing to act on. If you turn off Download new updates when available but leave checking on, you will see a notice that an update exists, and you start the download yourself.
The security responses and App Store switches are independent branches. You can leave macOS installs manual and still have security fixes and app updates applied automatically. That combination is a common and sensible compromise.
What each switch does in practice
Check for updates
With this on, the Mac contacts Apple's update servers on a schedule, roughly daily. A check is a small request. It downloads a catalog of available updates, not the updates themselves. There is little reason to turn it off on a personal Mac. If it is off, you can still check manually by opening the Software Update pane, which triggers an immediate check.
Download new updates when available
This moves the slow part, the download, out of your way. Large updates can be several gigabytes. When the files are already on the disk, the install step is much shorter because you are not waiting on the network.
The downloaded update is staged on the startup volume, so it uses free space until it is installed. If space is tight, the download can fail or the staged update can be removed. See the preparation chapter for free-space checks.
Install macOS updates
This is the switch with the most visible effect, because it eventually restarts the Mac. Points to know:
- It applies to updates within your current major version, such as 15.1 to 15.2. A move to a new major version generally needs you to start it deliberately from the Software Update pane.
- The install usually happens overnight or when the Mac is idle. On a laptop, the Mac normally wants to be plugged into power for an install.
- The Mac restarts to finish. Unsaved work in apps that do not autosave is at risk if the Mac restarts while you are away, although macOS tries to avoid interrupting you while the Mac is in use.
- On a Mac with Apple silicon, the install may need a user whose credentials can authorize it. If the Mac has FileVault on and nobody is logged in after the restart, you may land at the login screen and have to enter your password before anything else starts.
Install application updates from the App Store
This updates apps you got from the App Store. It does not touch apps you installed from a website or through a package manager. Those usually have their own updater, which is the subject of the next chapter. Apps that are running may be skipped until you quit them.
Install Security Responses and system files
This is the switch people most often misread. It covers two kinds of content:
- Small, targeted security fixes that Apple can deliver without a full macOS update. Depending on your macOS release, Apple names this mechanism differently, but the behavior is similar: a small download, applied quickly, sometimes with a short restart or none at all.
- Background system data such as malware-definition and configuration files that macOS uses to protect itself.
Apple's guidance is to leave this on. Turning it off does not stop point updates from being offered. It only stops the quick security fixes from arriving silently. The consequence is a longer window of exposure between when a fix exists and when you notice it.
Choosing a configuration
There is no single right answer. Pick based on how much you value patching speed against how much you value control over restarts.
| Situation | Suggested settings | Reason |
|---|---|---|
| Personal laptop, daily use | Everything on | Fixes arrive quickly and you rarely have to think about it. |
| Mac used for live work such as recording or presentations | Check and download on, macOS installs off, security responses on | You choose the restart time, but security fixes still land. |
| Shared or lab Mac | Check and download on, install managed by you | Avoids restarts during a session and keeps all Macs on the same version. |
| Mac running an app that is certified for one macOS version | Check on, download off or on, installs off | Lets you test before committing. |
| Mac that is rarely turned on | Everything on | Updates are applied at the first chance, so the gap stays small. |
If you turn Install macOS updates off, set yourself a habit. Open Software Update on a fixed day each week or month. A Mac that has the notification but never gets the update is more exposed than one that updates itself, because the notification gives a false feeling of having dealt with it.
Reading the settings from Terminal
The switches are stored as preferences in a system-wide property list. You can read them without changing anything:
defaults read /Library/Preferences/com.apple.SoftwareUpdateThat prints every key in the file, including timestamps of recent checks. The keys that map to the switches are these:
| Key | Matches the switch | Meaning when 1 |
|---|---|---|
| AutomaticCheckEnabled | Check for updates | The Mac checks on a schedule. |
| AutomaticDownload | Download new updates when available | Updates are downloaded in the background. |
| AutomaticallyInstallMacOSUpdates | Install macOS updates | Updates are installed automatically. |
| ConfigDataInstall | Install Security Responses and system files | System data files are installed automatically. |
| CriticalUpdateInstall | Install Security Responses and system files | Critical security updates are installed automatically. |
A missing key means the setting has never been changed from its default, so it does not appear in the output. The following script prints one line per key and shows "not set" for missing ones, which makes the output easier to compare between Macs:
domain=/Library/Preferences/com.apple.SoftwareUpdate
for key in AutomaticCheckEnabled AutomaticDownload AutomaticallyInstallMacOSUpdates ConfigDataInstall CriticalUpdateInstall; do
value=$(defaults read "$domain" "$key" 2>/dev/null || echo "not set")
printf '%-36s %s\n' "$key" "$value"
doneThe App Store app update setting is stored separately, in the commerce preferences:
defaults read /Library/Preferences/com.apple.commerce AutoUpdateA value of 1 means automatic app updates are on. If the key does not exist, the command prints an error saying the pair does not exist. That means the setting has not been changed from the default.
Changing the settings from Terminal
You can write the same keys with sudo defaults write, and administrators sometimes do this in scripts. For an individual Mac, prefer System Settings. Writing to the file directly skips the checks the interface does, and a value written by hand can be overwritten or ignored if the system rewrites its own preferences. On macOS releases that read these values through a daemon, the change may not take effect until the daemon rereads the file. If you do script it, read the value back afterward to confirm it stuck.
Edge cases and common surprises
- The Mac did not install overnight. The usual causes are being on battery, the lid being closed with no power connected, too little free space, or the Mac not being on the network. Software Update does not retry loudly. Check the pane in the morning.
- A restart prompt appears at an inconvenient time. If you chose automatic installs, the Mac tries to wait until you are away. If you chose manual installs, a notification offers Try Tonight and Remind Me Later. Choosing Try Tonight schedules an install and needs the Mac to be on power and logged in or at the login screen, depending on your disk encryption setup.
- Updates appear in the pane but never download. If Download new updates when available is on yet nothing arrives, look at free space first, then network restrictions such as a captive portal or a content filter that blocks Apple's update hosts.
- Settings reset after a major upgrade. Some people see switches return to defaults after upgrading to a new major version. Reopen the sheet after every major upgrade and confirm your choices.
- Different accounts see the same settings. The switches are system-wide, not per user. Only an administrator can change them. A standard user can open the pane but cannot toggle the options.
- Apps updated automatically and broke a workflow. App Store auto-updates are all or nothing per Mac. If one app must stay on a given version, turn the switch off and update the other apps by hand, or use the app's own version controls if it has them.
Verifying the result
After you change the switches, confirm that the Mac behaves as you intended:
- Run the script above and compare the values to what you chose.
- Open Software Update and note the line under the heading that shows when the last check ran. It should be recent if checking is on.
- After a week, run
softwareupdate --historyand compare the install dates to the release dates. This shows whether automatic installs are actually happening.
softwareupdate --historyIf the history shows no recent installs while you know updates were released, one of the dependencies in the chain is blocking the process. Work backward through the diagram: is checking on, did downloads complete, is the Mac on power at night?
Exercise
A colleague turns off "Download new updates when available" but leaves "Check for updates" and "Install macOS updates" on. Will macOS updates be installed automatically? Explain using the dependencies between the switches.
Show answer
No. Installing needs the update files on the disk, and downloading is the step that puts them there. With downloading off, the Mac still learns that an update exists, but it waits for the user to start the download. The install switch has nothing to install until then.
Exercise
You support a Mac that is used for live video recording. You want security fixes applied quickly, but you never want a surprise restart during the working day. Which switches would you set, and which command would you run later to confirm the settings are stored?
Show answer
Leave "Check for updates", "Download new updates when available", and "Install Security Responses and system files" on, and turn "Install macOS updates" off so you pick the restart time yourself. Confirm the stored values with defaults read /Library/Preferences/com.apple.SoftwareUpdate, or with the loop script that prints AutomaticCheckEnabled, AutomaticDownload, AutomaticallyInstallMacOSUpdates, ConfigDataInstall, and CriticalUpdateInstall. AutomaticallyInstallMacOSUpdates should be 0 or not set, and the other keys should be 1.
Exercise
The key AutomaticDownload does not appear in the output of defaults read /Library/Preferences/com.apple.SoftwareUpdate. What does that tell you?
Show answer
The setting has not been changed from the system default, so no value was written to the file. It does not mean the feature is off. To see the effective state, open the Automatic Updates sheet in System Settings, or check whether a configuration profile on the Mac sets the value.