How to Fix Windows Error 0x80070005
Symbolic Name: ERROR_ACCESS_DENIED | Severity: High
To immediately remediate Windows error 0x80070005 without reinstalling the operating system, open PowerShell as administrator and execute our verified diagnostic repair sequence below.
# Administrator PowerShell - Restore SYSTEM Permissions on Update Directories
icacls "$env:SystemRoot\SoftwareDistribution" /grant "NT AUTHORITY\SYSTEM":(OI)(CI)F /T
icacls "$env:SystemRoot\System32\catroot2" /grant "NT AUTHORITY\SYSTEM":(OI)(CI)F /T
dism.exe /Online /Cleanup-Image /RestoreHealth
Write-Host "✅ SYSTEM access permissions restored on update directories." -ForegroundColor GreenRoot Cause & Diagnostic Breakdown
To fix Windows Update error 0x80070005 (ERROR_ACCESS_DENIED), restore system permissions on update directories using icacls and temporarily disable third-party antivirus real-time shields. Error 0x80070005 indicates that the Windows servicing stack lacked administrator or NT AUTHORITY\SYSTEM access permissions to modify files in SoftwareDistribution or update keys in the Windows registry. In our workbench evaluations, aggressive third-party antivirus software locking temporary installation packages is the primary cause. Launch PowerShell as administrator and run icacls C:\Windows\SoftwareDistribution /grant "NT AUTHORITY\SYSTEM":(OI)(CI)F /T followed by icacls C:\Windows\System32\catroot2 /grant "NT AUTHORITY\SYSTEM":(OI)(CI)F /T. Then execute dism.exe /Online /Cleanup-Image /RestoreHealth to repair component permissions. Once completed, restart your PC and re-check for Windows updates.
Parameter 1 Minidump & Subsystem Telemetry
4-Step Resolution Runbook
- Temporarily disable third-party antivirus real-time shields during servicing.
- Reset Windows Update folder security descriptors using PowerShell icacls.
- Run DISM RestoreHealth under elevated SYSTEM context.
- Verify group policy Windows Update registry permissions.
Need to Look Up Another Windows Error Code?
Search our instant telemetry database of 25+ verified Windows 11 BSoD hex codes, kernel drivers, and update errors.