Enable Automatic OS Updates
Created by Cheli
Step‑by‑step guide to configure automatic updates for Windows, macOS, and Linux systems.
Please sign in before starting payment and download.
Checklist Items (30)
Identify Operating System
Determine which OS you are running to follow the correct procedure.
Check Windows version
Press Win + Pause/Break or go to Settings → System → About.
Check macOS version
Click Apple menu → About This Mac.
Check Linux distribution
Run `lsb_release -a` or check /etc/os-release.
Enable Windows Automatic Updates
Open Settings
Press Win + I or click Start → Settings.
Navigate to Windows Update
Select Update & Security → Windows Update.
Set update mode to Automatic
Click 'Advanced options' and choose 'Automatic (recommended)'.
Configure active hours
Define typical work hours so restarts occur outside that window.
Verify update history
Click 'View update history' to confirm recent updates installed.
Enable macOS Automatic Updates
Open System Settings
Click Apple menu → System Settings (or System Preferences on older versions).
Select Software Update
Find the 'Software Update' pane.
Turn on Automatic Updates
Check 'Automatically keep my Mac up to date' and expand to enable background downloads, security updates, and system files.
Set schedule for restarts
Enable 'Allow system software to automatically restart macOS when needed' and set preferred time if prompted.
Enable Ubuntu/Debian Automatic Updates
Install unattended-upgrades package
Run `sudo apt install unattended-upgrades`.
Configure automatic updates
Edit `/etc/apt/apt.conf.d/20auto-upgrades` to contain: APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::AutocleanInterval "7"; APT::Periodic::Unattended-Upgrade "1";
Enable reboot after security updates (optional)
Set `Unattended-Upgrade::Automatic-Reboot "true";` in `/etc/apt/apt.conf.d/50unattended-upgrades`.
Verify configuration
Run `sudo unattended-upgrade --dry-run --debug` to ensure no errors.
Enable Fedora/RHEL Automatic Updates
Install dnf-automatic
Run `sudo dnf install dnf-automatic`.
Edit configuration file
Modify `/etc/dnf/automatic.conf` – set `apply_updates = yes` under [commands] and `download_updates = yes` under [timer].
Enable and start timer
Run `sudo systemctl enable --now dnf-automatic.timer`.
Check timer status
Run `systemctl status dnf-automatic.timer` to confirm it is active.
Test Automatic Update Function
Force a check on Windows
In Settings → Windows Update, click 'Check for updates'.
Force a check on macOS
In Software Update pane, click 'Check for updates'.
Force a check on Ubuntu
Run `sudo apt update && sudo apt list --upgradable`.
Force a check on Fedora
Run `sudo dnf check-update`.
Document Settings
Record the configured options for future reference or troubleshooting.
Set Up Backup Before Updates
Create a system restore point (Windows) or Time Machine backup (macOS) or snapshot (Linux) to recover if an update fails.
Monitor Update Logs Periodically
Windows update log
Open Settings → Windows Update → View update history.
macOS update log
Open Console app and filter for 'softwareupdated'.
Ubuntu update log
Check `/var/log/unattended-upgrades/unattended-upgrades.log`.
Fedora update log
Check `/var/log/dnf.log`.