FaultCodes.org
0x80070005WindowsWindows Update & PermissionsVerified Guide· Updated: Nov 22, 2026

Windows Error Code 0x80070005 (E_ACCESSDENIED)

Windows Update, Microsoft Store, OneDrive folder backup, activation, or an installer hit E_ACCESSDENIED—blocking access to required system files, registry hives, or DCOM permissions (SELF).

Quick AnswerModerate — Plan Repair

Windows error 0x80070005 directly translates to `E_ACCESSDENIED` ('Access is denied'): Windows lacks necessary permissions to modify required files, registry keys, OneDrive folders, or COM/DCOM activation objects. Start by running as Administrator under an Administrator Windows profile, verifying Properties -> Security Read/Write/Full Control rights on locked folders, temporarily disabling strict third-party antivirus/ransomware folder shields, and running DISM /Online /Cleanup-Image /RestoreHealth + sfc /scannow in an elevated Terminal. If triggered during Windows Activation, check Component Services (dcomcnfg) for missing SELF DCOM permissions ($0 DIY fix).

Safe to Operate?
Yes (Short Term)
DIY Difficulty
Easy (Basic Tools)
System
Windows Update & Permissions
Professional Repair
$55 – $130

What This Fault Code Means

In Microsoft COM/Win32 HRESULT codes, 0x80070005 combines facility 7 (Win32) with code 5 (ERROR_ACCESS_DENIED / E_ACCESSDENIED). Official Microsoft documentation traces it across four common contexts: Windows Update agents blocked from system/registry paths, application installers lacking admin privileges, OneDrive backup blocked by locked user directories, and Windows Activation failing when the SELF principal loses DCOM launch/access rights.

Common Symptoms

  • Windows Update or Microsoft Store fails to install patches/apps with popup 0x80070005
  • OneDrive backup refuses to sync Documents/Desktop folders or software installers fail to extract
  • Windows Activation or Network Access Protection errors citing missing permissions

Most Likely Root Causes

  • Standard non-administrator user account or installer launched without Run as administrator elevation
  • Corrupted NTFS folder ACLs / missing SYSTEM or Administrators Full Control permissions on update, OneDrive, or registry keys
  • Missing `SELF` permissions inside Component Services -> DCOM Config (documented Microsoft cause for Windows Activation 0x80070005)
  • Third-party antivirus / Controlled Folder Access blocking write operations or damaged Windows system files (sfc /scannow)

Technical Thresholds & Specifications

Parameter / ConditionFactory Spec / Threshold
HRESULT / Win32 Mapping

Process lacks NTFS file, registry key, or COM security rights

0x80070005 = E_ACCESSDENIED (Win32 Error 5)
Official Activation DCOM Cause

Check My Computer -> Properties -> COM Security if activation fails

Missing `SELF` rights in Component Services (`dcomcnfg`)
Built-In File Repair CLI

Repairs corrupted system binaries & update servicing store

DISM ... /RestoreHealth followed by `sfc /scannow`
Common Trigger Contexts

Often blocked by Controlled Folder Access or third-party AV

Windows Update, OneDrive Backup, Store, Installers

Commonly Affected Models & Service Bulletins

  • Windows 10 & Windows 11 Windows Update / Cumulative Patch installations
  • OneDrive Known Folder Move (Documents / Desktop / Pictures backup locks)
  • Windows Activation & Component Services (`dcomcnfg`) permission misconfigurations

Diagnostic Checks Before Replacing Parts

Verify the exact faulty component before ordering replacements.

  1. 1Note WHERE 0x80070005 triggers (Windows Update vs. Microsoft Store/App Installer vs. OneDrive Sync vs. Windows Activation).
  2. 2Confirm you are signed into an Administrator Windows account and test launching the failing setup via right-click -> Run as administrator.
  3. 3Open Properties -> Security tab on the target folder (or Windows Event Viewer -> System/Application log) to verify SYSTEM and Administrators hold Full Control and check whether Controlled Folder Access / third-party AV blocked writes.

Interactive Symptom Triage

Answer 3 quick checks to narrow down the faulty component before spending money on parts.

Check 1 of 3

Does 0x80070005 happen when running a software installer, Microsoft Store app, or OneDrive folder backup?

Step-by-Step Troubleshooting & Fix

Tools & Parts Reference

Windows Administrator user profile / elevated TerminalSystem File Checker & DISM (sfc /scannow, DISM /RestoreHealth)Component Services console (dcomcnfg) for DCOM activation faults
  1. 1Right-click the failing app/installer -> Run as administrator, sign into a full Administrator Windows profile, and temporarily pause third-party antivirus ransomware/registry shields during updates.
  2. 2Check target directory permissions (Right-click -> Properties -> Security -> Edit) to ensure your account, SYSTEM, and Administrators hold Read/Write/Full Control (for OneDrive sync 0x80070005, sign out & unlink OneDrive -> confirm Documents/Desktop folder permissions -> re-link).
  3. 3Open Terminal (Admin) and run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow to repair protected Windows system files and update store ACLs; reset C:\Windows\SoftwareDistribution if Windows Update stays stuck.
  4. 4For Windows Activation `0x80070005`: Press Win + R -> run dcomcnfg -> expand Component Services -> Computers -> My Computer -> DCOM Config, verify default security / check SELF permissions are not stripped under Computer Properties -> Default Properties / COM Security, reboot, and retry activation.

Estimated Repair Cost Benchmark

Typical DIY parts and certified technician labor ranges. Select a currency below.

Currency:
Repair PathUSD
DIY Parts Only$0
Professional Repair (Parts + Labor)$55 – $130

Recommended Diagnostic Tools & Replacement Parts

Check OEM specifications and compatible tools for this repair.

Frequently Asked Questions

What does error code 0x80070005 literally mean?

In Microsoft Windows, 0x80070005 is the hexadecimal code for `E_ACCESSDENIED` ('Access is denied')—meaning a process was blocked from reading or writing required files, registry entries, or COM/DCOM permissions.

Does sfc /scannow erase my personal files when fixing 0x80070005?

No. Microsoft's System File Checker (`sfc /scannow`) only scans and restores protected Windows OS system binaries without touching your personal documents, apps, or photos.

Related Searches & Questions

0x80070005 access denied Windows 11 10 fixWindows update error 0x80070005 fixOneDrive error 0x80070005Windows activation 0x80070005 dcomcnfg SELF

Verified Official & Engineering References

Plain Text / AI View

Related Fault Codes

Tech & OS →
Windows Error Code 0x80070005 (E_ACCESSDENIED) — Fixes & Cost | FaultCodes.org