Windows Update · Windows 11
Fix Windows Update error 0x80070020
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
- Twenty minutes and one restart you can afford. Several steps end in a restart, and the update itself may need one more.
- Admin access. Restarting services and repairing system files both need an administrator account.
- A note of your security software. Third-party antivirus is the most common file holder behind this error, so know what is installed before you start.
Read the problem before you touch it
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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
- 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.
- 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. - 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 runsfc /scannow, as Microsoft documents in Using System File Checker in Windows, then retry the update.
End state
- Windows Update completes and reports the PC is up to date, with no 0x80070020 on a fresh check.
- Your antivirus and sync tools are running again with protection turned back on.
- Startup is back to normal in System Configuration if you used the clean restart.
When it goes wrong
- The update works in a clean restart but fails in normal use. You have proven a third-party service is the holder. Re-enable services in halves until the error returns; the last group you enabled contains it, and updating or replacing that program is the lasting fix.
- A different error code replaces 0x80070020. The lock is cleared and the new code is a separate problem. Follow the new code's own route rather than repeating these steps.
- The error returns for every monthly update. A security suite that fights every update needs its own update or replacement. Test one update cycle with it fully uninstalled — not just paused — before deciding.
Related fixes
-
Fix Windows Update error 0x800f081f
Error 0x800f081f means Windows Update could not find the source files it needs to finish an update. Repair the component store with DISM first, then run System File Checker, and the same update usually installs cleanly on the next try.
-
Fix Windows Update error 0x80244022
Error 0x80244022 means Windows Update reached the update service but got a server-too-busy answer back — the fault is often temporary or in the path between your PC and Microsoft, not in your files. Wait and retry at a quieter time first, check for a proxy or work network in the way next, and restart the update services only if the error survives a day.
-
Fix Windows Update error 0x80073701
Error 0x80073701 means Windows Update went looking for a component or language pack file that is not there, so the update cannot assemble itself. Run the troubleshooter first, repair the component store with DISM next, and check for a half-removed language pack before trying the update again.
-
Fix Windows Update error 0x8024200d
This error usually means an update downloaded but a file inside it failed to install — often because the download was incomplete or a needed earlier update is missing. Clear the download, restart the update services cleanly, and let Windows fetch a fresh copy before you reach for anything heavier.
Sources
- Microsoft Support, Windows Update troubleshooter — how to run the troubleshooter and what it resets.
- Microsoft Support, Using System File Checker in Windows — running SFC and DISM to repair missing or corrupted system files.