|

How To Fix Windows Update Error 0x80070002 In Windows 11 (2026)

Windows Update error 0x80070002 means an update could not install because Windows could not find a file it needed.

Microsoft’s support page lists it as an update that failed to install, and a Microsoft Learn article explains what the code means.

This guide follows Microsoft’s order, starting with a restart and the troubleshooter, then moving to the cache reset and system file repair.

Quick answer for error 0x80070002

ItemWhat Microsoft says
MeaningERROR_FILE_NOT_FOUND: the system cannot find the file specified
First fixesRestart the PC, run the Windows Update troubleshooter, check free disk space
Next fixesClear the update cache, then run DISM and SFC
Where to lookC:\Windows\Logs\CBS\CBS.log
Last resortClean installation of Windows 11

What error 0x80070002 means

Microsoft Learn names the code ERROR_FILE_NOT_FOUND.

It says the error typically appears because files needed for the update are missing or corrupt, or because a previous update was incomplete.

That is why the fixes below either repair system files or clear out the leftovers of a failed update.

Causes Microsoft lists

CauseWhat it means
Incomplete previous updatesThe system is left in an inconsistent state
Missing DLLs or system filesA file is gone from a critical directory
Registry entriesThey point to services or files that no longer exist

The Learn article is written for supported versions of Windows Server, so the registry and WinSxS fixes in it are not home steps.

Step 1: restart the PC

Microsoft’s first suggestion for 0x80070002 is to restart the PC.

Save your work, close your apps, and restart from Start > Power > Restart.

Then go to Start > Settings > Windows Update, select Check for updates, and try again.

Step 2: run the Windows Update troubleshooter

Microsoft lists the troubleshooter second for this error.

  1. Open Settings and go to System.
  2. Select Troubleshoot, then Other troubleshooters.
  3. Next to Windows Update, select Run and follow the prompts.

Our guide to running a Windows troubleshooter shows the same menu.

Step 3: check free disk space

Microsoft says a failed install should also prompt a check of your free space.

It states that you need at least 16 GB free for a 32-bit OS or 20 GB for a 64-bit OS.

See what to do when Windows Update says there is not enough space.

Windows versionFree space Microsoft says you need
32-bitAt least 16 GB
64-bitAt least 20 GB

Step 4: check power, internet, date and hardware

Microsoft’s general steps add four quick checks that can stop an update from finishing.

  • Plug the device in and confirm it is connected to Wi-Fi or Ethernet.
  • Unplug external storage, docks and other devices you do not need.
  • Use an administrator account, because some updates require one.
  • Turn on Set time automatically and Set time zone automatically under Settings > Time & language > Date & time.

If needed, select Sync now under Additional settings.

Step 5: clear the Windows Update cache

Microsoft’s cache steps remove downloaded update files that may be incomplete.

  1. Press Win + R, type services.msc, and press Enter.
  2. Right-click Windows Update and select Stop.
  3. Open C:\Windows\SoftwareDistribution and delete everything inside the folder.
  4. Return to Services, right-click Windows Update, and select Start.

Check for updates again once the service is running.

Step 6: reset the update folders from Command Prompt

Microsoft’s advanced section needs administrator rights, so search for Command Prompt and choose Run as administrator.

Run these commands one at a time and let each finish before the next.

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

Close the window, restart the PC, and try Windows Update again.

Step 7: repair system files with DISM and SFC

Because the code means a file is missing, repairing the component store fits the cause.

  1. In an administrator Command Prompt, run DISM.exe /Online /Cleanup-image /Restorehealth.
  2. Wait for the success message, and retype the command if you do not see one.
  3. Run sfc /scannow and wait for it to reach 100%.
  4. Close Command Prompt and retry Windows Update.

Microsoft Learn says DISM checks the files in the Servicing\Packages and WinSxS\Manifests folders and may replace incorrect ones.

Our guide to running SFC and DISM covers both commands in more detail.

More Microsoft repair steps

StepHow Microsoft describes it
Repair drive errorsRun chkdsk /f C: in an administrator Command Prompt and restart when asked
Clean bootStart Windows with minimal drivers and startup programs to find software conflicts
Third-party security softwareUninstall it, update Windows, then reinstall it, with your product keys ready
Third-party driversInstall newer drivers from the hardware maker, then retry

Confirm the code in the CBS log

Microsoft Learn says the CBS log is at C:\Windows\Logs\CBS\CBS.log.

It can roll over into a CBSpersist log or cab file in the same folder.

Entries show the code as HRESULT = 0x80070002 with ERROR_FILE_NOT_FOUND, often naming the file Windows could not find.

CodeMicrosoft guidance
0x80070002Restart, run the troubleshooter, check free disk space
0x8007000DCorrupted update files or cache: run the troubleshooter and clear the cache
0x80070057 or 0x80080005Run sfc /scannow as administrator and run the troubleshooter
0x800705B4Check the network, pause antivirus briefly, restart

Microsoft Learn lists 0x8007000D as ERROR_INVALID_DATA and 0x800F081F as CBS_E_SOURCE_MISSING.

For that second code, see our guide to Windows Update error 0x800f081f.

If nothing works

You can uninstall a recent Windows update if the problem began after one.

For a stuck download, read our guide to a Windows 11 update that is stuck or failing.

Microsoft’s last option is a clean installation of Windows 11, using the tool on its software download page, so back up your files first.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *