Windows Update showed Install error - 0x80070002, or Update history lists an update as failed with that code. You might also see it with a second part, 0x80070002 - 0x20009, while moving to a new version of Windows. Your PC is still safe to use while you work through the fixes below.
What it means
0x80070002 is Windows' general code for "the system cannot find the file specified". During an update it means Windows went to use a file it needed, usually part of the update it had downloaded, and the file was missing or incomplete. The update stops rather than install something half-finished.
It rarely means anything is wrong with your PC's hardware. Most of the time, a fresh download of the update fixes it.
Common causes
- The update download was interrupted or damaged, so files Windows expected aren't there.
- The PC's date, time or time zone is wrong, which can upset the checks Windows makes on update files.
- Windows Update's own records and download folder have got out of step with each other.
- The drive is nearly full, so the update couldn't unpack everything it needed.
- Damaged Windows system files.
- During an upgrade to a new version, an extra drive is plugged in and setup can't find what it expects (the 0x20009 version of the code).
Fix 1: Check the date, time and time zone
Windows Update checks dates on the files and security certificates it uses. If your clock is far out, or the time zone is wrong, those checks can fail. Letting Windows set the time itself puts it right.
Windows 11
- Open Settings, then
Time & language, then .Date & time - Turn on Set time automatically and Set time zone automatically.
- Under Additional settings, select Sync now.
Windows 10
- Open Settings, then
Time & Language, then .Date & time - Turn on Set time automatically and Set time zone automatically.
- Under Synchronize your clock, select Sync now.
If the time zone switch is greyed out or picks the wrong place, turn it off and choose your time zone from the list.
Did that fix it?
Fix 2: Restart and try the update again
A restart finishes any update work that was waiting and clears files that were in use. Microsoft lists restarting first for this code.
- Save your work. Select Start, Power, Restart.
- Open Settings, then
Windows Update Settings, thenUpdate & Security, then and select Retry or Check for updates.Windows Update - If the drive is nearly full, make room first with Free up disk space.
- If the error appeared while moving to a new version of Windows, unplug USB drives, memory cards and external hard drives before you retry.
Did that fix it?
Fix 3: Run the Windows Update troubleshooter
The troubleshooter checks Windows Update's services and settings and resets anything stuck. It is Microsoft's own first step for this error.
Windows 11
- Open Settings, then
System, then .Troubleshoot, then Other troubleshooters - Beside Windows Update, select Run, and follow the steps. On recent versions this opens the Get Help app.
- Restart and try the update again.
Windows 10
- Open Settings, then
Update & Security, then and select Additional troubleshooters.Troubleshoot - Select Windows Update, then Run the troubleshooter, and follow the steps.
- Restart and try the update again.
Did that fix it?
Fix 4: Reset the Windows Update components
This makes Windows throw away its downloaded update files and start again with fresh folders, which suits an error about missing files. The commands are built into Windows.
- Open Command Prompt as administrator.
- Type each line and press Enter after each one:
Type this in Command Prompt, as administrator
net stop wuauserv net stop bits net stop cryptsvc ren C:\Windows\SoftwareDistribution SoftwareDistribution.bak ren C:\Windows\System32\catroot2 catroot2.bak net start cryptsvc net start bits net start wuauservHow do I open Command Prompt as administrator?
Select Start and type cmd. Right-click Command Prompt in the results and choose Run as administrator. Select Yes if Windows asks for permission.
- Restart the PC and try the update again. The download starts from scratch, so it may take longer than before.
If a line shows an error, the full version of this fix explains the common messages.
Did that fix it?
Fix 5: Repair Windows system files with DISM and SFC
If the missing file is one of Windows' own, DISM can restore it from Microsoft's servers, and System File Checker then repairs damaged system files. Microsoft recommends running DISM first.
- Open Command Prompt as administrator.
- Run this command and wait until it says the operation completed:
Type this in Command Prompt, as administrator
DISM.exe /Online /Cleanup-image /Restorehealth - Then run this command and wait until it reaches 100%:
Type this in Command Prompt, as administrator
sfc /scannow - Restart and try the update again.
Did that fix it?
Fix 6: Install the update from the Microsoft Update Catalog
The Microsoft Update Catalog is Microsoft's own website for individual update files. Installing the file yourself avoids the download that keeps failing.
- In Update history, note the KB number of the update that failed.
- Open Settings, then
System, then and note the System type, such as x64-based processor.About - Search the catalog for the KB number. Pick the row that matches your Windows version and system type, select Download, and select the link that appears.
- Open the downloaded file, follow the prompts and restart when asked.
Windows Update failed to install explains how to match the right row in more detail. The catalog is for monthly updates. If a new version of Windows is what keeps failing, that page also covers reinstalling Windows through Windows Update.
Did that fix it?
Related codes
0x80070003 means "the system cannot find the path specified", and the same fixes apply. For 0x800f0922, the cause is usually a VPN or a lack of space instead. For any other code, start with Windows Update failed to install.