Windows Error 0x80070005 — Access Denied in Updates, Activation, and Apps
About Windows Error 0x80070005
Fix Windows error 0x80070005 (E_ACCESSDENIED) occurring during Windows Update, app installations, activation, and system operations requiring elevated permissions. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.
Here are the key things to understand: 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. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.
The most common reasons this occurs include: 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. Identifying the root cause is the first step toward finding the right solution.
To resolve this, follow these recommended steps: Run the operation as Administrator: right-click the app or Command Prompt > Run as administrator. For Windows Update: run the Windows Update Troubleshooter (Settings > Troubleshoot > Other > Windows Update). Reset Windows Update folders: net stop wuauserv, rename SoftwareDistribution and catroot2, net start wuauserv. Take ownership of affected folder: takeown /f C:\path /r /d y and icacls C:\path /grant administrators:F /t. Check that the SYSTEM and Administrators groups have Full Control on C:\Windows\SoftwareDistribution. Disable third-party antivirus temporarily to test if it is blocking the operation. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.
This article is part of our Windows Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.
Quick Answer
Why does this happen during Windows Update?
The Windows Update service needs write access to SoftwareDistribution and catroot2 folders. Corrupted permissions, security software interference, or stopped services can block access.
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
- 1Run the operation as Administrator: right-click the app or Command Prompt > Run as administrator
- 2For Windows Update: run the Windows Update Troubleshooter (Settings > Troubleshoot > Other > Windows Update)
- 3Reset Windows Update folders: net stop wuauserv, rename SoftwareDistribution and catroot2, net start wuauserv
- 4Take ownership of affected folder: takeown /f C:\path /r /d y and icacls C:\path /grant administrators:F /t
- 5Check that the SYSTEM and Administrators groups have Full Control on C:\Windows\SoftwareDistribution
- 6Disable third-party antivirus temporarily to test if it is blocking the operation