Skip to content
Logo TecnoOrange
Go back

Error 0x80070005 Windows 11 fix

Error 0x80070005 in Windows 11: How to Fix It

Computer screen showing Windows 11 error message
Photo by Andrea Piacquadio on Pexels

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?

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:

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:

  1. Right-click on the program or installer that’s giving you the error
  2. Select “Run as administrator”
  3. 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.

  1. Right-click the folder and select “Properties”
  2. Go to the “Security” tab
  3. Click “Advanced”
  4. Find your user and verify it has “Full control”
  5. 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.

  1. Go to Settings > Accounts > Family and other users
  2. Click “Add someone else”
  3. Select “I don’t have this person’s sign-in information”
  4. Choose “Add a user without a Microsoft account”
  5. Create the user and then go to “Change account type”
  6. 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.

  1. Press Win + R and type regedit
  2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  3. Look for “EnableLUA”
  4. Change its value to 0
  5. 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

ScenarioRecommended solutionEstimated time
Installing programRun as administrator1 minute
Windows updateSFC and DISM30 minutes
Folder accessCheck permissions5 minutes
Persistent errorNew admin account10 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:

  1. Press Win + R, type services.msc, and press Enter.
  2. Look for the Windows Update service in the list.
  3. Right-click → Stop.
  4. Go to C:\Windows\SoftwareDistribution and delete all contents of that folder (these are temporary update files).
  5. Go back to services.msc, right-click Windows UpdateStart.
  6. 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:

  1. Type “System Restore” in the Windows search and open it.
  2. Click System RestoreNext.
  3. Select a restore point from before the date the error started.
  4. Confirm and let Windows do its work. The process takes between 15 and 45 minutes.

Advantages of this method:

Disadvantages:

My recommendation: try this solution after options 1 through 4, but before resorting to modifying the registry (option 5) or doing a clean reinstall.


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 CodeMeaningMain Solution
0x80070005Access deniedPermissions / Run as admin
0x80070002File not foundSFC / DISM
0x80240022Windows Update errorRestart Update service
0x80070003Path not foundCheck installation paths
0x80004005Unspecified errorSFC + 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.


Share this post on:

Previous Post
Best Virtual Keyboards for Android in 2026
Next Post
Smart Home Devices That Work Without Monthly Subscription

Related articles