You opened Settings > Windows Update and saw “Install error – 0x80070002” or “Download error – 0x80070002” next to an update. In plain terms, Windows could not find a file it needed to finish the update. Most of the time, clearing the update download cache and retrying fixes it, with a system file repair as the next step. The steps below are for Windows 11, with Windows 10 differences called out separately.
What 0x80070002 means
The code maps to ERROR_FILE_NOT_FOUND, which Windows describes as “The system cannot find the file specified.” The update process went looking for a file, folder, DLL or service registration and it was not where Windows expected. That usually happens because an earlier update was interrupted, a downloaded update file is damaged, or a system file is missing.
A few terms that come up below:
- Cumulative update: the monthly quality update that bundles the latest fixes and security patches.
- Servicing stack: the part of Windows that installs updates. Servicing stack updates keep that installer itself healthy.
- Component store: the WinSxS folder (C:\Windows\WinSxS), where Windows keeps the component files that updates build on.
- SoftwareDistribution: the folder at C:\Windows\SoftwareDistribution that holds update downloads and the update database.
| Likely cause | Where you see it | Fix to try |
|---|---|---|
| Damaged or half-finished download | Cumulative updates, “Download error” | Clear the update cache |
| Missing or corrupt system files | “Install error”, update rolls back after restart | DISM, then SFC |
| Leftovers from an interrupted update | The same update fails again and again | Reset update components, or reinstall Windows through Windows Update |
| Not enough free space or a disk error | Feature updates and version upgrades | Free up space, run chkdsk |
| Wrong date and time | Any update | Turn on automatic time |
Quick checks before anything else
These take a few minutes and clear up a surprising share of failed installs.
- Restart the PC, then go to Settings > Windows Update and select Check for updates again.
- Open Settings > Time & language > Date & time. Turn on the automatic time and time zone settings, and select Sync now if it is offered.
- Make sure you have room. A version upgrade needs at least 20 GB free on 64-bit Windows (16 GB on 32-bit).
- Unplug external drives, docks and other accessories you don’t need, then retry.
Fix 1: Run the Windows Update troubleshooter
On Windows 11, the Windows Update troubleshooter now runs inside the Get Help app, which checks for common problems and applies fixes automatically.
- Go to Start > Settings > System > Troubleshoot > Other troubleshooters.
- Select Run next to Windows Update (in many versions it is listed under Most frequent). If Get Help opens, let it finish its checks.
- Restart the PC when it is done, then check for updates again.
On Windows 10, the troubleshooter is usually found at Settings > Update & Security > Troubleshoot, where you select Windows Update (it may appear under Additional troubleshooters). Microsoft’s Windows Update troubleshooter page also has a direct link that opens Get Help.
Fix 2: Clear the update download cache
If the downloaded update files are incomplete, Windows keeps reaching for a file that isn’t there. Emptying the cache forces a fresh download.
- Press Windows key + R, type
services.msc, and press Enter. - Right-click Windows Update and select Stop. Do the same for Background Intelligent Transfer Service.
- Open File Explorer, go to C:\Windows, and rename the SoftwareDistribution folder to SoftwareDistribution.old (Windows creates a fresh one).
- Back in Services, start Background Intelligent Transfer Service and Windows Update again.
- Check for updates. The first scan after this can take longer than usual because Windows rebuilds its update list.
Fix 3: Repair system files with DISM and SFC
When the missing file belongs to Windows itself, DISM repairs the component store and SFC then repairs the system files that depend on it. Both need an elevated window.
- Select Start, type cmd, right-click Command Prompt, and choose Run as administrator.
- Run the DISM repair. It downloads replacement files from Windows Update, so stay online. It can sit at one percentage for several minutes.
DISM.exe /Online /Cleanup-image /Restorehealth
- When DISM reports success, run System File Checker and wait for it to reach 100%.
sfc /scannow
- Restart and try Windows Update again.
If DISM itself fails with a component store message, the article on repairing a corrupted component store (0x80073712) covers the next steps, including pointing DISM at a repair source.
Fix 4: Check the drive for errors
A file can go “missing” because the disk sector holding it is damaged. In an administrator Command Prompt, run:
chkdsk /f C:
Because Windows is running from that drive, you’ll be asked to restart so the check can run. Restart and let the scan finish before you sign in.
Fix 5: Reset the Windows Update components
If the error survives the earlier fixes, reset the services and databases Windows Update depends on. This renames folders rather than deleting them, so you can put them back. Use an administrator Command Prompt.
- Stop the Background Intelligent Transfer Service (BITS), Windows Update and Cryptographic services:
net stop bits
net stop wuauserv
net stop cryptsvc
- Rename the update database, download folder and catalog folder:
Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak
Ren %Systemroot%\SoftwareDistribution\Download Download.bak
Ren %Systemroot%\System32\catroot2 catroot2.bak
- Start the services again, then restart the PC and check for updates:
net start bits
net start wuauserv
net start cryptsvc
The full procedure, including re-registering update DLLs and resetting Winsock, is in how to reset Windows Update components in Windows 11.
Fix 6: Install the update by hand
Note the KB number of the failing update from Settings > Windows Update > Update history. Search for it in the Microsoft Update Catalog, download the package that matches your Windows version and architecture (most PCs are x64), and double-click the .msu file to install it. Restart when prompted.
Fix 7: Reinstall Windows through Windows Update (Windows 11)
This reinstalls your current version of Windows 11 and repairs system files while keeping your apps, files and settings. Back up important files first anyway, and keep the PC plugged in and online for the whole process.
- Go to Start > Settings > System > Recovery.
- Next to Fix problems using Windows Update, select Reinstall now.
- Choose whether the PC should restart automatically 15 minutes after the install finishes, then select OK.
The option is missing on PCs whose updates are managed by a work or school, and it needs a reasonably recent Windows 11 release. Details are on Microsoft’s page about reinstalling the current version of Windows.
Which fix fits your situation
A monthly cumulative update keeps failing
Work through Fixes 1 to 3 in order, then try the manual install. If the update installs, appears to finish, and then rolls back after a restart, the missing file is often tied to a driver or a .NET component, so DISM and SFC followed by the Catalog package is the stronger route.
A feature update or version upgrade fails
Space is the usual suspect here, so confirm the 20 GB free first and run chkdsk. After that, Fix 7 is the most reliable path on Windows 11 because it lays down a full, clean copy of the system files.
Windows 10 PCs
Fixes 2 to 6 work the same way on Windows 10. Fix 7 does not exist there. Keep in mind that Windows 10 reached end of support on October 14, 2025, so a home PC only receives security updates if it is enrolled in the consumer Extended Security Updates program, which runs to October 12, 2027.
Work or school PCs
If your organization manages updates (for example through WSUS or Group Policy), the update offered and the fixes you’re allowed to run are set by your IT team. Send them the error code and the KB number rather than resetting components yourself.
When a step won’t cooperate
- “Access is denied” on a command: the window isn’t elevated. Close it and reopen with Run as administrator. If a rename still fails, the matching service is running again; repeat the
net stopcommands and rename right away. Persistent permission errors have their own causes, covered under error 0x80070005. - DISM can’t find source files: it needs Windows Update to download repairs. Check your internet connection and try again.
- The error comes back after a fix: move on to the next fix rather than repeating the same one. If it returns after Fix 7, the cause is likely hardware or a third-party driver, so update drivers from your PC maker’s site.
Some fixes for this code online involve editing or importing registry keys. Don’t edit the registry without backing it up first, and on a home PC, prefer Fix 7.
Confirm the update installed, or undo a change
Go to Settings > Windows Update > Update history. The update should be listed as successfully installed. You can also press Windows key + R, type winver, and press Enter to see the build you’re on now.
If a newly installed update causes trouble, open Settings > Windows Update > Update history, select Uninstall updates under Related settings, pick the update and select Uninstall. Some updates can’t be removed this way. To undo the folder renames in Fix 5, stop the three services, delete the new DataStore, Download and catroot2 folders Windows created, rename the .bak folders back, and start the services.
Common questions about 0x80070002
Is 0x80070002 a sign of a virus?
Not usually. The code only says a file wasn’t found. Running a full scan in Windows Security is reasonable, but interrupted updates and damaged downloads are far more common causes.
Will any of these fixes delete my files?
No. Fixes 1 to 6 only touch update files and system files. Fix 7 keeps apps, files and settings. Reset this PC is the only route that can remove personal files, and it isn’t needed for this error in most cases.
Why do I also see 0x80070002 outside Windows Update?
Because the code is a general “file not found” message, other Windows tools can show it too. The fixes here target update failures. If Windows Update shows error 0x800f081f instead, that code has different causes and fixes.
Can I just skip the update?
You can pause updates for a while, but cumulative updates carry security fixes, and later updates build on earlier ones. It’s better to fix the cause than to leave the PC behind.
Start with the quick checks and Fix 2, since a fresh download clears this code more often than anything else. If you reach Fix 7 and it still fails, collect the KB number and the date it failed before asking Microsoft support for help.