WUA Success and Error Codes
The Windows Update Agent (WUA) API can return the following success or error codes for non-network operations:
Constant/value | Description |
---|---|
|
WUA was stopped successfully. |
|
WUA updated itself. |
|
The operation completed successfully but errors occurred applying the updates. |
|
A callback was marked to be disconnected later because the request to disconnect the operation came while a callback was executing. |
|
The system must be restarted to complete installation of the update. |
|
The update to be installed is already installed on the system. |
|
The update to be removed is not installed on the system. |
|
The update to be downloaded has already been downloaded. |
|
The installation operation for the update is still in progress. |
|
WUA was unable to provide the service. |
|
The maximum capacity of the service was exceeded. |
|
WUA cannot find an ID. |
|
The object could not be initialized. |
|
The update handler requested a byte range overlapping a previously requested range. |
|
The requested number of byte ranges exceeds the maximum number (2³¹ - 1). |
|
The index to a collection was invalid. |
|
The key for the item queried could not be found. |
|
Another conflicting operation was in progress. Some operations such as installation cannot be performed twice simultaneously. |
|
Cancellation of the operation was not allowed. |
|
Operation was cancelled. |
|
No operation was required. |
|
WUA could not find required information in the update's XML data. |
|
WUA found invalid information in the update's XML data. |
|
Circular update relationships were detected in the metadata. |
|
Update relationships too deep to evaluate were evaluated. |
|
An invalid update relationship was detected. |
|
An invalid registry value was read. |
|
Operation tried to add a duplicate item to a list. |
|
Updates that are requested for install are not installable by the caller. |
|
Operation tried to install while another installation was in progress or the system was pending a mandatory restart. |
|
Operation was not performed because there are no applicable updates. |
|
Operation failed because a required user token is missing. |
|
An exclusive update can't be installed with other updates at the same time. |
|
A policy value was not set. |
|
The operation could not be performed because the Windows Update Agent is self-updating. |
|
An update contains invalid metadata. |
|
Operation did not complete because the service or system was being shut down. |
|
Operation did not complete because the network connection was unavailable. |
|
Operation did not complete because there is no logged-on interactive user. |
|
Operation did not complete because it timed out. |
|
Operation failed for all the updates. |
|
The license terms for all updates were declined. |
|
There are no updates. |
|
Group Policy settings prevented access to Windows Update. |
|
The type of update is invalid. |
|
The URL exceeded the maximum length. |
|
The update could not be uninstalled because the request did not originate from a Windows Server Update Services (WSUS) server. |
|
Search may have missed some updates before there is an unlicensed application on the system. |
|
A component required to detect applicable updates was missing. |
|
An operation did not complete because it requires a newer version of server. |
|
A delta-compressed update could not be installed because it required the source. |
|
A full-file update could not be installed because it required the source. |
|
Access to an unmanaged server is not allowed. |
|
Operation did not complete because the DisableWindowsUpdateAccess policy was set in the registry. |
|
The format of the proxy list was invalid. |
|
The file is in the wrong format. |
|
The search criteria string was invalid. |
|
License terms could not be downloaded. |
|
Update failed to download. |
|
The update was not processed. |
|
The object's current state did not allow the operation. |
|
The functionality for the operation is not supported. |
|
Agent is asked by server to resync too many times. |
|
The WUA API method does not run on the server core installation. |
|
Service is not available while sysprep is running. |
|
The update service is no longer registered with automatic updates. |
|
No support for the WUA user interface. |
|
Only administrators can perform this operation on per-computer updates. |
|
A search was attempted with a scope that is not currently supported for this type of search. |
|
The URL does not point to a file. |
|
The operation requested is not supported. |
|
The featured update notification info returned by the server is invalid. |
|
The data is out of range. |
|
WUA operations are not available while operating system setup is running. |
|
An operation failed due to reasons not covered by another error code. |
Requirements
Requirement | Value |
---|---|
Header |
|