Error 0x80070005 in Windows 11: How to Fix It
Ugh, error 0x80070005. If you’re reading this, you probably just saw that red error code on your Windows 11 and felt that instant frustration. I’m not going to lie, this error can be a bit tricky at first because it can appear in different situations, but the good news is that it almost always has a solution.
In my experience, this “access denied” error is one of the most common in Windows 11, especially when trying to install updates, programs, or simply access certain files. That said, once you understand why it occurs, fixing it becomes much easier.
Table of contents
Table of contents
- What exactly does error 0x80070005 mean?
- Solution 1: Run as administrator
- Solution 2: Check folder permissions
- Solution 3: Reset permissions with SFC and DISM
- Solution 4: Create new administrator account
- Solution 5: Modify Windows Registry
- Solutions table by scenario
- Solution 6: Restart the Windows Update Service
- Solution 7: Restore the System to a Previous Point
- Related Errors to 0x80070005 You Should Know About
- FAQ
- Conclusion
What exactly does error 0x80070005 mean?
Error 0x80070005 is basically Windows’ way of telling you: “Hey, you don’t have permission to do this.” It’s like trying to enter a VIP room without the proper pass.
This error can appear in various scenarios:
- When installing Windows updates
- When installing programs or drivers
- When accessing system folders
- When running certain administrative commands
Heads up: Although the message says “access denied,” it doesn’t always mean you’re not an administrator. Sometimes it’s a problem with specific file or folder permissions.
Solution 1: Run as administrator
This is the simplest solution and, surprisingly, the one that works most often. Here comes the important part:
- Right-click on the program or installer that’s giving you the error
- Select “Run as administrator”
- Confirm in the User Account Control dialog
Spoiler: If this doesn’t work, don’t worry, we have more tricks up our sleeve. But always start here because it’s the fastest to try.
Solution 2: Check folder permissions
Sometimes the problem lies in the specific permissions of the folder where you’re trying to install or save something.
- Right-click the folder and select “Properties”
- Go to the “Security” tab
- Click “Advanced”
- Find your user and verify it has “Full control”
- If it doesn’t, click “Add” and assign the necessary permissions
What works for me is giving full control to my main user. That way I ensure I won’t have permission problems in the future.
Solution 3: Reset permissions with SFC and DISM
Here comes the technical but effective part. Windows has built-in tools to repair system files that might be causing this error.
First, open Command Prompt as administrator and run:
sfc /scannow
Then, if that doesn’t work, try with DISM:
DISM /Online /Cleanup-Image /RestoreHealth
Pro-tip: These commands can take between 15-30 minutes to complete. Be patient and don’t interrupt the process.
Solution 4: Create new administrator account
Sometimes, your user account might have corruption in its permissions. Creating a new administrator account can solve this.
- Go to Settings > Accounts > Family and other users
- Click “Add someone else”
- Select “I don’t have this person’s sign-in information”
- Choose “Add a user without a Microsoft account”
- Create the user and then go to “Change account type”
- Select “Administrator”
Once created, log in with this account and try the operation that was failing.
Solution 5: Modify Windows Registry
Attention: this solution is more advanced. Back up your registry before proceeding.
- Press Win + R and type
regedit - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System - Look for “EnableLUA”
- Change its value to 0
- Restart your computer
I’m not going to lie, this is more drastic, but sometimes it’s necessary when nothing else works.
Solutions table by scenario
| Scenario | Recommended solution | Estimated time |
|---|---|---|
| Installing program | Run as administrator | 1 minute |
| Windows update | SFC and DISM | 30 minutes |
| Folder access | Check permissions | 5 minutes |
| Persistent error | New admin account | 10 minutes |
Solution 6: Restart the Windows Update Service
If error 0x80070005 appears specifically when trying to install Windows updates, the problem might be in the Windows Update service itself. Sometimes the service gets “stuck” and needs a manual restart.
Steps to restart it:
- Press Win + R, type
services.msc, and press Enter. - Look for the Windows Update service in the list.
- Right-click → Stop.
- Go to
C:\Windows\SoftwareDistributionand delete all contents of that folder (these are temporary update files). - Go back to services.msc, right-click Windows Update → Start.
- Restart your PC and try updating again.
What works for me is doing this whenever Windows Update gets stuck for more than an hour. In 70% of cases, the problem disappears after this process.
Heads up: Deleting the SoftwareDistribution folder is safe. Windows will recreate the necessary files automatically when it searches for updates again. You won’t lose any settings or personal data.
Solution 7: Restore the System to a Previous Point
If the error started appearing after installing a specific program or update, using System Restore can be the cleanest solution. Basically, Windows reverts to an earlier state when everything was working fine.
How to do it:
- Type “System Restore” in the Windows search and open it.
- Click System Restore → Next.
- Select a restore point from before the date the error started.
- Confirm and let Windows do its work. The process takes between 15 and 45 minutes.
Advantages of this method:
- It doesn’t delete your personal files (documents, photos, etc.).
- It reverts system changes that might have caused the permission conflict.
- It’s less drastic than a clean reinstall.
Disadvantages:
- It will uninstall programs you installed after the restore point.
- It will revert Windows updates after that date.
My recommendation: try this solution after options 1 through 4, but before resorting to modifying the registry (option 5) or doing a clean reinstall.
Related Errors to 0x80070005 You Should Know About
Error 0x80070005 rarely comes alone. It’s often accompanied by other error codes that share the same root: permission issues. Knowing them helps you better diagnose your situation.
| Error Code | Meaning | Main Solution |
|---|---|---|
| 0x80070005 | Access denied | Permissions / Run as admin |
| 0x80070002 | File not found | SFC / DISM |
| 0x80240022 | Windows Update error | Restart Update service |
| 0x80070003 | Path not found | Check installation paths |
| 0x80004005 | Unspecified error | SFC + system restore |
If besides 0x80070005 you also see any of these, start with the solution for the more specific code and then try the main operation again. Often, resolving a secondary error eliminates the main error as a side effect.
Pro-tip: Note exactly when the error appears and what you were doing. This information is gold if you need to search for help on technical forums or contact Microsoft support.
FAQ
Is it safe to disable User Account Control?
It’s not recommended. UAC is an important security layer. It’s better to fix the permission problem than disable this protection.
Why did this error appear suddenly?
It usually happens after a Windows update or installation of a program that modified system permissions.
Can I prevent it from happening again?
Keep your system updated and avoid installing programs from untrusted sources. It also helps to do regular antivirus scans.
Conclusion
Error 0x80070005 in Windows 11 can be frustrating, but as you’ve seen, it has multiple solutions. The key is to identify in which scenario the error occurs and apply the appropriate solution.
In my experience, 80% of the time it’s solved by running the program as administrator. For the remaining cases, Windows’ built-in tools are usually sufficient.
Remember that permission errors are a Windows security measure, so although they’re annoying, they’re there to protect you. With these solutions, you now have everything you need to overcome this obstacle and get back to using your Windows 11 without problems.
Have you tried any of these solutions? Tell me which one worked for you or if you have any other trick you’d like to share.
TecnoOrange