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

2 minutesChanges settings

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

  1. Open Settings, then Time & language, then Date & time.
  2. Turn on Set time automatically and Set time zone automatically.
  3. Under Additional settings, select Sync now.

Windows 10

  1. Open Settings, then Time & Language, then Date & time.
  2. Turn on Set time automatically and Set time zone automatically.
  3. 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?

No, try fix 2

Fix 2: Restart and try the update again

10 to 30 minutesSafe

A restart finishes any update work that was waiting and clears files that were in use. Microsoft lists restarting first for this code.

  1. Save your work. Select Start, Power, Restart.
  2. Open Settings, then Windows UpdateSettings, then Update & Security, then Windows Update and select Retry or Check for updates.
  3. If the drive is nearly full, make room first with Free up disk space.
  4. 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?

No, try fix 3

Fix 3: Run the Windows Update troubleshooter

10 minutesSafe

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

  1. Open Settings, then System, then Troubleshoot, then Other troubleshooters.
  2. Beside Windows Update, select Run, and follow the steps. On recent versions this opens the Get Help app.
  3. Restart and try the update again.

Windows 10

  1. Open Settings, then Update & Security, then Troubleshoot and select Additional troubleshooters.
  2. Select Windows Update, then Run the troubleshooter, and follow the steps.
  3. Restart and try the update again.

Did that fix it?

No, try fix 4

Fix 4: Reset the Windows Update components

15 minutesChanges settings

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.

  1. Open Command Prompt as administrator.
  2. 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 wuauserv
    How 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.

  3. 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?

No, try fix 5

Fix 5: Repair Windows system files with DISM and SFC

20 to 40 minutesSafe

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.

  1. Open Command Prompt as administrator.
  2. Run this command and wait until it says the operation completed:
    Type this in Command Prompt, as administrator
    DISM.exe /Online /Cleanup-image /Restorehealth
  3. Then run this command and wait until it reaches 100%:
    Type this in Command Prompt, as administrator
    sfc /scannow
  4. Restart and try the update again.

Did that fix it?

No, try fix 6

Fix 6: Install the update from the Microsoft Update Catalog

20 to 40 minutesChanges settings

The Microsoft Update Catalog is Microsoft's own website for individual update files. Installing the file yourself avoids the download that keeps failing.

  1. In Update history, note the KB number of the update that failed.
  2. Open Settings, then System, then About and note the System type, such as x64-based processor.
  3. 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.
  4. 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?

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.