Hello,
Thank you for reaching out on Microsoft Q&A. The error code 0x80070020 translates to ERROR_SHARING_VIOLATION. In simple terms, this means the Windows Update process is trying to access or modify a file that is currently locked or in use by another program on your system.
The most common culprits are:
- Antivirus or Security Software: Real-time scanning can lock files that the update needs to replace.
- Backup Software: A backup process running in the background.
- Other System Utilities: Any application that might monitor system files.
Please try the following solutions in order.
1. Clean Boot
- Press Windows + R, type
msconfig
, and press Enter - Go to the Services tab, check Hide all Microsoft services, and click Disable all
- Go to the Startup tab and click Open Task Manager
- Disable all startup items
- Restart your computer and try updating again
2. Run Windows Update Troubleshooter
- Go to Settings > Update & Security > Troubleshoot
- Select Windows Update and click Run the troubleshooter
3. Reset Windows Update Components
- Open Command Prompt as an administrator
- Stop the BITS, Cryptographic, MSI Installer, and Windows Update Services:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
- Rename the SoftwareDistribution and Catroot2 folders:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
- Restart the services:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
- Restart your computer and try updating again
4. Disable Antivirus Temporarily
Sometimes, antivirus software can interfere with the update process. Temporarily disable your antivirus software and try updating again.
Please let us know if one of these solutions works for you or if you have any further questions. If you find it helpful, please mark the answer accepted.
Best regards,
Brian Huynh