How to Fix Windows Update Error 0x80070002 on Windows 11

Quick answer: Error 0x80070002 means Windows Update couldn’t find a file it needed, usually because update files are missing or damaged. To fix it, check the date and time, run the Windows Update troubleshooter, and reset the update cache by renaming the SoftwareDistribution folder, then check for updates again.

Windows Update tries to install an update, but it fails with error 0x80070002. You may see a message like "There were some problems installing updates" with this code next to the update name. The update keeps failing every time you try again.

Error 0x80070002 means "the system cannot find the file specified." In Windows Update, it usually happens when some downloaded update files are missing, incomplete, or damaged, so Windows can’t finish the installation. This guide shows you how to fix it step by step, from the quickest fixes to repairing Windows Update components.

Why Does Error 0x80070002 Happen?

The most common causes are:

  • An interrupted download: The connection dropped, the PC restarted, or the drive ran out of space while the update was downloading, leaving some files missing.
  • A damaged update cache: Files in the folder where Windows keeps downloaded updates are incomplete or corrupted.
  • Wrong date or time: Windows can’t verify the update files correctly.
  • Damaged system files: Windows itself is missing files that the update needs.
  • Security software: A third-party antivirus removed or blocked part of the update.

The steps below address each of these causes, starting with the quickest ones.

Where You’ll See This Error

  • In Settings > Windows Update, next to a failed update.
  • In Settings > Windows Update > Update history, where failed updates are listed with the error code.
Windows Update Update history page

Checking Update history helps you see which update (its KB number) keeps failing.

Step 1: Restart and Try Again

Before trying anything else, restart your PC (Start > Power > Restart) and select Check for updates again. Sometimes the error is caused by a temporary problem that a restart fixes.

Step 2: Check the Date, Time, and Time Zone

Wrong date or time settings can cause update downloads to fail verification.

  1. Go to Settings > Time & language > Date & time.
  2. Turn on Set time automatically and Set time zone automatically (if available).
  3. Select Sync now.

If Set time zone automatically is grayed out, Windows may need location permission to detect your time zone. In that case, simply choose the correct zone from the Time zone list.

Settings > Time & language > Date & time page

Step 3: Run the Windows Update Troubleshooter

  1. Go to Settings > System > Troubleshoot > Other troubleshooters.
  2. Next to Windows Update, select Run.
  3. Follow the instructions in the Get Help app.

Step 4: Make Sure There’s Enough Free Space

If the drive runs out of space during the download, some files may be missing afterward, which can trigger this error. Go to Settings > System > Storage and make sure your Windows drive (C:) has at least 10–20 GB free. Removing Temporary files in that page is a quick way to free up space.

Step 5: Reset the Windows Update Cache

This is the fix that solves error 0x80070002 most often, because it removes the damaged or incomplete update files and makes Windows download them again.

  1. Select Start, type PowerShell, and under Windows PowerShell, select Run as Administrator.
  2. Run these commands one at a time:
net stop wuauserv
net stop bits
Rename-Item C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits
Administrator PowerShell window with the Windows Update reset commands
  1. Restart your PC.
  2. Go to Settings > Windows Update and select Check for updates.

Windows will download the updates again from scratch, which may take a little longer than usual. Your installed updates and personal files aren’t affected, but the Update history list in Settings will be shorter. Once updates install successfully, you can delete the SoftwareDistribution.old folder.

If the rename command says the folder is in use, make sure both services stopped (the commands should say "stopped successfully"), or restart your PC and run the commands again.

Step 6: Repair System Files With DISM and SFC

If Windows system files are damaged, updates can fail even with a clean update cache.

  1. Open Windows PowerShell as administrator (see Step 5).
  2. Run:
DISM /Online /Cleanup-Image /RestoreHealth
  1. When it finishes, run:
sfc /scannow
Administrator PowerShell window running sfc /scannow
  1. Restart your PC and try Windows Update again.

Each command can take several minutes, and the progress may pause at certain percentages. Let it finish.

Step 7: Check the Windows Update Services

  1. Select Start, type services, and open Services.
  2. Double-click Windows Update and make sure Startup type is not set to Disabled. Set it to Manual if it’s disabled, then select Start.
  3. Check Background Intelligent Transfer Service the same way.
Windows Update service Properties window with Startup type

Step 8: Install the Update Manually

If one update keeps failing with this error:

  1. Find the update’s KB number in Update history.
  2. Search for it on the Microsoft Update Catalog (catalog.update.microsoft.com).
  3. Download the correct version (usually x64 for Windows 11 PCs) and run the installer.

Step 9: Temporarily Disable Third-Party Antivirus

Some third-party antivirus programs can block or remove update files. Temporarily disable it from its own settings, try the update again, and turn it back on afterward. Microsoft Defender doesn’t need to be turned off.

Step 10: Repair Windows Using Windows Update (Last Resort)

Recent versions of Windows 11 can reinstall the current version of Windows from Windows Update while keeping your files, apps, and settings. This repairs many problems that stop updates from installing.

  1. Go to Settings > System > Recovery.
  2. Next to Fix problems using Windows Update, select Reinstall now.
  3. Follow the instructions. The process downloads Windows and can take an hour or more, with a few restarts.
Settings > System > Recovery page with Fix problems using Windows Update

Back up your important files before you start, just in case. If you don’t see this option, your version of Windows 11 may not include it yet.

How to Check That the Fix Worked

After trying a fix, go to Settings > Windows Update and select Check for updates. Let the update download and install, and restart if asked. Then open Update history: the update that failed before should now be listed as Successfully installed.

If the same update fails again with the same code, move on to the next step in this guide.

How to Avoid This Error in the Future

  • Keep at least 10–20 GB of free space on your Windows drive.
  • Avoid shutting down your PC while updates are downloading or installing. Use Restart when Windows asks for it.
  • Keep the date and time set automatically.
  • If you use a third-party antivirus, keep it up to date, because outdated versions are more likely to conflict with Windows updates.

Frequently Asked Questions

What does error 0x80070002 mean?

It means Windows couldn’t find a file it needed. In Windows Update, this usually points to missing or incomplete update files, which is why resetting the update cache (Step 5) often fixes it.

Is error 0x80070002 dangerous?

No. Your PC and files aren’t at risk. The update simply didn’t install. It’s still a good idea to fix it so you receive security updates.

Can I see this error outside Windows Update?

Yes. The same code can appear in other situations where Windows can’t find a file, such as some app installations. The steps in this guide focus on Windows Update.

Related Guides


About FixItStep

This guide was written by the FixItStep Team, a small group of tech enthusiasts who create clear, step-by-step tutorials for Windows 11 and everyday software. The screenshots in our guides are taken on a real Windows 11 PC, and we review our articles as Windows changes. Found a step that looks different on your PC? Let us know, or learn more about us.