Error AtlasError Documentation and Resolution

Windows Update or activation failed with error 0x80070005 Access Denied

Access Denied. (0x80070005)

A Windows operation — most commonly Windows Update, application activation, or a component installation — was blocked with error 0x80070005 (ERROR_ACCESS_DENIED) because the process attempting the operation did not have sufficient permissions to access a required file, registry key, or system resource.

0x80070005installation
Access Denied. (0x80070005)
  • The Windows Update service or a related component lacks the necessary file system or registry permissions to write update files.
  • A third-party security product or Group Policy has restricted access to Windows Update directories or registry keys.
  • The Windows component store (WinSxS) or TrustedInstaller service permissions have been modified or corrupted.
  • User Account Control (UAC) is preventing an operation that requires elevation from completing successfully.
  • A previous failed update or installation left the Windows Update service in a broken state with incorrect permissions on temporary files.
  1. Run the Windows Update troubleshooter: Settings > Update & Security > Troubleshoot > Windows Update. This automatically detects and repairs common permission and service issues.
  2. Reset Windows Update components by stopping the BITS, wuauserv, appidsvc, and cryptsvc services, renaming the SoftwareDistribution and catroot2 folders, and restarting the services. Run these in an elevated Command Prompt: `net stop bits`, `net stop wuauserv`, `ren C:\Windows\SoftwareDistribution SoftwareDistribution.old`, `ren C:\Windows\System32\catroot2 catroot2.old`, `net start bits`, `net start wuauserv`.
  3. Run `sfc /scannow` and then `DISM /Online /Cleanup-Image /RestoreHealth` in an elevated Command Prompt to repair the component store.
  4. Ensure Windows Update services are running: open services.msc and confirm that Windows Update (wuauserv), Background Intelligent Transfer Service (BITS), and Windows Installer (msiserver) are set to Manual or Automatic and are started.
  5. Temporarily disable third-party antivirus software and retry the update or installation.
  6. Check Group Policy (gpedit.msc) under Computer Configuration > Administrative Templates > Windows Components > Windows Update to confirm no policies are blocking updates.
Windows Update error code list
Windows error 0x80070005 Access Denied: causes and fixes | Error Atlas