Windows Update Error 0x80070020? Here’s How to Fix It
I’ve seen this Windows Update error 0x80070020 dozens of times, and here’s what most guides won’t tell you upfront: it’s almost always your antivirus getting in the way. Not corrupted files, not a dodgy registry entry. Just your security software doing its job a bit too well and locking files that Windows needs to update. The fix is usually dead simple, though there are a few other culprits if that doesn’t sort it.
✅ 70-80% success rate
📅 Updated February 2026
Key Takeaways
- Windows Update error 0x80070020 occurs when files are locked by antivirus software or background processes
- Temporarily disabling security software resolves the issue in most cases
- Resetting Windows Update components clears corrupted caches that cause persistent file locks
- Clean Boot mode helps identify third-party software conflicts blocking updates
What Causes Windows Update Error 0x80070020?
Error 0x80070020 is technically called ERROR_SHARING_VIOLATION. What that means in plain English is that Windows Update is trying to replace or modify a file, but something else has it open. The operating system can’t just yank the file away from whatever’s using it, so the update fails.
The usual suspects are antivirus programmes like Norton, McAfee, Avast, or even Windows Defender itself. These tools scan files in real-time, which means they’re constantly opening and checking them. When Windows Update tries to replace a system file that your antivirus is actively scanning, you get a file lock. It’s like two people trying to edit the same Word document at once.
Background processes cause this too. Windows services like BITS (Background Intelligent Transfer Service) or WUAUSERV (Windows Update service itself) can sometimes get stuck holding file handles. System optimisation tools, backup software running in the background, or even OneDrive syncing at the wrong moment can trigger the 0x80070020 error.
Less commonly, you’ll see this error from corrupted Windows Update cache files. If a previous update didn’t install cleanly, it can leave the SoftwareDistribution folder in a messy state. Those damaged files stay locked even after a restart, blocking new updates from installing.
Windows Update Error 0x80070020 Quick Fix
Disable Antivirus and Restart Easy
Time: 10-15 minutes | Success Rate: 70-80%
- Run Windows Update Troubleshooter first
Open Settings, go to Update & Security, click Troubleshoot, then Additional troubleshooters. Select Windows Update and click Run the troubleshooter. Let it complete. This catches obvious issues straightaway. - Open your antivirus software
Find the icon in your system tray (bottom-right corner near the clock). Right-click it and look for options like “Pause protection”, “Disable real-time scanning”, or “Turn off temporarily”. Choose 15-30 minutes. For Windows Security, open it from Start menu, go to Virus & threat protection, click Manage settings, then toggle Real-time protection to Off. - Restart your computer immediately
Don’t just click Check for updates yet. A proper restart clears file handles that processes were holding. Use Start > Power > Restart. - Check for updates whilst antivirus is still disabled
Go to Settings > Update & Security > Windows Update. Click Check for updates. The Windows Update error 0x80070020 should be gone now and the update will proceed. - Turn antivirus back on as soon as the update finishes
Don’t leave your system unprotected. Go back to your antivirus and re-enable real-time protection immediately.
More Windows Update Error 0x80070020 Solutions
Reset Windows Update Components Intermediate
Time: 30-45 minutes | Success Rate: 60-70%
This one’s for when the quick fix didn’t work. We’re going to stop all the Windows Update services, rename the cache folders (which forces Windows to rebuild them fresh), then restart everything. It sounds technical but it’s just typing commands.
- Open Command Prompt as Administrator
Right-click the Start button and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”. If you see a User Account Control prompt, click Yes. - Stop the Windows Update services
Type each command and press Enter after each one:net stop wuauservnet stop cryptSvcnet stop bitsnet stop msiserver
You’ll see “The service was stopped successfully” for each one (or “service is not started” if it wasn’t running, which is fine). - Rename the update cache folders
These commands create backups of potentially corrupted folders:ren C:\Windows\SoftwareDistribution SoftwareDistribution.oldren C:\Windows\System32\catroot2 catroot2.old
If you get “Access denied”, make sure you’re in an Administrator Command Prompt. - Restart the Windows Update services
Type these commands to start everything back up:net start wuauservnet start cryptSvcnet start bitsnet start msiserver - Run DISM to repair system image
Type this command and wait (it takes 15-20 minutes):DISM /Online /Cleanup-Image /RestoreHealth
Don’t interrupt it. You’ll see progress percentages. This fixes corrupted Windows components that might be causing the Windows Update error 0x80070020. - Run System File Checker
After DISM finishes, run:sfc /scannow
This takes another 10-15 minutes. It scans and repairs corrupted system files. - Restart and try the update again
Close Command Prompt, restart your computer, then go to Windows Update and check for updates.
Advanced Windows Update Error 0x80070020 Fixes
Clean Boot and Manual Update Installation Advanced
Time: 45-60 minutes | Success Rate: 50-60%
Right, if you’re still getting Windows Update error 0x80070020 after trying the above, we need to eliminate third-party software interference completely. Clean Boot mode starts Windows with only Microsoft services running. It’s a proper diagnostic approach.
- Configure Clean Boot
Press Win+R, typemsconfig, press Enter. Go to the Services tab, tick “Hide all Microsoft services” at the bottom, then click “Disable all”. Now go to the Startup tab and click “Open Task Manager”. In Task Manager, disable every startup item one by one (right-click each, select Disable). Close Task Manager. - Restart in Clean Boot mode
Back in System Configuration, click OK and restart when prompted. Your system will boot with minimal third-party interference. - Try Windows Update in Clean Boot
Go to Settings > Update & Security > Windows Update and check for updates. If it works now, you know some third-party software was causing the 0x80070020 error. - Identify the problematic software (if update succeeded)
Go back tomsconfig, re-enable services and startup items in small groups (maybe 5 at a time), restart, and test the update each time. When the error returns, you’ve found the group containing the culprit. Narrow it down from there. - If update still fails, download it manually
Go to Microsoft Update Catalog, search for the specific KB number from your Windows Update history (like KB5034441), download the .msu file for your system (x64 for 64-bit Windows, x86 for 32-bit), then double-click to install it manually. This bypasses the Windows Update service entirely. - Last resort: In-Place Upgrade repair
Visit Microsoft’s Windows download page (UK version), download the Media Creation Tool, create an ISO, mount it (double-click the ISO file), run setup.exe, and choose “Keep personal files and apps”. This repairs Windows whilst preserving your data. Takes 1-2 hours and requires 10-20GB free space. - Restore normal boot
After everything’s working, go back tomsconfigand re-enable all services and startup items (or leave the problematic one disabled if you identified it).
Still Stuck? Let Us Fix It Remotely
If you’ve tried these fixes and Windows Update error 0x80070020 keeps coming back, there might be a deeper conflict with specific hardware drivers or a corrupted system component that needs proper diagnosis. Sometimes it’s faster to have someone take a look remotely than spend hours troubleshooting blind.
Preventing Windows Update Error 0x80070020
Most important thing: add Windows Update folders to your antivirus exclusion list. Go into your antivirus settings and exclude C:\Windows\SoftwareDistribution and C:\Windows\System32\catroot2. This prevents your security software from scanning these folders whilst updates are installing, which stops the file locking that causes 0x80070020.
Keep at least 15-20GB free on your C: drive. Windows Update needs space to download and extract files before installing them. If you’re running low on space, the update process gets messy and you’ll see various errors including this one.
Close everything before major updates. I mean everything. OneDrive, Dropbox, Steam, Discord, whatever’s running in your system tray. These programmes can lock files unexpectedly. For feature updates (the big twice-yearly ones), it’s worth doing a proper system cleanup first too.
Run maintenance scans monthly. Open Command Prompt as Administrator and run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow once a month. Catches corrupted files before they cause update problems. Takes half an hour but prevents hours of troubleshooting later.
Schedule updates for overnight or weekends when you’re not using the computer. Windows will install updates when the system’s idle, reducing the chance of conflicts with software you’re actively using. Go to Settings > Update & Security > Windows Update > Change active hours to tell Windows when you typically use your PC.
Windows Update Error 0x80070020 Summary
The Windows Update error 0x80070020 is frustrating but usually straightforward to fix. In most cases, your antivirus is locking files that Windows Update needs to replace. Disable it temporarily, restart, and try the update again. That works about 70-80% of the time.
If that doesn’t sort it, reset the Windows Update components by stopping services, renaming cache folders, and running DISM and SFC scans. This clears out corrupted files and gives Windows Update a fresh start. Takes longer but has a good success rate.
For stubborn cases, Clean Boot mode helps identify third-party software conflicts, and you can always download updates manually from Microsoft’s catalog. The In-Place Upgrade repair is the nuclear option but it works when nothing else will.
Prevention is mostly about excluding Windows Update folders from antivirus scans and keeping enough free disk space. Run monthly maintenance scans and close background software before major updates. Do that and you probably won’t see this error again.

