Error code 0x80070017 on Windows 10 usually means Windows Update or the installation process encountered a corrupted or unreadable file, often due to a failing hard drive, bad RAM, or a damaged update cache. The fix typically involves clearing the SoftwareDistribution folder, running system file checks, and checking your disk for errors — here’s the complete step-by-step guide.
What Does Error 0x80070017 Mean?
Windows uses error codes to tell you what went wrong during an operation. 0x80070017 translates to ERROR_CRC — a cyclic redundancy check failure. This is a data-integrity error: the file Windows tried to read did not match the expected checksum. It can appear when installing a feature update, downloading a driver, or even during a clean Windows installation. The message often reads “Windows could not install” or “The data is invalid,” but the underlying cause is almost always a read error from a storage device or memory.
Why Does 0x80070017 Happen?
The most common triggers are:
- Corrupted update cache — the SoftwareDistribution folder stores downloaded updates; if the files get corrupted, Windows can’t verify them.
- Failing hard drive — bad sectors on an HDD or SSD can cause read errors that trigger CRC failures.
- Faulty RAM — memory errors can corrupt data during the install process.
- Interrupted download — a dropped internet connection can leave incomplete update files.
- Third-party antivirus interference — some security software locks or modifies update files, causing mismatches.
Understanding the root cause helps you choose the right fix. If the error appears during a clean install from a USB drive, the problem is often the USB stick itself or the ISO file.
Fix 1: Clear the Windows Update Cache
This is the first thing to try because it’s safe and resolves the issue in many cases. The update cache is stored in C:\Windows\SoftwareDistribution. Follow these steps:
- Press Win + R, type
services.msc, and press Enter. - Find Windows Update in the list, right-click it, and select Stop.
- Also stop Background Intelligent Transfer Service (BITS) the same way.
- Open File Explorer and navigate to
C:\Windows\SoftwareDistribution. Delete everything inside the folder (you may need admin permission). - Go back to the Services window, right-click both services again, and select Start.
- Restart your PC and try Windows Update again.
If you can’t delete a file, it’s likely still in use. Make sure both services are stopped, and if necessary, boot into Safe Mode to retry.
Fix 2: Run System File Checker and DISM
Corrupted system files can also cause CRC errors. Windows includes tools to repair them. Run these from an elevated Command Prompt (right-click Start → “Command Prompt (Admin)” or “Windows PowerShell (Admin)”):
- First, run
DISM /Online /Cleanup-Image /RestoreHealth. This fixes the system image that SFC relies on. It may take 15-30 minutes. - Then run
sfc /scannow. This scans all protected system files and replaces corrupted ones. - Restart your PC and try the update again.
DISM uses Windows Update to download healthy files, so make sure you have an internet connection. If DISM fails, you can use a Windows 10 ISO as a repair source, but that’s more advanced.
Fix 3: Check Your Hard Drive for Errors
Because 0x80070017 is a read error, a failing disk is a prime suspect. Use the built-in chkdsk tool to scan and repair bad sectors:
- Open an elevated Command Prompt.
- Type
chkdsk C: /f /rand press Enter. If it says the drive is in use, typeYto schedule it on the next restart. - Restart your PC. The scan will run before Windows loads and may take a long time.
- After it completes, try the update again.
Note that chkdsk can’t fix physical damage — it only marks bad sectors so the system avoids them. If you see a lot of bad sectors, back up your data immediately and consider replacing the drive.
Fix 4: Test Your RAM
If the drive is fine, faulty memory could be corrupting data during the update. Windows has a built-in memory diagnostic tool:
- Press Win + R, type
mdsched.exe, and press Enter. - Choose “Restart now and check for problems.”
- The PC will restart and run a memory test. It may take several passes.
- If errors are found, you’ll need to replace the faulty RAM stick.
If the test reports errors, try reseating your RAM modules first — sometimes they just need a firm push. If errors persist, replace the stick.
Fix 5: Use the Windows Update Troubleshooter
Windows 10 includes a dedicated troubleshooter that automates many of the above steps. Go to Settings → Update & Security → Troubleshoot → Additional troubleshooters, select Windows Update, and run it. It will check for common issues like corrupted cache, service problems, and pending reboots. This is a good first step if you’re not comfortable with command-line tools.
Fix 6: Perform a Repair Upgrade (In-Place Upgrade)
If none of the above works, you can do a repair upgrade using the Windows 10 Media Creation Tool. This reinstalls Windows while keeping your files and apps. Download the tool from Microsoft’s website, run it, and choose “Upgrade this PC now.” It will download the latest version and install it over your current system. This often fixes deep corruption that SFC and DISM can’t handle.
Frequently Asked Questions
Can error 0x80070017 be caused by a bad USB drive during installation?
Yes, absolutely. If you’re installing Windows from a USB stick, a faulty or poorly made USB drive can cause read errors. Try a different USB port, re-create the bootable drive, or use a different USB stick.
Will I lose my files if I run chkdsk?
No, chkdsk repairs file system errors and bad sectors without deleting your personal files. However, it might move data from bad sectors to good ones, which could change file paths. Always back up important data before running it.
How long does DISM take?
DISM can take anywhere from 10 minutes to over an hour, depending on your system speed and the level of corruption. It’s normal for it to appear stuck at 20% — just let it finish.
Is there a way to prevent this error in the future?
Keep your system healthy by regularly running chkdsk and SFC, ensuring your hard drive has enough free space, and avoiding abrupt shutdowns. Also, make sure your RAM is seated properly and your drive is not failing.
What if the error appears during a game install?
If you see 0x80070017 when installing a game from Steam or another platform, it’s still a data-integrity issue. Clear the download cache of that platform, verify the integrity of game files, and check your disk for errors as described above.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Google Chrome Helper: What It Is & How to Disable
- Fix 0x80070422 on Windows Server (Step-by-Step)
- How to Troubleshoot a Malfunctioning Driver on Windows
- How to Create Folders in Microsoft Outlook
- Fix Status Range List Conflict 0xc0000282 in Windows
- Fix Software Not Uninstalling on Windows 10