8

How to Fix the Windows Access Denied Error 0x80070005

 2 years ago
source link: https://www.makeuseof.com/fix-the-windows-access-denied-error-0x80070005/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to Fix the Windows Access Denied Error 0x80070005

By Shaant Minhas

Updated 13 hours ago

The 0x80070005 error code arises when the Windows access is denied. This is how you can solve it for good.

Has the Windows 0x80070005 error stopped your work on its track? Do not worry. The 0x80070005 error is related to access permissions in Windows, sometimes encountered by users when they are trying to update their Windows or installing a new program, and they don't possess full access permission for certain files.

In this article, we've provided different ways to get around this problem. So, without further ado, here's how you can fix the 0x80070005 error code in Windows 10.

1. Give Yourself Full Permissions

As mentioned above, since the error code 0x80070005 is an inability to access Windows programs, the first method to try and solve it is to give yourself full administrative permissions from the Settings.

  1. Launch the Windows Run by hitting the Windows key + R, type in "C:\Users\USERNAME\AppData" in it, and click OK. Enter the drive where your Windows is installed in place of C: and username in place of USERNAME.
  2. Right-click on App Data and open the Properties.
  3. In the next window, go to the security tab and click on Edit.
  4. Click on Add.
  5. Now, type Everyone, click on Check Names, and finally, hit OK.
  6. Click on Everyone and allow Full control under Permissions for everyone. Click on OK.

That's it. Now reboot your system for the changes to take effect. You will not see the Windows update error 0x80070005 again.

2. Scan for Malware and Viruses

The error 80070005 can also be caused by malware or a virus, which can delete or alter your important system files, such as the Windows Registry. To be sure that your PC is not affected by malware, run the Windows Security, the free antivirus tool created by Windows to fight malware and virus.

Although, on rare occasions, the Windows Security might stop working, for most use cases it's a reliable app that can stand its own against any third-part antivirus.

After the scan, restart your PC and try to install the Windows updates; you shouldn't face any bugs now. However, if you still encounter the same error code 0x80070005, then don't lose heart. Jump to the next method and try out a clean boot.

3. Perform a Clean Boot

A clean boot is a way to identify applications that are causing problems in your Windows. It works by allowing your PC to start up with minimal programs and drivers, which then helps you figure the programs—if any—are causing a difficulty.

It differs from Windows safe mode, in that it provides you more control in choosing which programs to close down. Here's how you can get started with clean boot:

  1. Go to the Start menu search bar, type in 'msconfig,' and select the Best match.
  2. In the next dialog box, go to the Services tab, and check the Hide all Microsoft Services radio box and click on Disable All. After that, navigate to the Start-up tab, and click on Open Task Manager.
  3. From there, select any program that you believe is giving you trouble and click on Disable.
  4. Click on OK and close the dialogue box. Next, restart your PC to begin the clean boot.

When the PC restarts next time, run the application you were having trouble with. If the problem persists, you now know that it's not due to the programs that you disabled.

4. Run the Windows Troubleshooter

Windows troubleshooters are a series of integrated tools provided by Microsoft to solve small Windows problems, such as an update error, Bluetooth or audio issues, and so on.

It may be possible that a glitch in the Windows Update has led you to the Windows error code 0x80070005.

Follow the steps below and fix the Windows error 80070005:

  1. Press Win + X and click on Settings.
  2. Move to the Update & Security section and click on Troubleshoot.
  3. Now, click on Additional troubleshooters, and then, click on Windows Updates.
  4. Grant the required permissions and use the tool to fix this error.
click on additional troubleshooter

If, however, the tool couldn't fix the 'Access is Denied' error, then jump to the next method.

5. SFC (System File Checker)

The Windows System File Checker (SFC) is an application that helps users scan and fix their corrupt files, which might very well be the impediment to the Windows update installation in this case. Follow the mentioned commands to operate this utility tool:

  1. Go to the Start menu search bar, type in 'cmd,' and run the Command prompt as an administrator.
  2. Type SFC /scannow in the command prompt and hit Enter.
run sfc command to remove error 0x80070005

If the process is executed successfully, you should not see the Windows Access Denied error code message again.

6. Reset Permissions with SubInACL

SubInACL is a free command-line application that can help you change permissions for files, folders, registries, and other objects. In some situations, this method might very well do the trick. Follow the steps listed below to get rid of the error code 0x80070005 for good.

First off, download and install the SubInACL. Then, open a new Notepad file and type the following text in it:

Set OSBIT=32
IF exist "%ProgramFiles(x86)%" set OSBIT=64
set RUNNINGDIR=%ProgramFiles%
IF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)%
subinacl /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f

Save the files in All Files as reset.cmd. After that, run the file as an administrator by right-clicking and selecting Run as Administrator. Then update the program, and delete the .cmd file.

7. Update Windows 10 Manually

If you encountered the error code 0x80070005 during a Windows update, then a manual update just might be the solution for you. To update your Windows manually, you'll be using the Windows Update Catalog. Although Windows updates are downloaded and installed automatically, sometimes glitches arise. And this where the Windows Update Catalog comes in. It is a free website by Microsoft that offers updates for all Windows Operating Systems.

You can download cumulative updates manually from there even if your Windows's auto-updates are not working, just as with the error code 0x80070005.

Follow the steps below to get started:

  1. Go to Settings > Update & Security > Windows Update.
  2. Select View Update History and note down or copy the Windows update version code. It will look like KB1234567.

Then, visit the Windows Updates Catalogue and paste the Windows update version code in the search bar. Then, click on the Download button, which will prompt a popup on your screen.

From the pop-up, click on the .msu file link to download it. After the download is complete, click on the .msu file to install the Windows update manually. Afterward, restart your system. Your Windows will work fine now. In this way, you can override the 0x80070005 error code by performing a manual update.

No More Windows Error Code 0x80070005

So this was our bag of tricks to get rid of error 080070005. However, if none of the above methods have worked so far, you can use the pulverizer of all major Windows problems: a Factory Reset. If you've walked through the all above methods, we believe you would've surely gotten the solution to your Windows 0x80070005 access is denied error code.

About The Author
60ed310df0714-profile.jpg?fit=crop&w=100&h=100

Shaant Minhas (96 Articles Published)

Shaant is a Staff Writer at MUO. A graduate in Computer Applications, he uses his passion for writing to explain complex stuff in plain English. When not researching or writing, he can be found enjoying a good book, running, or hanging out with friends.

More From Shaant Minhas

Subscribe to our newsletter

Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

Click here to subscribe

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK