What 0x80070005 actually means
0x80070005 is Windows' generic “E_ACCESSDENIED” code: a process tried to change a file, folder or registry key it doesn't have permission for. In Windows Update the process is the update service itself, so the problem is usually damaged permissions or a locked cache rather than your user account.
Because the same code appears in Windows Update, the Microsoft Store, activation and System Restore, note where you saw it. The steps below start with the fixes that cover all of them.
Symptoms
- Windows Update fails and rolls back with code 0x80070005.
- Microsoft Store downloads stop with “Something went wrong” and this code.
- Windows activation or System Restore reports “access is denied.”
Why 0x80070005 happens
- The SYSTEM or your user account does not have Full Control over the folders or registry keys the operation needs.
- A corrupt Windows Update cache (SoftwareDistribution / catroot2) blocks new packages.
- Third-party antivirus is locking files during the operation.
- The drive is low on space or the user profile is damaged.
Try these fixes
- Run the Windows Update troubleshooter: Settings → System → Troubleshoot → Other troubleshooters → Windows Update. Reboot and retry.
- Reset the update components: stop the wuauserv and BITS services, rename SoftwareDistribution and catroot2, then start the services again (command below).
- If it is an activation or Store error, temporarily disable third-party antivirus, make sure the system drive has at least a few GB free, then retry.
Command
net stop wuauserv && net stop bits && net stop cryptsvc && ren %systemroot%\SoftwareDistribution SoftwareDistribution.old && ren %systemroot%\System32\catroot2 catroot2.old && net start cryptsvc && net start bits && net start wuauserv
Run in an elevated Command Prompt (Run as administrator).
Avoiding it in future
Keep at least 10–15% free space on the system drive, avoid manually editing permissions on Windows folders, and pause third-party antivirus before large updates.
