Error 0x80070020 appears when trying to update Windows or install an application. It indicates that a file required for the operation is being used by another process.
Below are quick ways to resolve it.
Method 1: Restart the Computer
Often, the process blocking the file has already finished after a reboot.
- Save all data
- Restart the computer
- Repeat the update or installation operation
Method 2: Disable Antivirus and Third-Party Software
Antivirus may block updates.
- Temporarily disable antivirus and firewall
- Try to update Windows
- Once done, turn the protection back on
Method 3: Clear Windows Update Cache
- Open Command Prompt as an administrator
- Execute:
net stop wuauserv
net stop bits
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits
- Restart the PC and repeat the update
Method 4: Check System Files
- Open Command Prompt as an administrator
- Execute:
sfc /scannow
- If errors are not fixed, use:
DISM /Online /Cleanup-Image /RestoreHealth
Additional Causes
- Background programs are running, blocking files
- Windows Installer process is stuck
- Third-party system optimizers are being used
Conclusion
Error 0x80070020 is most often caused by a file being locked by another process. Restarting, temporarily disabling antivirus, or clearing the update cache resolves the issue in most cases.