0x80070005Windows Update · E_ACCESSDENIED
Windows Update error 0x80070005
During Windows Update, 0x80070005 means access is denied to a resource the update process needs. The restriction may involve system files, folders or permissions, rather than just the account you are signed in with.
Try this first
2 quick checks · ~7 min
Step-by-step solutions
Confirm the Windows Update context
The same code can appear in other products. Their troubleshooting may be different.
Check that the code appears while installing an update. In Windows 10, open Update & Security first.
- Settings
- Windows Update
Restart and try the update again
A normal restart is an initial check, not a permission repair.
Save your work, restart Windows and check for updates again. If the code returns, continue with the next checks.
Check administrator access
Some updates need administrative access.
Ask the person who manages the PC to install the update if authorization is required. Contact IT support for a managed device.
Advanced checks
Continue if the earlier steps did not help. Read each procedure’s precautions first.
Review permissions and update components with Microsoft guidance
An advanced administrator procedure covers resource permissions, ownership and resetting Windows Update components.
Use the Microsoft Learn source linked with this solution and follow the procedure appropriate for your system. Avoid trial-and-error changes to system-folder or registry permissions.
Repair components and check system files
DISM repairs the component store; SFC checks protected system files. Neither is a guaranteed fix for every cause of this code.
For the advanced Microsoft investigation, open Command Prompt as administrator.
DISM /Online /Cleanup-Image /RestoreHealthRepairs the component store. DISM uses Windows Update as the repair source by default; consult Microsoft guidance on an alternative source if needed.
sfc /scannowChecks system-file integrity. Let each tool finish, review its result, then restart and retry the update.
Investigate security interference with support
Third-party security tools can block resources needed for an update.
Review security-product alerts with the device administrator. Follow product-specific and Microsoft instructions; do not leave protection permanently disabled.
Still not working?
Keep the error code, the failed update and repair results for Microsoft or your IT administrator. If the code appeared outside Windows Update, look for guidance for that product instead.
Sources
Documentation behind this guide. Editorial recommendations are identified separately.
- Microsoft LearnOfficialTroubleshoot Windows Update error 0x80070005
- Microsoft SupportOfficialTroubleshoot problems updating Windows
Source review: . A documentation review, not a physical hardware test.