|
| 1 | +--- |
| 2 | +title: Troubleshoot Windows Update Error 0x8024002E |
| 3 | +description: Learn how to resolve Windows Update error 0x8024002E, indicating that access to an unmanaged server isn't allowed. |
| 4 | +ms.date: 04/15/2025 |
| 5 | +manager: dcscontentpm |
| 6 | +audience: itpro |
| 7 | +ms.topic: troubleshooting |
| 8 | +ms.reviewer: scotro,mwesley |
| 9 | +ms.custom: |
| 10 | +- sap:windows servicing,updates and features on demand\windows update fails - installation stops with error |
| 11 | +- pcy:WinComm Devices Deploy |
| 12 | +--- |
| 13 | +# Troubleshoot Windows Update error 0x8024002E |
| 14 | + |
| 15 | +Windows Update error 0x8024002E indicates that access to an unmanaged server isn't allowed, typically because the Windows Update Client service is disabled on the server. This document provides steps to identify and resolve this issue. |
| 16 | + |
| 17 | +## Prerequisites |
| 18 | + |
| 19 | +Ensure you have administrative access to the server to modify system settings and policies. |
| 20 | + |
| 21 | +## How to identify the issue |
| 22 | + |
| 23 | +To identify the issue, check the **CBS.log**, **CbsPersist_XXXXXXXXXXXXXX.log**, or **CbsPersist_XXXXXXXXXXXXXX.cab** file for entries similar to the following: |
| 24 | + |
| 25 | +```output |
| 26 | +{8F8EA247-1586-48E4-A5F6-1D19A9343341} 2024-04-17 05:14:55:630-0400 1 148 [AGENT_DETECTION_FAILED] 101 {00000000-0000-0000-0000-000000000000} 0 |
| 27 | +8024002e |
| 28 | +Azure VM Guest Patching Failure Software Synchronization Windows Update Client failed to detect with error 0x8024002e. |
| 29 | +2024-04-17 08:45:10:060 1084 3a10 Agent *********** Agent: Initializing global settings cache *********** |
| 30 | +2024-04-17 08:45:10:060 1084 3a10 Agent * Endpoint Provider: 00000000-0000-0000-0000-000000000000 |
| 31 | +2024-04-17 08:45:10:060 1084 3a10 Agent * WSUS server: <NULL> |
| 32 | +2024-04-17 08:45:10:060 1084 3a10 Agent * WSUS status server: <NULL> |
| 33 | +2024-04-17 08:45:10:060 1084 3a10 Agent * Target group: (Unassigned Computers) |
| 34 | +2024-04-17 08:45:10:060 1084 3a10 Agent * Windows Update access disabled: Yes |
| 35 | +2024-04-17 08:45:10:060 1084 97b0 WuTask WuTaskManager delay initialize completed successfully.. |
| 36 | +``` |
| 37 | + |
| 38 | +## Root cause |
| 39 | + |
| 40 | +The error code 0x8024002E occurs when the Windows Update Client service is disabled, preventing access to unmanaged servers. This issue is often due to a Group Policy setting that disables Windows Update access. |
| 41 | + |
| 42 | +## Resolution or troubleshooting steps |
| 43 | + |
| 44 | +### Enable the Windows Update service |
| 45 | + |
| 46 | +1. Open the **Run** dialog by pressing <kbd>Win</kbd>+<kbd>R</kbd>, type `services.msc`, and press **Enter**. |
| 47 | +2. In the **Services** window, locate **Windows Update**. |
| 48 | +3. Right-click **Windows Update** and select **Properties**. |
| 49 | +4. Set the **Startup type** to **Manual** and select **Start**. |
| 50 | +5. Select **OK** to apply the changes. |
| 51 | + |
| 52 | +### Modify the registry key |
| 53 | + |
| 54 | +[!INCLUDE [Registry alert](../../includes/registry-important-alert.md)] |
| 55 | + |
| 56 | +1. Open the **Run** dialog by pressing <kbd>Win</kbd>+<kbd>R</kbd>, type `regedit`, and press **Enter**. |
| 57 | +2. Navigate to `HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\DisableWindowsUpdateAccess`. |
| 58 | +3. If the value is set to `1`, change it to `0` to enable the service. |
| 59 | + |
| 60 | + > [!NOTE] |
| 61 | + > We recommend managing this setting via Group Policy if possible. |
| 62 | +
|
| 63 | +### Disable the Group Policy |
| 64 | + |
| 65 | +1. Open the **Run** dialog by pressing <kbd>Win</kbd>+<kbd>R</kbd>, type `gpedit.msc`, and press **Enter**. |
| 66 | +2. Navigate to `Computer Configuration\Administrative Templates\System\Internet Communication Management\Internet Communication settings\`. |
| 67 | +3. Disable the **Turn off access to all Windows Update features** policy. |
| 68 | + |
| 69 | +### Verify manual patching |
| 70 | + |
| 71 | +1. Open **Control Panel** and navigate to **Windows Update**. |
| 72 | +2. Try to manually patch the server through the Updates applet. |
| 73 | +3. If manual patching fails, collaborate with the Devices and Deployment team for further assistance. |
0 commit comments