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).
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 / Condition | Factory 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.
- 1Note WHERE
0x80070005triggers (Windows Update vs. Microsoft Store/App Installer vs. OneDrive Sync vs. Windows Activation). - 2Confirm you are signed into an Administrator Windows account and test launching the failing setup via right-click -> Run as administrator.
- 3Open Properties -> Security tab on the target folder (or Windows Event Viewer -> System/Application log) to verify
SYSTEMandAdministratorshold 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.
Does 0x80070005 happen when running a software installer, Microsoft Store app, or OneDrive folder backup?
Step-by-Step Troubleshooting & Fix
Tools & Parts Reference
sfc /scannow, DISM /RestoreHealth)Component Services console (dcomcnfg) for DCOM activation faults- 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.
- 2Check target directory permissions (Right-click -> Properties -> Security -> Edit) to ensure your account,
SYSTEM, andAdministratorshold Read/Write/Full Control (for OneDrive sync0x80070005, sign out & unlink OneDrive -> confirm Documents/Desktop folder permissions -> re-link). - 3Open Terminal (Admin) and run
DISM /Online /Cleanup-Image /RestoreHealthfollowed bysfc /scannowto repair protected Windows system files and update store ACLs; resetC:\Windows\SoftwareDistributionif Windows Update stays stuck. - 4For Windows Activation `0x80070005`: Press
Win + R-> rundcomcnfg-> expand Component Services -> Computers -> My Computer -> DCOM Config, verify default security / checkSELFpermissions 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.
| Repair Path | USD |
|---|---|
| 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
Verified Official & Engineering References
Related Fault Codes
Tech & OS →Windows Blue Screen Stop Code IRQL_NOT_LESS_OR_EQUAL (0x0000000A)
Bug Check `0xA`: Windows or a kernel-mode driver attempted to access pageable or invalid memory at a raised Interrupt Request Level (`IRQL >= DISPATCH_LEVEL`)—commonly traced to faulty drivers, corrupted pointers, RAM instability, or CPU undervolts.
Windows Blue Screen Stop Code MEMORY_MANAGEMENT (0x0000001A)
Windows Update Error 0x80070643 (ERROR_INSTALL_FAILURE / KB5034441)
Windows CRITICAL_PROCESS_DIED (0x000000EF): Critical OS Process Terminated
Windows Update Error 0x800f0922: Full System/EFI Partition or CBS Failure