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
| Item | What Microsoft says |
|---|---|
| Meaning | ERROR_FILE_NOT_FOUND: the system cannot find the file specified |
| First fixes | Restart the PC, run the Windows Update troubleshooter, check free disk space |
| Next fixes | Clear the update cache, then run DISM and SFC |
| Where to look | C:\Windows\Logs\CBS\CBS.log |
| Last resort | Clean 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
| Cause | What it means |
|---|---|
| Incomplete previous updates | The system is left in an inconsistent state |
| Missing DLLs or system files | A file is gone from a critical directory |
| Registry entries | They 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.
- Open Settings and go to System.
- Select Troubleshoot, then Other troubleshooters.
- 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 version | Free space Microsoft says you need |
|---|---|
| 32-bit | At least 16 GB |
| 64-bit | At 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.
- Press Win + R, type
services.msc, and press Enter. - Right-click Windows Update and select Stop.
- Open
C:\Windows\SoftwareDistributionand delete everything inside the folder. - 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 bitsnet stop wuauservren %systemroot%\softwaredistribution softwaredistribution.bakren %systemroot%\system32\catroot2 catroot2.baknet start bitsnet 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.
- In an administrator Command Prompt, run
DISM.exe /Online /Cleanup-image /Restorehealth. - Wait for the success message, and retype the command if you do not see one.
- Run
sfc /scannowand wait for it to reach 100%. - 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
| Step | How Microsoft describes it |
|---|---|
| Repair drive errors | Run chkdsk /f C: in an administrator Command Prompt and restart when asked |
| Clean boot | Start Windows with minimal drivers and startup programs to find software conflicts |
| Third-party security software | Uninstall it, update Windows, then reinstall it, with your product keys ready |
| Third-party drivers | Install 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.
Similar Windows Update codes
| Code | Microsoft guidance |
|---|---|
| 0x80070002 | Restart, run the troubleshooter, check free disk space |
| 0x8007000D | Corrupted update files or cache: run the troubleshooter and clear the cache |
| 0x80070057 or 0x80080005 | Run sfc /scannow as administrator and run the troubleshooter |
| 0x800705B4 | Check 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.