Windows Error
Windows Error 0x80070005: Access Denied
A permissions error — Windows denied access to a file, registry key, or service needed to complete the operation.
What This Error Means
0x80070005 translates to the Windows system error "E_ACCESSDENIED" — whatever operation was being attempted (an update install, a file copy, a service start) was blocked because the current user or process lacks the required permission on a specific file, folder, or registry key.
Why It Occurs
Most commonly appears during Windows Update installs when update-related files/folders have incorrect permissions or ownership, when antivirus software is actively blocking access to a file being modified, or when a user account lacks administrator rights for an operation that requires them.
Symptoms
- ⚠ Appears during Windows Update installation
- ⚠ Appears when trying to run certain applications or installers
- ⚠ "Access is denied" message alongside the code
Common Causes
- • Corrupted permissions on Windows Update system folders (SoftwareDistribution, Catroot2)
- • Third-party antivirus/security software blocking file access
- • The operation requires administrator privileges but is being run as a standard user
- • Corrupted user profile
How to Fix It
- Run the operation (installer, Command Prompt) explicitly "as Administrator" via right-click
- Reset Windows Update components: stop the Windows Update service, rename the SoftwareDistribution and Catroot2 folders, then restart the service
- Temporarily disable third-party antivirus software to test if it's the cause — re-enable it afterward
- Run the built-in Windows Update Troubleshooter (Settings → System → Troubleshoot → Other troubleshooters)
- Check and reset permissions on the specific folder mentioned in the detailed error log (Windows Update logs are at %windir%\WindowsUpdate.log or via Get-WindowsUpdateLog in PowerShell)
| Command | Purpose |
|---|---|
| net stop wuauserv | Stop the Windows Update service before resetting update folders |
| ren %windir%\SoftwareDistribution SoftwareDistribution.old | Rename the corrupted update cache folder so Windows rebuilds it |
| net start wuauserv | Restart the Windows Update service |
Verification
- ✓ Re-run the operation that originally failed and confirm it completes without the error
- ✓ Check Windows Update history for a successful install
Prevention
- → Keep antivirus software's Windows Update exclusions correctly configured per the vendor's guidance
- → Avoid manually editing permissions on system folders unless following documented Microsoft guidance