Error Codes

When WuInstall encounters a Windows Update error, it reports the error code in the output. Below are some commonly seen error codes:

Error Code
Error String
Description
0x80240044
WU_E_PER_MACHINE_UPDATE_ACCESS_DENIED
Only administrators can perform this operation on per-machine updates.
0x80248013
WU_E_DS_DUPLICATEUPDATEID
The server sent the same update to the client with two different revision IDs.
0x80244021
WU_E_PT_HTTP_STATUS_BAD_GATEWAY
Same as HTTP status 502 — the server, while acting as a gateway or proxy, received an invalid response from the upstream server.
0x80072EE6
ERROR_INTERNET_UNRECOGNIZED_SCHEME
The URL scheme could not be recognized or is not supported.
0x80072EFD
ERROR_INTERNET_CANNOT_CONNECT
A connection with the server could not be established. Usually indicates the WSUS address is configured incorrectly or there are proxy problems.
0x8024400A
WU_E_PT_SOAPCLIENT_PARSE
Sometimes occurs with new Windows machines when the Windows Update Agent is not properly installed. Download and install the latest Windows Update Agent.
0x80240022
WU_E_ALL_UPDATES_FAILED
All update installations failed. Try adding /quiet /disableprompt to your WuInstall command.
0x80240028
WU_E_UNINSTALL_NOT_ALLOWED
The update cannot be uninstalled because it was not installed via WSUS.

For a comprehensive list of Windows Update error codes, see the Microsoft documentation.

Did this answer your question?
😞
😐
🤩

Last updated on January 3, 2024