Identify and resolve common Windows Update errors on ECS instances, including WSUS connectivity and component issues.
Problem description
By default, Windows instances use group policies configured to install patches from an internal WSUS server. To configure group policies for automatic patch updates, see Configure automatic updates for Windows Update on ECS Windows 2008 instances.
Windows Update may fail to install patches and display various error codes. The following figure shows a common error message for a failed Windows Update. The error code "80244022" indicates "HTTP status 503 - The service is temporarily unavailable."
Causes
Common causes:
-
Third-party antivirus software.
-
Malware or viruses.
-
Insufficient physical or virtual memory.
-
File system access permission issues on the disk.
-
Insufficient disk space.
-
Corrupted system components or dependent services on the Windows ECS instance.
-
Windows ECS instances use an internal Alibaba Cloud WSUS server by default. If this server is busy or unresponsive, updates may fail.
-
Network or DNS resolution issues.
Solution
Fix using Cloud Assistant
-
Use the following Cloud Assistant command to automatically repair Windows Update:
acs-plugin-manager.exe -e -P ACS-ECS-ResetWinUpdateAfter the command runs, Windows Update configurations are restored to default Alibaba Cloud settings. Restart the system for changes to take effect.
Fix manually
This topic is for reference only. Microsoft links are subject to Microsoft's copyright. Verify the applicable operating systems. Content may be outdated due to product iterations. Alibaba Cloud is not responsible for external Microsoft content.
Troubleshoot the issue step by step.
-
Check whether virtual memory is configured. If not, configure it, restart the server, and retry the update.
-
Check whether you can access port 80 of the internal WSUS server.
telnet update.cloud.aliyuncs.com 80 -
If port 80 is inaccessible, stop using the internal WSUS server and switch to the official Microsoft update server.
See Configure automatic updates for Windows Update on Windows instances.
-
Search for a solution on the Microsoft website based on the error code. Microsoft provides the Windows Update Troubleshooter, which automatically fixes some Windows Update issues.
See Windows Update: FAQ on the Microsoft website.
-
Reset the Windows Update components. See Windows Update - additional resources.
-
If the issue persists after resetting, follow the manual reset instructions in Windows Update - additional resources. Run the commands step by step, then test Windows Update again.
ImportantThis step is high-risk. Create snapshots of the system disk and data disks to back up your data before you proceed. See Create a snapshot.