Error 0x80070005 — Access Denied — on Windows 11 means the update engine was refused permission to touch something it needs: a folder, a file, a registry key. Windows 11 did not change the fundamental meaning of this error from Windows 10, but it did tighten default permissions and add new security features like Controlled Folder Access that create new ways to trigger it. The update package is fine; your system’s permissions are the problem.
Windows 11’s tightened permission model is a deliberate security improvement that has a side effect on servicing. Default ACLs on system folders are stricter, virtualization-based security isolates more of the update process, and features like Controlled Folder Access treat even Microsoft’s own installer with suspicion until explicitly told otherwise. Most of the time this machinery is invisible. But when any piece of it — a third-party antivirus that has not kept up with Windows 11’s paths, a debloat script that locked down more than it should have, a corrupted inheritance chain — denies the engine something it needs, you get 0x80070005 with no indication of which guard said no.
This guide works the error like the permissions problem it is: verify rights, reset the specific folders involved, remove the software that locks them, and rebuild the components with clean defaults.
Why this happens
- Non-administrator account. Update installation requires admin rights; standard users get access-denied failures.
- Broken permissions on update folders. Corrupted ACLs on SoftwareDistribution, Catroot2, or servicing paths refuse the update service.
- Third-party antivirus locking system paths. Security suites denying even SYSTEM processes access to “protected” folders.
- Controlled Folder Access blocking the engine. Windows Security’s ransomware protection intercepting update writes.
- Registry key ownership problems. Update-related keys owned by the wrong principal or with restrictive ACLs.
- Debloat or hardening scripts. Aggressive privacy tools locking down update paths beyond what the servicing stack tolerates.
- Disk corruption damaging security descriptors. Filesystem errors scrambling permission metadata on update files.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Confirm administrator rights
Start with the account.
- Check Settings > Accounts > Your info — it should say “Administrator” under your name.
- If you are a standard user, switch to an administrator account for updates.
- As an admin, trigger a privileged scan to rule out elevation issues: open an elevated Command Prompt and run
usoclient StartScan.
Fix 2: Check Controlled Folder Access
Windows 11’s own ransomware protection is a new suspect.
- Open Windows Security > Virus & threat protection > Manage ransomware protection.
- If Controlled folder access is on, click Block history and look for blocked update-related processes during your failed update attempts.
- Click Allow an app through Controlled folder access and whitelist the legitimate Windows Update executables — do not disable the feature entirely.
Fix 3: Reset permissions on the update folders
Restore Microsoft’s default ACLs on the paths the engine needs.
- Open an elevated Command Prompt and run:
icacls "C:\Windows\SoftwareDistribution" /reset /t /c /q icacls "C:\Windows\System32\catroot2" /reset /t /c /q - Restart the update services:
net stop wuauserv net stop bits net start wuauserv net start bits - Retry the update. The
/resetflag restores inherited default permissions — safe and targeted.
Fix 4: Temporarily disable third-party security software
Find out if your antivirus is the one denying access.
- Disable real-time protection in your third-party suite temporarily.
- Run Windows Update and install the pending updates.
- Re-enable protection immediately. If the error vanished, add permanent exclusions for
C:\Windows\SoftwareDistributionandC:\Windows\System32\catroot2rather than disabling protection again next month.
Fix 5: Run the troubleshooter and repair system files
Cover the automated and structural repairs.
- Run Settings > System > Troubleshoot > Other troubleshooters > Windows Update > Run, and apply all fixes.
- In an elevated Command Prompt, run
sfc /scannowto repair protected file permissions and contents. - Restart and retry. The troubleshooter re-registers update components whose broken registrations manifest as access errors.
Fix 6: Reset the update components completely
Rebuild with clean default permissions.
- In an elevated Command Prompt:
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 - Retry the update. Fresh folders mean fresh, correct permissions. Our component reset guide explains each folder’s role.
Fix 7: Audit for recurring permission-breakers
Stop the cycle if the error keeps returning.
- Check for scheduled tasks from “optimizer” or “debloat” tools that run at boot or on a schedule — disable them.
- Run
chkdsk C: /fto rule out filesystem damage re-corrupting permissions. - As a diagnostic, create a fresh admin account (
net user TestAdmin * /addthen add to administrators) and test updates there — success isolates the problem to your profile. For persistent cases, Microsoft’s Windows Update support hub documents the deeper permission-repair procedures.
Closing
Work systematically rather than frantically, and the error resolves. When 0x80070005 appears alongside updates that will not even start, the root cause is often the update service itself rather than permissions — repairing the Windows Update service addresses what permission resets cannot, and knowing which updates installed and when helps correlate the failure with a specific package. There is also value in documenting what you changed: note which exclusions you added and which permissions you reset, so that if the error returns in six months you can check whether the same guard re-broke rather than starting the diagnosis from zero. Permissions problems are rarely mysterious on the second occurrence — they are usually the same cause wearing a slightly different error message, and your notes turn a repeat incident into a five-minute fix instead of another afternoon.
