Get it from the official source
We don't host files. These links take you straight to the genuine, safe installer on the developer's website.
Error 0x80070005 is Windows' code for 'access denied.' It surfaces in several places - during Windows Update, when installing or updating an app from the Microsoft Store, while activating Windows, or when running a system task - and in every case the meaning is the same: a process tried to read or write something it was not permitted to touch.
That permission block can come from a genuine lack of administrator rights, from corrupted permissions on a system folder, from antivirus software guarding files, or from damaged update components. Because 'access denied' is a permissions problem at heart, the fixes revolve around granting the right access, clearing blocked files, and repairing the components involved.
This guide breaks down where 0x80070005 appears and how to resolve each variant on Windows 10 and 11. Some steps involve changing permissions or ownership, so make a system restore point first, and only download repair tools from Microsoft or other official sources.
Helpful tools
Windows Update Troubleshooter
Built-in Microsoft tool that fixes common update errors automatically
Visit official site โWindows PowerShell
Runs sfc, DISM, and update-reset commands to repair the system
Visit official site โMicrosoft Visual C++ Redistributable
Restores runtimes whose damaged install can surface as access errors
Visit official site โMalwarebytes
Checks for malware that can interfere with file and update permissions
Visit official site โMicrosoft Update Catalog
Official source to download specific update packages manually
Visit official site โRevo Uninstaller
Cleanly removes apps whose leftover permissions block reinstalls
Visit official site โStep-by-step fix
-
1
Confirm you're using an administrator account, and run the installer or tool via right-click > 'Run as administrator', allowing any UAC prompt.
-
2
Run the Windows Update Troubleshooter from Settings > System > Troubleshoot if the error appears during updates.
-
3
Reset Windows Update components: stop the update services, rename SoftwareDistribution and catroot2, then restart the services from an elevated prompt.
-
4
Run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth in an elevated Command Prompt to repair system files and permissions.
-
5
For installers blocked on a specific folder, take ownership and grant your account Full control via Properties > Security > Advanced.
-
6
Temporarily disable third-party antivirus to test, then re-enable it and add an exception if it was the cause.
-
7
Create a new administrator account and retry the operation to rule out a corrupted user profile.
-
8
Create a system restore point before making permission changes, and download any repair tools only from Microsoft.
What 0x80070005 means
The code 0x80070005 maps to the Windows error 'E_ACCESSDENIED.' It appears when a component lacks the rights to complete an operation. The most common contexts are:
- Windows Update failing to download or install updates.
- Microsoft Store apps refusing to install or update.
- Windows activation being blocked.
- Installers or scripts that cannot write to protected folders or registry keys.
Knowing which context you are in helps you pick the right fix, but several solutions apply across all of them.
Run as administrator and check UAC
Start with the obvious: make sure you are using an administrator account, and run the installer or tool by right-clicking and choosing Run as administrator. A standard user account simply cannot write to many protected locations, which produces this error directly. If you are on a managed work or school PC, you may need your IT administrator to grant rights or perform the action.
If User Account Control prompts appear and you dismiss them, the operation can fail with access denied. Allow the elevation prompt when it appears for a legitimate, trusted operation.
Reset Windows Update components
When 0x80070005 strikes during Windows Update, the update components are often corrupted. First, run the built-in Windows Update Troubleshooter from Settings > System > Troubleshoot, which can fix many of these issues automatically. If that does not help, you can reset the components manually by stopping the update services, renaming the SoftwareDistribution and catroot2 folders, and restarting the services from an elevated Command Prompt.
A clean reset clears the cached, half-applied update data that frequently triggers the access-denied error, after which Windows downloads fresh update files.
Fix permissions and SubInACL
If an installer cannot write to a specific folder, take ownership of it: right-click the folder, choose Properties > Security > Advanced, and grant your account Full control. Do this carefully and only on folders relevant to the problem, since changing permissions on core system folders can cause other issues.
For activation and update permission problems, Microsoft has historically recommended resetting file and registry permissions to their defaults. Running sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth from an elevated prompt also repairs system components whose damaged permissions can cause 0x80070005.
Rule out antivirus and account corruption
Third-party antivirus suites can block update and installer processes from writing files, producing access denied. Temporarily disabling the antivirus to test - then re-enabling it immediately afterwards - tells you whether it is the cause. If it is, add an exception rather than leaving protection off.
If the error follows you across many tasks, your Windows user profile may be corrupted. Creating a new administrator account and testing the operation there is a quick way to confirm. If everything works in the new account, migrating to it resolves a profile-level permission problem that no amount of folder tweaking would fix.
Frequently asked questions
Questions & answers
No questions yet โ be the first to ask!
Ask a question
Please sign in with your email to ask a question.
Comments (0)
No comments yet. Share your experience!
Leave a comment
Please sign in with your email to comment.