Windows error inside an HRESULT
0x80070017 ERROR_CRC
A data error (cyclic redundancy check): the data read back from the disk or download did not match. Seen as 0x80070017. On a disk it can mean failing sectors.
Where you will see it
- Copying files
- Installing from a USB stick or DVD
- Windows Update
Likely causes, most common first
- A damaged download or installer.
- Bad sectors on the disk.
- A failing USB stick or cable.
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. Check the disk (easy)
- Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and say Yes to the prompt.
- Run: chkdsk C: /scan
- Check the drive health (SMART) with the maker's tool.
It worked if: chkdsk reports no problems and the copy completes.
2. Reset the Windows Update download cache (moderate)
- Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and say Yes to the prompt.
- Run: net stop wuauserv and then net stop bits
- Run: ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- Run: net start bits and then net start wuauserv
- Open Settings, Windows Update, and press Check for updates.
It worked if: Windows Update downloads the update again from the start and the error does not come back.
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.
“Data error (cyclic redundancy check).”
The same code, written other ways
Search a log or a forum for any of these; they are all this code.
- 0x80070017 (what Windows Update, DISM and installers print)
- -2147024873 (signed decimal, as PowerShell and some logs show it)
- 2147942423 (unsigned decimal)
- Windows error 23 (0x17), the number inside it; net helpmsg 23 prints its message
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: 7 (FACILITY_WIN32) (bits 16-26)
- Code: 23 (0x17) (bits 0-15)
Codes that often come with it
- 0x8007045D ERROR_IO_DEVICE
An I/O device error stopped the request: the disk, USB device or controller did not answer properly.
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.