Home › Windows Update › 0x80070005

Windows Update · 0x80070005 · Windows 10 / Windows 11

Windows Update Error 0x80070005: Access Denied in Windows 10/11

Root cause is insufficient permissions for update services or cache corruption; fix involves resetting SoftwareDistribution folder and ensuring proper NTFS permissions.

Error Details

FactValueSourceNote
Exact error string0x80070005 (E_ACCESSDENIED)Windows Update event log-> Event ID 20 or 25
Affected build rangeWindows 10 / Windows 11
Registry key involvedHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUOptionsRegistry Editor-> Value 1
Relevant service/endpoint URL
Log line signatureDownload Failed or Install Failed with error 0x80070005CBS log, SoftwareDistribution log

Log Files to Check

What This Error Actually Means

The error code 0x80070005 (E_ACCESSDENIED) indicates that Windows Update encountered an access denied condition while attempting to download or install updates. This is a generic permission-related error, but in the context of Windows Update, it typically originates from the Windows Update service (wuauserv) or its dependent services (BITS, CryptSvc, or TrustedInstaller). The error occurs when the system cannot access required files, folders, or registry keys due to insufficient permissions or file locks.

Affected Versions and Scope

This issue affects Windows 10 and Windows 11 across all builds. It is not limited to specific tenant configurations but can occur in both on-premises and Azure AD-joined environments. The error is more prevalent in environments with restrictive Group Policy Objects (GPOs) or where third-party security software interferes with update processes.

Where To Look First: Logs and Event IDs

To diagnose this issue, examine the following logs: 1. **Windows Update event log**: - Path: Event Viewer > Applications and Services Logs > Microsoft > Windows > WindowsUpdateClient > Operational - Look for Event ID 20 (Download Failed) or Event ID 25 (Install Failed) with the error code 0x80070005. 2. **SoftwareDistribution log**: - Path: C:\Windows\SoftwareDistribution\ReportingEvents.log - Search for entries containing AccessDenied or 0x80070005. 3. **CBS (Component Based Servicing) log**: - Path: C:\Windows\Logs\CBS\CBS.log - Look for lines with Failed or error 0x80070005.

Root Causes

1. Insufficient Permissions on Windows Update Services

The Windows Update service (wuauserv) or its child services may be running under an account with insufficient permissions. This can happen if the TrustedInstaller service lacks necessary privileges.

2. Corrupted SoftwareDistribution Cache

The C:\Windows\SoftwareDistribution folder, which stores update files, may be corrupted. Windows Update cannot write to this folder if it's in an inconsistent state.

3. Restrictive Group Policy Configuration

A GPO configured via HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate might restrict update installation to administrators, while the current user lacks elevation privileges.

4. Third-Party Software Interference

Antivirus or endpoint protection software may hold exclusive locks on update staging folders, preventing Windows Update from accessing them.

Fix Procedure

  1. Run Windows Update Troubleshooter
  2. - Open Settings > System > Troubleshoot > Other troubleshooters > Windows Update. - Run the troubleshooter and review the generated report for permission-related issues.
  3. Check Service Status
  4. - Open Services (services.msc). - Ensure the following services are Running: - Windows Update (wuauserv) - Background Intelligent Transfer Service (BITS) - Cryptographic Services (CryptSvc) - Windows Installer (msiserver) - If TrustedInstaller is Stopped, start it manually.
  5. Reset SoftwareDistribution Folder
  6. - Open an elevated Command Prompt. - Run:
    net stop wuauserv && net stop cryptsvc && net stop bits && net stop msiserver && ren C:\Windows\SoftwareDistribution SoftwareDistribution.old && ren C:\Windows\System32\catroot2 catroot2.old && net start wuauserv && net start cryptsvc && net start bits && net start msiserver
  7. Check NTFS Permissions
  8. - Use PowerShell to verify permissions: (Get-Acl 'C:\Windows\SoftwareDistribution').Access | Format-Table - Ensure SYSTEM and TrustedInstaller have FullControl.
  9. Review Group Policy Configuration
  10. - Run: gpresult /H gpo_report.html - Open gpo_report.html and navigate to Computer Configuration > Windows Settings > Windows Update. - Check policies like Configure Automatic Updates and Allow non-administrators to receive update notifications.
  11. Adjust Permissions Using icacls
  12. - Grant FullControl to necessary accounts: icacls C:\Windows\SoftwareDistribution /grant SYSTEM:F,TrustedInstaller:F
  13. Configure Intune Policy (Optional)
  14. - Navigate to Intune admin center > Devices > Policies > Create Policy. - Under Windows 10 and later, configure the following settings: - ./Device/Vendor/MSFT/Policy/Config/WindowsUpdate/AUOptions set to allow user-initiated updates.
  15. Disable Conflicting Antivirus Software (Temporary)
  16. - Temporarily disable third-party security products to test if they're causing the issue.

Error Code Variants

Error Code Description Distinguishing Factors
0x80070490 Access denied due to insufficient privileges. Typically occurs during update installation when the user lacks admin rights.
0x8024601C Windows Update failed to download updates due to access issues. Commonly related to network restrictions or proxy configurations.

Verification

After applying fixes, verify success by: - Checking Windows Update history for successful update installation. - Reviewing the WindowsUpdateClient/Operational log for Event ID 19 (Download Completed) or Event ID 24 (Install Completed). - Ensuring all relevant services are Running and set to Automatic.

Prevention

To prevent recurrence: - Set AUOptions registry value (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update) to 3 (Install updates automatically). - Schedule regular maintenance windows to clear the SoftwareDistribution cache. - Use Intune policies to enforce consistent update behavior across devices.
Tip: Regularly review the C:\Windows\SoftwareDistribution\ReportingEvents.log for recurring access issues and address underlying permission or GPO conflicts proactively.

Sources & References

Related Guides

Get new error code fixes by email

Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.