What does this Windows error code mean?
Paste the code from Windows Update, DISM, an installer or a script, or paste the whole log. You get what the code means, which part of Windows raised it and, for the common ones, how to fix it. Decoded in your browser; nothing is sent.
Error code, or the log text it appeared in
Type it the way you saw it: 0x80070005, 80070005, -2147024891 or 5 all work.
How a Windows error code is built
Most codes are 32-bit HRESULTs. The top bit says whether it failed, the next bits say which part of Windows raised it (the facility) and the last 16 bits are the code within that facility. That is why codes that start with 0x8024 are all Windows Update, 0x800F codes come from DISM and component servicing, and 0x8007 codes carry an ordinary Windows error number in their last four digits. Codes that start with 0xC are usually NTSTATUS values from the kernel; when a program crashes with one, our exception code reference explains it.
The decoder reads those bits exactly as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out, so even a code we have never written up gets a correct breakdown. The explanations, causes and fixes below are written by us for the codes people run into most.
Codes we explain in full
Each one has its own page with the causes, the fixes in order and what Microsoft's documentation says about it. All of them in one list: Windows error codes.
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.
- 0x8024402C WU_E_PT_WINHTTP_NAME_NOT_RESOLVED
Windows Update could not look up the update server's name: a DNS or proxy problem.
- 0x80244022 WU_E_PT_HTTP_STATUS_SERVICE_UNAVAIL
The update server answered "service unavailable" (HTTP 503): it is busy or down for a while.
- 0x80240034 WU_E_DOWNLOAD_FAILED
The update failed to download, so there was nothing to install.
- 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.
- 0x80242016 WU_E_UH_POSTREBOOTUNEXPECTEDSTATE
After the restart the update was not in the state Windows expected, so it was rolled back.
- 0x8024001E WU_E_SERVICE_STOP
The operation did not finish because the Windows Update service stopped or the PC shut down.
- 0x80240022 WU_E_ALL_UPDATES_FAILED
Every update in the batch failed.
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.
- 0x800F0906 CBS_E_DOWNLOAD_FAILURE
Windows servicing could not download the files it needed, usually from Windows Update.
- 0x800F0907 CBS_E_GROUPPOLICY_DISALLOWED
Group policy stopped Windows from downloading the files it needed.
- 0x800F0922 CBS_E_INSTALLERS_FAILED
One of the installers inside an update 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.
Windows errors inside an HRESULT (0x8007)
The last four hex digits are a plain Windows error number. Each also appears as 0x8007 followed by those digits.
- 0x80070002 ERROR_FILE_NOT_FOUND
The system cannot find a file it was told to use.
- 0x80070003 ERROR_PATH_NOT_FOUND
A folder in the path does not exist.
- 0x80070020 ERROR_SHARING_VIOLATION
The file is in use by another program, so it cannot be changed right now.
- 0x80070070 ERROR_DISK_FULL
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.
- 0x8007045D ERROR_IO_DEVICE
An I/O device error stopped the request: the disk, USB device or controller did not answer properly.
- 0x80070570 ERROR_FILE_CORRUPT
The file or folder is corrupted and unreadable.
- 0x80070422 ERROR_SERVICE_DISABLED
The service is disabled, so it cannot start.
- 0x80070643 ERROR_INSTALL_FAILURE
Fatal error during installation: a Windows Installer (MSI) package failed.
- 0x80070652 ERROR_INSTALL_ALREADY_RUNNING
Another installation is already in progress, so this one has to wait.
- 0x800704C7 ERROR_CANCELLED
The operation was cancelled by the user or by the program.
- 0x800705B4 ERROR_TIMEOUT
The operation timed out: Windows waited for an answer that did not come in time.
- 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.
- 0x80070BC2 ERROR_SUCCESS_REBOOT_REQUIRED
Not a failure: the install worked and needs a restart to finish.
- 0x80073712 ERROR_SXS_COMPONENT_STORE_CORRUPT
The Windows component store (WinSxS), where Windows keeps the parts updates are built from, is corrupted.
- 0x80073701 ERROR_SXS_ASSEMBLY_MISSING
A component Windows needs is missing from the component store.
- 0x80072EE2 ERROR_INTERNET_TIMEOUT
The internet request timed out.
- 0x80072EFD ERROR_INTERNET_CANNOT_CONNECT
The connection to the server could not be made.
- 0x80072F8F ERROR_WINHTTP_SECURE_FAILURE
The secure (TLS) connection failed.
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.
- 0x80004005 E_FAIL
Unspecified failure: the component that returned this did not say why.
- 0x8000FFFF E_UNEXPECTED
Catastrophic or unexpected failure: the program reached a state it did not plan for.
- 0x80070057 E_INVALIDARG
One or more arguments are not valid: a program handed Windows a value it could not accept.
- 0x8007000E E_OUTOFMEMORY
Not enough memory or storage to finish the operation.
- 0x80004001 E_NOTIMPL
Not implemented: the program asked for a feature the component it called does not have.
- 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.
- 0x80004004 E_ABORT
The operation was aborted, by the user or by the program.
Questions
Why does the same error show up as 0x80070005, 80070005 and -2147024891?
They are one 32-bit number written three ways: hexadecimal with and without the 0x prefix, and the same bits read as a signed decimal, which is how PowerShell and some installers print it. Paste any of them and you get the same answer.
What does 0x8007 at the start of a code mean?
The 8 says the operation failed and 007 is facility 7, FACILITY_WIN32: the last four hex digits are an ordinary Windows error number. 0x80070005 is Windows error 5, access denied, and 0x80070070 is error 112, disk full.
Is what I paste sent anywhere?
No. The decoding runs in your browser. If you press Share, the link carries only the single code shown, never the rest of what you pasted.
The code is not in your library. Is the answer still right?
The decoded part is: severity, facility and code come straight from the bits, as Microsoft’s [MS-ERREF] specification defines them. What we cannot add for an unlisted code is the hand-written cause and fix, so the page says so and points you to Microsoft Learn.
Put this on your site
Paste this code into a help page, forum or blog to show the tool itself. It runs in the visitor's browser like it does here, needs no sign-in, and links back with a small Powered by line.
Related tools
BSOD Analyzer
Read your blue-screen crash dump and get the guilty driver plus a fix plan.
App-Crash Reader
Decode .wer reports and app-crash minidumps, which program died and why.
Event Log Reader
Read a Windows .evtx event log and find the shutdowns, crashes and errors that matter.
Crash Timeline
Drop every dump, crash report and event log at once and get one dated story with one verdict.
Certificate Decoder
Inspect certificates, chains, CSRs, keys and .pfx bundles: locally.
.reg File Viewer
See what a .reg file actually does, and whether it looks safe to run.
File Identifier
Don't know what a file is? Drop it: we identify it by its bytes.