I've been trying to set up automatic updates for Windows 10 across our office computers, but the settings keep reverting after a reboot. Has anyone experienced this? Any scripts or Group Policy tweaks that reliably enforce auto-updates?
How to enable automatic updates on Windows 10?
Make sure the Windows Update
service is set to Automatic (Delayed Start). Also, check the registry key HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
and set AUOptions
to 4. If you're in a domain, use the following GPO:
Computer Configuration → Administrative Templates → Windows Components → Windows Update → Configure Automatic Updates → Enabled → 4 – Auto download and schedule the install.
We use PowerShell to enforce the settings on all machines. Here's a simple script you can push via SCCM:
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUOptions" -Value 4 Set-Service -Name wuauserv -StartupType Automatic Restart-Service wuauserv
That should keep the policy alive after reboots.