Error Code 0x80070005 – What is it?

Error Code 0x80070005 is otherwise known as the ACCESS DENIED error and it will appear when you attempt to update Windows and an issue with the registry or permissions has made the PC believe your user account does not have the required permissions to install a Windows update. The cause for this error can vary, but it can sometimes be the cause of malware or viruses. There are a number of manual fixes available and these have been provided later in this page. This error should be fixed as soon as possible because it can cause a number of problems later on.

Common symptoms include:

  • Inability to update Windows
  • Other apps and programs may come fault to the permissions error, which will stop you from being able to operate them
  • Certain issues may arise that could cause the Windows OS to crash or freeze up

There is one main method available for resolving the 0x80070005 Error Code manually, and requires you to be logged into the administrator account for the PC in question. After completing the available method, you should follow up with a virus and malware scan. It could be possible that a malware scan before using the manual method will resolve the problem automatically too.


Download Available to Completely Repair 0x80070005 Error Code

Recommended: Download the Automatic Repair Utility to correct this and other PC performance issues.

Error Causes

When an error with user permissions or the Windows registry is made, the 0x80070005 Error Code can appear. By default, these kind of changes to your system should not be made, but certain viruses and malware will make these changes to your PC to allow the virus to gain more control over your OS and gradually limit the user’s control.

Further Information and Manual Repair

Whilst there is only one direct manual method available for resolving error code 0x80070005, we will also include running a virus scan as an active method, because it is possible that removing potential malware or a virus will be able to resolve the error in question.

We’d suggest running a virus scan first with Method One and if that doesn’t work, move to the direct route by using Method Two.

Below we’ve listed the steps for using Method One and Method Two to resolve Error Code 0x80070005:


Method One:  Run a Virus Scan


You should use your on-board anti-virus software to run a full system scan. Make sure to do a full scan and not a quick scan. If you do not have any anti-virus software, there are plenty of great options available on the internet, such as AVG, Avast, Malwarebytes, Avira, and plenty more. You should always have active, running anti-virus software on your PC so that you can prevent viruses and malware infecting your PC in the future.


Method Two:  Use the SubInACL Tool



This is the main method for resolving Error Code 0x80070005 manually. You will need to use this method if you would like to resolve the error and the virus scan did not resolve the problem for you. First, search for ‘subInACL (SubInACL.exe)‘ in Google, and click the first official Microsoft link. You can view the green lock symbol on the top left side of your browser to ensure you have visited the right website.

Click the orange download button to download the tool. When installing, you must make sure that you choose the default installation location. This will either be %ProgramFiles%\Windows Resource Kits\Tools or
%ProgramFiles(x86)%\Windows Resource Kits\Tools depending on whether you’re running 32bit or 64bit Windows.

Next, open a new Notepad file.

Copy and paste the following into the Notepad file.



@echo off
echo Determine whether we are on an 32 or 64 bit machine
if “%PROCESSOR_ARCHITECTURE%”==”x86” if “%PROCESSOR_ARCHITEW6432%”==”” goto x86
set ProgramFilesPath=%ProgramFiles(x86)%
goto startResetting
set ProgramFilesPath=%ProgramFiles%
if exist “%ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe” goto filesExist
echo ***ERROR*** – Could not find file %ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe. Double-check that SubInAcl is correctly installed and re-run this script.
goto END
pushd “%ProgramFilesPath%\Windows Resource Kits\Tools”
subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f
subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f
subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f
subinacl.exe /subdirectories %windir% /grant=administrators=f /grant=system=f
echo Press any key to exit . . .
pause >NUL



Next, click the save button. Before saving, click the drop down box next to ‘Save as Type:’ and select ‘All Files.’ Put the file name as Reset.cmd then click save.

Next, right click the Reset.cmd file that you created and then click ‘Run as Administrator‘ Once you have finished this, restart your PC and the error code should have been fixed.


Method Three: Use An Automated Tool


Alternatively you can download and install a powerful automated tool that can provide resolutions to errors similar to Error Code 0x80070005 and do most of the work automatically so that you don’t have to do it manually.


For further information you may be interested in these similar issues:


How to Fix Windows 10 Error Code 0x800703e3

How to Fix Windows 10 Error Code 0x80240016

How to Fix Windows 10 Error Code 0x8000222

Total System Care



Total Downloads: 712,675

Download Size: 7.4mb

Download Time: (dsl/cable: 3sec; dialup: 2min)

How to easily boost PC Performance



Click the “Scan” button


Once the scan completes, click “Fix All” to repair errors