Skip to content
PCFixWorkbench

Windows Update · Windows 11

Fix Windows Update error 0x80070020

Written November 28, 2026

Error 0x80070020 means another program or process is holding a file the update needs, so the update cannot finish writing it. Close the holder first, restart the update services next, and use a clean restart to prove which background program was in the way.

What you need

Read the problem before you touch it

  1. Know what the code is telling you. 0x80070020 is the "file in use" error: a process has a file open that the update also needs to replace. It is a conflict, not corruption — the update files themselves are usually fine, which is why freeing the file works.
  2. Check whether it fails at the same point every time. A failure at the same percentage on every attempt fits one stubborn holder, such as a security scanner watching the update folder. A failure that moves around fits general background load, which a plain restart often clears.
  3. Run the built-in troubleshooter once for its report. Go to Settings > System > Troubleshoot > Other troubleshooters and run the Windows Update one. Microsoft's Windows Update troubleshooter guide covers what it checks and resets; even when it cannot fix this error, it restarts the update services cleanly as part of its pass.

The simple fixes, in order

  1. Restart the PC and retry before opening anything. A restart releases every file lock at once. Sign in, go straight to Settings > Windows Update, and check for updates before launching your usual apps — if it completes now, a background app was the holder.
  2. Pause your third-party antivirus, then retry. If a restart alone was not enough, temporarily pause your third-party security software's real-time protection and run the update again. Remember to turn protection back on the moment the update finishes.
  3. Close sync and backup tools that watch folders. Cloud sync clients and backup programs hold files open as their whole job. Quit them from the system tray, run the update, and reopen them afterward.
  4. Run the Windows Update troubleshooter from Settings. If you skipped it earlier, run it now from Settings > System > Troubleshoot > Other troubleshooters as described in Microsoft's troubleshooter guide, then check for updates again.

The advanced route

  1. Restart the update services by hand. Open Services, restart Windows Update, Background Intelligent Transfer Service, and Cryptographic Services. A service stuck mid-transaction can hold its own files, and a clean restart of all three releases them in the right order.
  2. Do a clean restart to isolate the holder. Open System Configuration with msconfig, hide all Microsoft services on the Services tab, disable the rest, and restart. If the update now installs, a disabled third-party service was the holder — re-enable them in halves to find it, then restore normal startup.
  3. Repair system files if the error survives a clean restart. When no third-party program is running and the file is still locked, the lock may be a damaged system component holding itself. Open Windows Terminal as administrator, run DISM /Online /Cleanup-Image /RestoreHealth, then run sfc /scannow, as Microsoft documents in Using System File Checker in Windows, then retry the update.

End state

When it goes wrong

Related fixes

Sources