Skip to content

Commit d0f30cd

Browse files
authored
Merge pull request #241458 from SnehaSudhirG/14June-UMCTroubleshootUpdate
added info on HResult exception
2 parents b117781 + 3d07d0b commit d0f30cd

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

articles/update-center/troubleshoot.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,51 @@ To review the logs related to all actions performed by the extension, check for
3636
* `WindowsUpdateExtension.log`: Contains details related to the patch actions, such as the patches assessed and installed on the machine, and any issues encountered in the process.
3737
* `CommandExecution.log`: There is a wrapper above the patch action, which is used to manage the extension and invoke specific patch operation. This log contains details about the wrapper. For Auto-Patching, the log has details on whether the specific patch operation was invoked.
3838

39+
## Machine shows as "Not assessed" and shows an HRESULT exception
40+
41+
### Issue
42+
43+
* You have machines that show as `Not assessed` under **Compliance**, and you see an exception message below them.
44+
* You see an HRESULT error code in the portal.
45+
46+
### Cause
47+
48+
The Update Agent (Windows Update Agent on Windows; the package manager for a Linux distribution) isn't configured correctly. Update Management relies on the machine's Update Agent to provide the updates that are needed, the status of the patch, and the results of deployed patches. Without this information, Update Management can't properly report on the patches that are needed or installed.
49+
50+
### Resolution
51+
52+
Try to perform updates locally on the machine. If this operation fails, it typically means that there's an update agent configuration error.
53+
54+
This problem is frequently caused by network configuration and firewall issues. Use the following checks to correct the issue.
55+
56+
* For Linux, check the appropriate documentation to make sure you can reach the network endpoint of your package repository.
57+
58+
* For Windows, check your agent configuration as listed in [Updates aren't downloading from the intranet endpoint (WSUS/SCCM)](/windows/deployment/update/windows-update-troubleshooting#updates-arent-downloading-from-the-intranet-endpoint-wsussccm).
59+
60+
* If the machines are configured for Windows Update, make sure that you can reach the endpoints described in [Issues related to HTTP/proxy](/windows/deployment/update/windows-update-troubleshooting#issues-related-to-httpproxy).
61+
* If the machines are configured for Windows Server Update Services (WSUS), make sure that you can reach the WSUS server configured by the [WUServer registry key](/windows/deployment/update/waas-wu-settings).
62+
63+
If you see an HRESULT, double-click the exception displayed in red to see the entire exception message. Review the following table for potential resolutions or recommended actions.
64+
65+
|Exception |Resolution or action |
66+
|---------|---------|
67+
|`Exception from HRESULT: 0x……C` | Search the relevant error code in [Windows update error code list](https://support.microsoft.com/help/938205/windows-update-error-code-list) to find additional details about the cause of the exception. |
68+
|`0x8024402C`</br>`0x8024401C`</br>`0x8024402F` | These indicate network connectivity issues. Make sure your machine has network connectivity to Update Management. See the [network planning](../automation/update-management/plan-deployment.md#ports) section for a list of required ports and addresses. |
69+
|`0x8024001E`| The update operation didn't complete because the service or system was shutting down.|
70+
|`0x8024002E`| Windows Update service is disabled.|
71+
|`0x8024402C` | If you're using a WSUS server, make sure the registry values for `WUServer` and `WUStatusServer` under the `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate` registry key specify the correct WSUS server. |
72+
|`0x80072EE2`|There's a network connectivity issue or an issue in talking to a configured WSUS server. Check WSUS settings and make sure the service is accessible from the client.|
73+
|`The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)` | Make sure the Windows Update service (wuauserv) is running and not disabled. |
74+
|`0x80070005`| An access denied error can be caused by any one of the following:<br> Infected computer<br> Windows Update settings not configured correctly<br> File permission error with %WinDir%\SoftwareDistribution folder<br> Insufficient disk space on the system drive (C:).
75+
|Any other generic exception | Run a search on the internet for possible resolutions, and work with your local IT support. |
76+
77+
Reviewing the **%Windir%\Windowsupdate.log** file can also help you determine possible causes. For more information about how to read the log, see [How to read the Windowsupdate.log file](https://support.microsoft.com/help/902093/how-to-read-the-windowsupdate-log-file).
78+
79+
You can also download and run the [Windows Update troubleshooter](https://support.microsoft.com/help/4027322/windows-update-troubleshooter) to check for any issues with Windows Update on the machine.
80+
81+
> [!NOTE]
82+
> The [Windows Update troubleshooter](https://support.microsoft.com/help/4027322/windows-update-troubleshooter) documentation indicates that it's for use on Windows clients, but it also works on Windows Server.
83+
3984
### Arc-enabled servers
4085

4186
For Arc-enabled servers, review the [troubleshoot VM extensions](../azure-arc/servers/troubleshoot-vm-extensions.md) article for general troubleshooting steps.

0 commit comments

Comments
 (0)