Error Codes Wiki

Windows Error 0x80070005 — Access Denied in Updates, Activation, and Apps

Errorsystem

Overview

Fix Windows error 0x80070005 (E_ACCESSDENIED) occurring during Windows Update, app installations, activation, and system operations requiring elevated permissions.

Key Details

  • Error 0x80070005 translates to E_ACCESSDENIED — the operation was denied due to insufficient permissions
  • This error appears in many contexts: Windows Update, Microsoft Store, activation, file operations
  • The affected component determines the fix — update permissions differ from file permissions
  • UAC (User Account Control) elevation may be required for the failing operation
  • In corporate environments, Group Policy or NTFS permissions may restrict the operation

Common Causes

  • Windows Update service running without proper permissions on update folders
  • User account lacking administrator privileges for the operation
  • Third-party security software restricting system file modifications
  • NTFS permissions on the Windows\SoftwareDistribution folder corrupted
  • Group Policy restricting the specific operation in corporate environments

Steps

  1. 1Run the operation as Administrator: right-click the app or Command Prompt > Run as administrator
  2. 2For Windows Update: run the Windows Update Troubleshooter (Settings > Troubleshoot > Other > Windows Update)
  3. 3Reset Windows Update folders: net stop wuauserv, rename SoftwareDistribution and catroot2, net start wuauserv
  4. 4Take ownership of affected folder: takeown /f C:\path /r /d y and icacls C:\path /grant administrators:F /t
  5. 5Check that the SYSTEM and Administrators groups have Full Control on C:\Windows\SoftwareDistribution
  6. 6Disable third-party antivirus temporarily to test if it is blocking the operation

Tags

0x80070005access-deniedpermissionswindows-updateelevation

Related Items

More in System

Frequently Asked Questions

The Windows Update service needs write access to SoftwareDistribution and catroot2 folders. Corrupted permissions, security software interference, or stopped services can block access.