Windows Update & Permissions

How to Fix Windows Error 0x80070005

Symbolic Name: ERROR_ACCESS_DENIED | Severity: High

The 0-Second Fix (Run as Administrator)

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 Green

Root 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

Underlying Trigger:
Windows Update or DISM was denied access to update staging registries or component folders. Typically caused by third-party antivirus file locking, corrupted ACLs on %windir%, or group policy blocks.
Parameter 1 Decoding:
Win32 error code 0x5 (ERROR_ACCESS_DENIED) during file/registry write operations.

4-Step Resolution Runbook

  1. Temporarily disable third-party antivirus real-time shields during servicing.
  2. Reset Windows Update folder security descriptors using PowerShell icacls.
  3. Run DISM RestoreHealth under elevated SYSTEM context.
  4. Verify group policy Windows Update registry permissions.
Interactive Diagnostic Lookup

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.

Complete Forensic Analysis
Read our full workbench diagnostic guide for 0x80070005
Read Full Runbook →