How to Fix Windows Update Error 0x80070020 on Windows 11

Quick answer: Error 0x80070020 means another program was using a file Windows Update needed, so the update couldn’t replace it. Restart your PC, temporarily disable third-party antivirus or backup software, try the update again, and if it still fails, perform a clean boot with System Configuration (msconfig) and reset Windows Update components.

Windows Update starts installing an update and then stops with error 0x80070020. You might see it in Settings > Windows Update or in Update history next to the failed update.

Error 0x80070020 means "the process cannot access the file because it is being used by another process." In other words, Windows Update needed to replace or read a file, but another program had it open at that moment. The usual suspects are antivirus programs, backup or sync tools, and other software that runs in the background. This guide shows you how to find and stop the conflict.

What Usually Causes Error 0x80070020?

  • Third-party antivirus or security software scanning files while Windows Update works with them.
  • Backup and cloud sync tools that lock files while copying them.
  • Disk utilities, optimizers, or system tweakers running in the background.
  • A previous update that’s still waiting for a restart.

Step 1: Check Which Update Failed

  1. Press Windows + I to open Settings.
  2. Go to Windows Update > Update history and note the update that failed with 0x80070020.
Windows Update Update history page

Step 2: Restart Your PC

A restart closes the programs that had the file open and completes any pending installation. Use Start > Power > Restart (not Shut down), then select Check for updates again. This fixes the error surprisingly often.

Check for a pending restart: Go to Settings > Windows Update. If you see Restart now, a previous update is waiting to finish. Restart first, then check for updates again. Until that restart happens, some system files stay locked, and new updates can fail with this error.

Step 3: Temporarily Disable Third-Party Antivirus

If you use antivirus software other than Microsoft Defender, it may be locking files.

  1. Open your antivirus program and turn off real-time protection temporarily (the option is usually called "Real-time protection," "Shields," or "Auto-protect").
  2. Try installing the update again.
  3. Turn your antivirus back on right after.

If you only use Microsoft Defender, you don’t need to turn it off. Defender is designed to work with Windows Update. You can confirm which antivirus is active in Windows Security > Virus & threat protection.

Windows Security Virus & threat protection page

Step 4: Pause Backup and Sync Apps

Cloud sync and backup apps (such as OneDrive, Google Drive, Dropbox, or third-party backup software) can lock files while they work. Pause syncing or close these apps from the system tray, then try the update again.

Step 5: Perform a Clean Boot

A clean boot starts Windows with only Microsoft services and no third-party startup programs. If the update installs in a clean boot, you know a third-party program was causing the conflict.

  1. Press Windows + R, type msconfig, and press Enter. The System Configuration window opens.
  2. Open the Services tab.
  3. Check Hide all Microsoft services. (This is important, because it keeps the services Windows needs running.)
  4. Select Disable all, then select Apply.
System Configuration Services tab with Hide all Microsoft services checked
  1. Open the Startup tab and select Open Task Manager. Disable each startup app listed, then close Task Manager.
  2. Select OK in System Configuration and restart your PC.
  3. Try installing the update.

Important: Undo the clean boot afterward. Open msconfig again, go to Services, check Hide all Microsoft services, select Enable all, and select OK. Re-enable the startup apps you want in Task Manager > Startup apps, then restart. Our guide on how to stop programs from starting at startup on Windows 11 explains how to choose which ones to keep.

Step 6: Reset Windows Update Components

If the update still fails, clear the update cache so Windows downloads fresh files.

  1. Select Start, type PowerShell, and under Windows PowerShell, select Run as Administrator.
  2. Stop the update services:
net stop wuauserv
net stop bits
Administrator PowerShell window showing the Windows Update service stopped
  1. Rename the update cache and start the services again:
Rename-Item C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits
  1. Restart your PC and check for updates.

Step 7: Repair System Files

In an administrator PowerShell window, run these commands one at a time, then restart:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Step 8: Scan Your Drive for File System Errors

File system errors can make Windows think a file is in use or locked. You can scan your drive without restarting:

  1. In an administrator PowerShell window, run:
chkdsk C: /scan
  1. Read the result. If it says Windows has scanned the file system and found no problems, your drive is fine.
  2. If it reports problems, it may suggest running a repair. The repair can require a restart, so save your work first.

The scan is safe and doesn’t change anything on its own.

Step 9: Install the Update Manually

If one specific update keeps failing, download it directly from the Microsoft Update Catalog (catalog.update.microsoft.com) using its KB number, and run the installer. Doing this right after a clean boot gives it the best chance to succeed.

Programs That Commonly Cause File Conflicts

These types of programs are the most common sources of error 0x80070020:

  • Third-party antivirus and internet security suites, which scan files as they change.
  • Backup software that runs on a schedule and locks files while copying them.
  • Cloud sync apps syncing large folders.
  • Disk cleaners, defragmenters, and optimizers that run in the background.
  • System monitoring and RGB control utilities that install their own services.

You don’t need to remove these programs permanently. In most cases, pausing or closing them while Windows installs updates is enough.

What If the Same Update Keeps Failing?

If one particular update fails with 0x80070020 every time, even after a clean boot and a reset of Windows Update, check whether Microsoft has listed it as a known issue on its Windows release health page. Sometimes a newer update replaces the failed one and installs without problems, so check for updates again after a few days.

How to Find the Program Causing the Conflict

If the update installed during a clean boot, re-enable your services and startup apps a few at a time, restarting after each group. When the error comes back on a future update, the last group you turned on contains the program causing it. You can then check that program for an update, change its settings, or uninstall it.

Frequently Asked Questions

Is error 0x80070020 dangerous?

No. It only means the update couldn’t be installed because of a file conflict. Your files and PC are not affected.

Is a clean boot safe?

Yes. It only disables third-party services and startup apps temporarily. Just remember to undo it afterward (Step 5), or some programs won’t start automatically.

Do I need to uninstall my antivirus?

Usually not. Temporarily turning off real-time protection is enough in most cases. If the problem keeps coming back with every update, contact the antivirus vendor or consider using Microsoft Defender.

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.