Windows error codes, explained
The codes people hit most in Windows Update, DISM, installers and file copies, each on its own page with what it means, the likely causes, the fixes in the order to try them and what Microsoft's documentation says. Have a code that is not here? The error code decoder breaks down any code from its bits and lists every code in a pasted log.
Looking for something else? Blue-screen stop codes are in the stop code library, and the codes a program crashes with (0xC0000005 and the rest) are in the exception code reference.
Windows Update
Codes starting 0x8024 come from Windows Update itself.
- 0x80240017 WU_E_NOT_APPLICABLE
The update is not applicable to this PC: it is for a different version or edition, it is already installed, or something it needs is missing.
Microsoft: “Operation wasn't performed because there are no applicable updates.”
- 0x8024402C WU_E_PT_WINHTTP_NAME_NOT_RESOLVED
Windows Update could not look up the update server's name: a DNS or proxy problem.
Microsoft: “Same as ERROR_WINHTTP_NAME_NOT_RESOLVED - the proxy server or target server name can't be resolved.”
- 0x80244022 WU_E_PT_HTTP_STATUS_SERVICE_UNAVAIL
The update server answered "service unavailable" (HTTP 503): it is busy or down for a while.
Microsoft: “Same as HTTP status 503 - the service is temporarily overloaded.”
- 0x80240034 WU_E_DOWNLOAD_FAILED
The update failed to download, so there was nothing to install.
Microsoft: “Update failed to download.”
- 0x8024200D WU_E_UH_NEEDANOTHERDOWNLOAD
The update handler needs another download to finish installing, usually because part of the first download was missing or damaged.
Microsoft: “The update handler didn't install the update because it needs to be downloaded again.”
- 0x80242016 WU_E_UH_POSTREBOOTUNEXPECTEDSTATE
After the restart the update was not in the state Windows expected, so it was rolled back.
Microsoft: “The state of the update after its post-reboot operation has completed is unexpected.”
- 0x8024001E WU_E_SERVICE_STOP
The operation did not finish because the Windows Update service stopped or the PC shut down.
Microsoft: “Operation didn't complete because the service or system was being shut down.”
- 0x80240022 WU_E_ALL_UPDATES_FAILED
Every update in the batch failed.
Microsoft: “Operation failed for all the updates.”
DISM, servicing and Windows features
Codes starting 0x800F come from component servicing: DISM, cumulative updates and optional features.
- 0x800F081F CBS_E_SOURCE_MISSING
The source files could not be found: Windows servicing needed files for a feature or update and could not get them.
Microsoft: “The source files could not be found.”
- 0x800F0906 CBS_E_DOWNLOAD_FAILURE
Windows servicing could not download the files it needed, usually from Windows Update.
Microsoft: “This error code occurs because the computer cannot download the required files from Windows Update.”
- 0x800F0907 CBS_E_GROUPPOLICY_DISALLOWED
Group policy stopped Windows from downloading the files it needed.
Microsoft: “This error code occurs if an alternative installation source is not specified or is invalid and if the Specify settings for optional component installation and component repair Group Policy setting is configured to Never attempt to download payload from Windows Update.”
- 0x800F0922 CBS_E_INSTALLERS_FAILED
One of the installers inside an update failed.
Microsoft: “Processing advanced installers and generic commands failed.”
- 0x800F0831 CBS_E_STORE_CORRUPTION
The component store is corrupted: a manifest a cumulative update builds on is missing, often because an earlier update did not install fully.
Microsoft: “Corruption in the Windows Component Store.”
Windows errors inside an HRESULT (0x8007)
The last four hex digits are a plain Windows error number, so each code here also has a short decimal form.
- 0x80070002 ERROR_FILE_NOT_FOUND
The system cannot find a file it was told to use.
Microsoft: “The system cannot find the file specified.”
- 0x80070003 ERROR_PATH_NOT_FOUND
A folder in the path does not exist.
Microsoft: “The system cannot find the path specified.”
- 0x80070020 ERROR_SHARING_VIOLATION
The file is in use by another program, so it cannot be changed right now.
Microsoft: “The process cannot access the file because it is being used by another process.”
- 0x80070070 ERROR_DISK_FULL
There is not enough space on the disk.
Microsoft: “There is not enough space on the disk.”
- 0x80070017 ERROR_CRC
A data error (cyclic redundancy check): the data read back from the disk or download did not match.
Microsoft: “Data error (cyclic redundancy check).”
- 0x8007045D ERROR_IO_DEVICE
An I/O device error stopped the request: the disk, USB device or controller did not answer properly.
Microsoft: “The request could not be performed because of an I/O device error.”
- 0x80070570 ERROR_FILE_CORRUPT
The file or folder is corrupted and unreadable.
Microsoft: “The file or directory is corrupted and unreadable.”
- 0x80070422 ERROR_SERVICE_DISABLED
The service is disabled, so it cannot start.
Microsoft: “The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.”
- 0x80070643 ERROR_INSTALL_FAILURE
Fatal error during installation: a Windows Installer (MSI) package failed.
Microsoft: “Fatal error during installation.”
- 0x80070652 ERROR_INSTALL_ALREADY_RUNNING
Another installation is already in progress, so this one has to wait.
Microsoft: “Another installation is already in progress. Complete that installation before proceeding with this install.”
- 0x800704C7 ERROR_CANCELLED
The operation was cancelled by the user or by the program.
Microsoft: “The operation was canceled by the user.”
- 0x800705B4 ERROR_TIMEOUT
The operation timed out: Windows waited for an answer that did not come in time.
Microsoft: “This operation returned because the timeout period expired.”
- 0x800706BA RPC_S_SERVER_UNAVAILABLE
The RPC server is unavailable: the program tried to talk to a service, on this PC or another, that did not answer.
Microsoft: “The RPC server is unavailable.”
- 0x80070BC2 ERROR_SUCCESS_REBOOT_REQUIRED
Not a failure: the install worked and needs a restart to finish.
Microsoft: “The requested operation is successful. Changes will not be effective until the system is rebooted.”
- 0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT
The Windows component store (WinSxS), where Windows keeps the parts updates are built from, is corrupted.
Microsoft: “The component store has been corrupted.”
- 0x80073701 ERROR_SXS_ASSEMBLY_MISSING
A component Windows needs is missing from the component store.
Microsoft: “The referenced assembly could not be found.”
- 0x80072EE2 ERROR_INTERNET_TIMEOUT
The internet request timed out.
Microsoft: “The request has timed out.”
- 0x80072EFD ERROR_INTERNET_CANNOT_CONNECT
The connection to the server could not be made.
Microsoft: “The attempt to connect to the server failed.”
- 0x80072F8F ERROR_WINHTTP_SECURE_FAILURE
The secure (TLS) connection failed.
Microsoft: “One or more errors were found in the Secure Sockets Layer (SSL) certificate sent by the server.”
General COM and API results
Codes every Windows program can return.
- 0x80070005 E_ACCESSDENIED
Access was denied: Windows refused permission to a file, folder, registry key or service the operation needed.
Microsoft: “General access denied error”
- 0x80004005 E_FAIL
Unspecified failure: the component that returned this did not say why.
Microsoft: “Unspecified failure”
- 0x8000FFFF E_UNEXPECTED
Catastrophic or unexpected failure: the program reached a state it did not plan for.
Microsoft: “Unexpected failure”
- 0x80070057 E_INVALIDARG
One or more arguments are not valid: a program handed Windows a value it could not accept.
Microsoft: “One or more arguments are not valid”
- 0x8007000E E_OUTOFMEMORY
Not enough memory or storage to finish the operation.
Microsoft: “Failed to allocate necessary memory”
- 0x80004001 E_NOTIMPL
Not implemented: the program asked for a feature the component it called does not have.
Microsoft: “Not implemented”
- 0x80004002 E_NOINTERFACE
No such interface supported: a program asked a COM component for something it does not offer, often because a registration is missing or broken.
Microsoft: “No such interface supported”
- 0x80004004 E_ABORT
The operation was aborted, by the user or by the program.
Microsoft: “Operation aborted”