The fastest solution is to restart your computer and immediately run Windows Update before other applications load. This clears file locks that prevent update installation. If the error persists, run the Windows Update Troubleshooter from Settings → System → Troubleshoot → Other troubleshooters.

Fix Windows Update Error 0x80070020 – Windows 10, Windows 11 2026
Windows Update error 0x80070020 indicates file access conflicts during update installation. This comprehensive guide provides proven solutions to resolve the 'file in use' error and restore normal update functionality.
Symptoms
- Windows Update fails with error code 0x80070020
- Update installation stops at various percentages (typically 30-60%)
- System displays 'The process cannot access the file because it is being used by another process'
- Windows Update shows 'Installation failed' status
- Automatic updates fail repeatedly with the same error
- Manual update attempts through Settings fail consistently
Possible Causes
- Active applications or services locking critical system files during update
- Antivirus software interfering with Windows Update processes
- Corrupted Windows Update components or cache files
- Third-party software conflicts with system file access
- Insufficient system permissions for Windows Update service
- Background processes preventing file replacement during updates
1Restart and Run Clean Boot Update
Restart and Run Clean Boot Update
This method eliminates software conflicts by starting Windows with minimal services.
- Press Windows + R, type
msconfig, and press Enter - In System Configuration, click the Services tab
- Check Hide all Microsoft services
- Click Disable all to disable third-party services
- Go to the Startup tab and click Open Task Manager
- In Task Manager, disable all startup programs by right-clicking each and selecting Disable
- Close Task Manager and click OK in System Configuration
- Restart your computer when prompted
- After restart, immediately open Settings → Windows Update
- Click Check for updates and allow the installation to complete
Verification: Run winver from Run dialog to confirm the new build number matches the installed update.
2Reset Windows Update Components
Reset Windows Update Components
This method rebuilds corrupted Windows Update components that may be causing file access issues.
- Press Windows + X and select Windows PowerShell (Admin)
- Stop Windows Update services by running these commands:
Stop-Service -Name wuauserv -Force
Stop-Service -Name cryptSvc -Force
Stop-Service -Name bits -Force
Stop-Service -Name msiserver -Force- Clear the Windows Update cache:
Remove-Item -Path "C:\Windows\SoftwareDistribution\*" -Recurse -Force
Remove-Item -Path "C:\Windows\System32\catroot2\*" -Recurse -Force- Re-register Windows Update DLLs:
regsvr32 /s atl.dll
regsvr32 /s urlmon.dll
regsvr32 /s mshtml.dll
regsvr32 /s shdocvw.dll
regsvr32 /s browseui.dll
regsvr32 /s jscript.dll
regsvr32 /s vbscript.dll
regsvr32 /s scrrun.dll
regsvr32 /s msxml.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml6.dll
regsvr32 /s actxprxy.dll
regsvr32 /s softpub.dll
regsvr32 /s wintrust.dll
regsvr32 /s dssenh.dll
regsvr32 /s rsaenh.dll
regsvr32 /s gpkcsp.dll
regsvr32 /s sccbase.dll
regsvr32 /s slbcsp.dll
regsvr32 /s cryptdlg.dll- Restart the Windows Update services:
Start-Service -Name wuauserv
Start-Service -Name cryptSvc
Start-Service -Name bits
Start-Service -Name msiserver- Restart your computer and attempt the update again
Verification: Check Windows Update service status with Get-Service wuauserv - it should show "Running".
3Run System File Checker and DISM
Run System File Checker and DISM
Corrupted system files can cause access conflicts during updates. This method repairs the Windows image and system files.
- Open Command Prompt as Administrator
- Run DISM to repair the Windows image:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth- After DISM completes, run System File Checker:
sfc /scannow- Wait for both scans to complete (this may take 30-60 minutes)
- Restart your computer
- Attempt the Windows Update installation again
Verification: Check the CBS.log file at C:\Windows\Logs\CBS\CBS.log for "Windows Resource Protection found corrupt files and successfully repaired them" message.
4Disable Antivirus and Third-Party Security Software
Disable Antivirus and Third-Party Security Software
Security software often locks system files during real-time scanning, causing update conflicts.
- Temporarily disable Windows Defender Real-time Protection:
- Open Settings → Privacy & Security → Windows Security
- Click Virus & threat protection
- Under Virus & threat protection settings, click Manage settings
- Turn off Real-time protection temporarily
- If using third-party antivirus, disable it through its system tray icon or settings
- Disable Windows Defender through Group Policy (for advanced users):
gpedit.msc- Navigate to Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus
- Double-click Turn off Microsoft Defender Antivirus
- Select Enabled and click OK
- Run
gpupdate /forceto apply the policy - Restart your computer and attempt the update
- After successful update, re-enable all security software
Verification: Check Windows Security status in Settings to confirm protection is disabled, then verify update installation succeeds.
5Manual Update Installation via Windows Update Catalog
Manual Update Installation via Windows Update Catalog
When automatic updates fail, manually downloading and installing updates bypasses many file access issues.
- Identify the specific update causing the error:
- Open Settings → Windows Update → Update history
- Note the KB number of the failed update
- Visit the Microsoft Update Catalog website
- Search for the KB number (e.g., KB5035857)
- Download the appropriate update for your system architecture (x64 for 64-bit systems)
- Before installation, stop Windows Update service:
Stop-Service -Name wuauserv -Force- Navigate to the downloaded .msu file location
- Right-click the file and select Run as administrator
- Follow the installation wizard prompts
- If installation fails, extract and install manually:
expand -F:* "C:\path\to\update.msu" "C:\temp\update"
DISM /Online /Add-Package /PackagePath:"C:\temp\update\update.cab"- Restart your computer after installation
- Restart Windows Update service:
Start-Service -Name wuauservVerification: Check Settings → Windows Update → Update history to confirm the update appears as "Successfully installed".
Verification
After applying any of the above methods, verify the fix by following these steps:
- Open Settings → Windows Update
- Click Check for updates
- Confirm updates download and install without error 0x80070020
- Run the following PowerShell command to check Windows Update service status:
Get-Service wuauserv | Select-Object Name, Status, StartType- Verify the service shows "Running" status
- Check Windows Update history for successful installations
- Run
winverto confirm your system shows the latest build number
Still Having Issues?
If the above methods didn't resolve error 0x80070020, try these advanced solutions:
Advanced Registry Fix
Modify registry permissions for Windows Update components:
- Press Windows + R, type
regedit, and press Enter - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate - Right-click the WindowsUpdate key and select Permissions
- Click Advanced → Change Owner
- Set owner to Administrators and check Replace owner on subcontainers and objects
- Grant Full Control to SYSTEM and Administrators
Windows Update Medic Service Reset
sc config WaaSMedicSvc start= disabled
sc stop WaaSMedicSvc
sc config WaaSMedicSvc start= demand
sc start WaaSMedicSvcIn-Place Upgrade
If all methods fail, perform an in-place Windows upgrade using the Media Creation Tool to repair system components while preserving data and applications.
Frequently Asked Questions
What does Windows Update error 0x80070020 mean exactly?
Why does error 0x80070020 happen more frequently on Windows 11?
Can I prevent error 0x80070020 from happening again?
Is it safe to disable antivirus software to fix this error?
What should I do if none of the methods work?
Which method worked?
Vote to help others
Official Resources
Discussion
Share your thoughts and insights
You must be logged in to comment.
Related Fix Guides

Fix Windows Error 0x8024402c – Windows 10/11 2026
Windows Update error 0x8024402c occurs when the update service cannot connect to Microsoft servers due to network issues, proxy settings, or corrupted update components.

Fix Windows KB5004945 Update Error – Windows 10, Windows 11 2026
KB5004945 update installation fails due to corrupted system files, insufficient disk space, or Windows Update service conflicts. Primary fix involves running SFC scan and resetting Windows Update components.

Fix Windows Error 0x8024000C – Windows 10, Windows 11 2026
Windows error 0x8024000C indicates a Windows Update service communication failure. This comprehensive guide provides step-by-step solutions to resolve update download and installation issues on Windows 10 and Windows 11 systems.

Fix Windows Update Error 0x80070005 – Access Denied 2026
Windows Update error 0x80070005 occurs when the system lacks proper permissions to access update files or registry keys. This comprehensive guide provides five proven methods to resolve access denied errors during Windows updates.