Windows Update

Windows Update error 0x80070002: what it means and how to fix it

Windows Update error 0x80070002 means a file the update needs could not be found. Restart, run the troubleshooter, free space, then repair the update files.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

0x80070002 is a general Windows error code, not one that belongs only to Windows Update. Microsoft's DISM repair article lists it as ERROR_FILE_NOT_FOUND with the description "The system cannot find the file specified." Microsoft's consumer Windows Update page gives an even shorter meaning: "Update failed to install." Neither page says which file was missing, so treat this as a generic meaning. The code tells you Windows Update, or Windows Setup, went looking for something it expected and did not find it.

Where you see the code changes what it most likely means. In Settings, under Windows Update and then Update history, it usually points to an incomplete download or a damaged update store. During a feature upgrade it often appears with an extended code after a dash, such as 0x80070002 - 0x20009. Microsoft ties that pair to partition checks made by Setup, which is a disk layout problem rather than a download problem.

The fuller walkthrough for failed Windows 11 updates is in Windows 11 update stuck or failing. This page stays with what Microsoft documents for this one code.

Common causes

  • A restart is pending, or another program was holding files the update needed.
  • Not enough free space to stage the update. Microsoft asks for at least 16 GB free on a 32-bit system and 20 GB on a 64-bit system.
  • Missing or damaged files in the update cache or the component store. The DISM article lists 0x80070002 among its common corruption errors.
  • During an upgrade, a second disk that holds an older system partition. Microsoft says the 0x20009 errors can be caused by multiple system partitions.

How to fix it

1. Restart, then run the Windows Update troubleshooter

Microsoft's first step for this code is a plain restart, so that no other application is blocking the update. Then run the troubleshooter. On Windows 11 go to Start, Settings, System, Troubleshoot, Other troubleshooters, find Windows Update and select Run. On Windows 10 go to Start, Settings, Update & Security, Troubleshoot, Additional troubleshooters, then Windows Update and Run the troubleshooter. Check for updates again when it finishes.

2. Make sure there is enough free space

Check the system drive in File Explorer. If you are below 16 GB free on a 32-bit system or 20 GB on a 64-bit system, free up space before retrying. Microsoft notes that a PC with a small drive may need a USB drive plugged in to complete the update.

3. Disconnect extra disks if the code ends in 0x20009

If the error appeared during an upgrade as 0x80070002 - 0x20009, disconnect or temporarily disable any drive you are not installing Windows on, especially an old system drive that was left in the PC. Microsoft says you can reconnect it after the upgrade completes. This step does not apply to a normal monthly update that fails in Settings.

4. Reset the update cache

This step comes from the advanced troubleshooting section of Microsoft's Windows Update page, which it recommends only if you are comfortable with the command line. Open Command Prompt as administrator and run these commands one at a time, letting each finish, then restart the PC:

net stop bits
net stop wuauserv
ren %systemroot%\softwaredistribution softwaredistribution.bak
ren %systemroot%\system32\catroot2 catroot2.bak
net start bits
net start wuauserv

Renaming the folders keeps the old copies, and Windows builds fresh ones on the next scan.

5. Repair the component store with DISM, then SFC

Because Microsoft lists 0x80070002 as a corruption error, its DISM procedure applies. From an elevated Command Prompt run the two commands below, wait for "The restore operation completed successfully", let the SFC scan reach 100%, then run Windows Update again. DISM writes its findings to %windir%\Logs\CBS\CBS.log.

DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow

If nothing works

Open CBS.log and look for the entries around the time of the failure. They often name the missing file or package. If one update keeps failing, Microsoft's DISM article explains how to find the matching update in the Microsoft Update Catalog and use it as a repair source. If the PC still will not update, Microsoft's last option is a clean installation of Windows, so back up your files first.

What we checked

On 2026-11-19 we read four Microsoft pages that mention 0x80070002. The Windows Update troubleshooting page on support.microsoft.com lists it as "Update failed to install" and gives the restart, troubleshooter and disk space steps. The Microsoft Learn article on fixing Windows Update corruption lists it as ERROR_FILE_NOT_FOUND and documents the DISM and SFC repair. The upgrade errors page and the Windows 10 upgrade resolution procedures both cover 0x80070002 - 0x20009 and the extra system partition cause. We read the vendor documentation; we did not reproduce the error on a test PC.

Last checked: 2026-11-19.

Official sources

Questions people ask

What does error 0x80070002 mean?

Microsoft maps it to ERROR_FILE_NOT_FOUND, "The system cannot find the file specified." Its Windows Update page only says the update failed to install, so the code tells you a file was missing, not which one or why.

Why do I get 0x80070002 - 0x20009 when upgrading Windows?

Microsoft says that combination happens during partition analysis and can be caused by more than one system partition, for example an old system drive left connected. Disconnect disks you are not installing Windows on, then run the upgrade again.

Do I need to reinstall Windows to fix 0x80070002?

Rarely. Microsoft lists a restart, the Windows Update troubleshooter and a free space check first. Repairing the update cache and system files comes next, and a clean installation is the last item on its list.

  • 0x800f0922 (Windows Update)

    Error 0x800f0922 means an update could not install, most often because of low disk space, a VPN blocking the update servers or a full System Reserved partition.

  • 0x8007000d (Windows Update)

    Error 0x8007000d means Windows Update downloaded invalid or corrupted data. Run the troubleshooter, clear the update cache, download again, then repair with DISM.

  • 0x80240034 (Windows Update)

    Error 0x80240034 means an update failed to download or the download was interrupted. Check the connection, the Windows Update service and the troubleshooter.

  • 0x80073712 (Windows Update)

    Error 0x80073712 means the Windows component store is damaged, so a file Windows Update needs is missing. Repair it with DISM and SFC, then update again.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.