|
| 1 | +--- |
| 2 | +title: Windows unexpectedly install updates when automatic updates are disabled by Group Policy |
| 3 | +description: Discusses a problem that Windows unexpectedly install updates when automatic updates are disabled by Group Policy. |
| 4 | +audience: itpro |
| 5 | +manager: dcscontentpm |
| 6 | +ms.date: 04/01/2025 |
| 7 | +ms.reviewer: 5x5dnd, shan |
| 8 | +ms.topic: troubleshooting |
| 9 | +ms.custom: |
| 10 | +- sap:windows servicing,updates and features on demand\windows update configuration,settings and management |
| 11 | +- pcy:WinComm Devices Deploy |
| 12 | +--- |
| 13 | +# Windows unexpectedly install updates when automatic updates are disabled by Group Policy |
| 14 | + |
| 15 | +Windows unexpectedly install updates on Windows Server 2016 and Windows Server 2019 automatically even though the Group Policy **Configure Automatic Updates** is set to option 3 or option 4: |
| 16 | + |
| 17 | +- Option 3: **Download the updates automatically and notify when they are ready to be installed** |
| 18 | +- Option 4: **Automatically download updates and install them on the schedule specified below** |
| 19 | + |
| 20 | +## Cause |
| 21 | + |
| 22 | +This issue occurs when an administrator runs the command `GPUPDATE / FORCE`. This command resets all policy setting and reapplies them. During this time interval, automatic update settings are reverted to defaults and updates might be installed. This issue only occurs on Windows Server 2016 and Windows Server 2019. |
| 23 | + |
| 24 | +## Resolution |
| 25 | + |
| 26 | +To avoid this issue, do not run `GPUPDATE /FORCE` on Windows Server 2016 and 2019 unless you are prepared for any queued updates to be installed. This issue is rare, but it is possible to occur. |
| 27 | + |
| 28 | +## Workarounds for Windows Server 2016 and Windows Server 2019 |
| 29 | + |
| 30 | +For users on Windows Server 2016 and Windows Server 2019, implementing one of the following workarounds can help reduce the frequency of the issue: |
| 31 | + |
| 32 | +### Enable the "Configure registry policy processing" policy |
| 33 | + |
| 34 | +1. Navigate to **Computer Configuration** > **Administrative Templates** > **System** > **Group Policy** > **Configure registry policy processing** and set it to **Enabled**. |
| 35 | +2. Unselect **Do not apply during periodic background processing**. |
| 36 | +3. Select **Process even if the Group policy objects have not changed**. |
| 37 | + |
| 38 | +### Enable the "Configure registry policy processing" policy by using registry |
| 39 | + |
| 40 | +1. Set the following registry keys: |
| 41 | + |
| 42 | + `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}` |
| 43 | + "NoBackgroundPolicy"=dword:00000000 |
| 44 | + "NoGPOListChanges"=dword:00000001 |
| 45 | + |
| 46 | +2. You can also runt he following command to modify the registry: |
| 47 | + |
| 48 | + ```console |
| 49 | + reg add "HKEY\_LOCAL\_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}" /v NoBackgroundPolicy /t REG\_DWORD /d 00000000 /f |
| 50 | + reg add "HKEY\_LOCAL\_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}" /v NoGPOListChanges /t REG\_DWORD /d 00000001 /f |
| 51 | + ``` |
| 52 | + |
| 53 | +For more information, see [Configure registry policy processing (admx.help)](https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.GroupPolicy::CSE_Registry) |
| 54 | + |
| 55 | +> [!NOTE] |
| 56 | +> These workarounds reduce the frequency of the problem occurring but do not always prevent the issue. |
0 commit comments