COM and Windows API result
0x80004004 E_ABORT
The operation was aborted, by the user or by the program. Usually nothing is broken.
Where you will see it
- Program logs
- Copy and install dialogs
Likely causes, most common first
- Cancel was pressed.
- The program stopped the work itself.
How to fix it, in this order
Start with the first fix and check the result before moving on; each one says how to tell that it worked.
1. Run it again (easy)
- Start the operation again and let it finish.
It worked if: It completes.
What Microsoft's documentation says
Microsoft's own wording for this code, quoted from the page named under each quote. The plain-English explanation and the fixes above are ours.
“Operation aborted”
The same code, written other ways
Search a log or a forum for any of these; they are all this code.
- 0x80004004 (what Windows Update, DISM and installers print)
- -2147467260 (signed decimal, as PowerShell and some logs show it)
- 2147500036 (unsigned decimal)
How the code is put together
Read from the bits as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out.
- Severity: 1 (failure) (bit 31)
- Customer bit: 0 (Microsoft) (bit 29)
- NTSTATUS inside: 0 (bit 28)
- Facility: 0 (FACILITY_NULL) (bits 16-26)
- Code: 16388 (0x4004) (bits 0-15)
Codes that often come with it
- 0x800704C7 ERROR_CANCELLED
The operation was cancelled by the user or by the program.
More than one code in your log?
Paste the whole CBS, DISM or Windows Update log into the decoder. It lists every code in it, in order, with the line it was on. Decoded in your browser; nothing is sent.
Open the error code decoder →Helping someone with the same problem?
Send them this page, or link to it from a forum reply or your own site.