Easy Ways to Fix Windows Error Code 0x80070005

In this post, we will introduce some easy ways for users to fix the Windows error code – 0x80070005 if they encounter it when updating Windows OS or performing a system restore.

Error Code 0x80070005

The error code is fairly general to Windows users; it might happen in multiple cases, including upgrading a Windows operating system, updating an app from Microsoft Store, running a system restore, etc. It should not be ignored and users should look for solutions to fix it. If no, the Windows OS might slow down, even break down; Windows applications could be inaccessible.

In this post, we will go through troubleshooting the error code 0x80070005 with some solutions in 3 different cases.

Windows Update Error 0x80070005

This error is also described as Access Denied by Microsoft. It usually appears when checking for Windows updates or installing some updates if Windows lacks permissions of registry or file that are required. Perhaps the file or registry has been changed by malware or virus.

Trending now: https://uggscanadaugg.ca/2019/06/23/benefits-of-a-vlsi-internship/

SO, how to fix the issue of 0x80070005 access denied? Four common ways are here.

Switch User Account to Administrator

  1. Go to Control Panel to choose User Account in Windows 10.
  2. Choose Change your account type and enter the password if required.
  3. Change it to Administrator. Next, reboot the PC to see if the error code is fixed.

Scan for Malware and Virus

If there is antivirus software on the computer, please ensure it is up-to-date. If no, please download one from the internet and install it. Then, run it to scan the system for computer viruses and malware. After that, go to check if the Windows update error 0x80070005 disappears.

Give User Full Control

If users don’t have permissions to access files, the downloading of Windows updates will fail with the error code. So, allowing full control is important.

  1. Go to C:\Users\USERNAME\AppData.
  2. Choose the Local folder, right-click it to view its Properties.
  3. Navigate to Add and type Everyone.
  4. Click Check names and OK, and then check Full control. Next, save all the changes.

Ways to Fix Windows Error Code 0x80070005

Use SubInACL Tool

  1. Get SubInACL Tool to reset file or registry permissions.
  2. Install it by following instructions.
  3. Run Command Prompt with administrator privilege and input notepadcmd before pressing Enter.
  4. Copy the following words to the notepad:

@echo off

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

subinacl /subdirectories %windir% /grant=administrators=f /grant=system=f

@Echo –

@Echo Done.

@Echo –


  1. Type cmd in the CMD window again and press Enter. Reboot the PC to see if the error 0x80070005 is solved.

Update Windows App Store Error 0x80070005

When installing an app from Microsoft Store, users may fail to install it with the same code. This is also caused by the permission issue.

Give Full Control to the Packages Folder

  1. Also, go to C:\Users\USERNAME\AppData and open the Properties window of the Local
  2. Go to Security to let all users listed take full control over this folder.
  3. If not, go to make a setting: navigate to Advanced > Add > Select a principal > Select User or Group, type Users, hit Check Names > Basic permissions > Full control.

 Fix Windows Error Code 0x80070005

Reset Windows Store

  1. Input WSResetin the search box of Windows.
  2. Run it as an administrator to fix the issue.

System Restore Error 0x80070005

In addition, users may be bothered by the same code when performing a system restore. Usually, Windows will give an error message saying “System Restore did not complete successfully…System Restore could not access a file”.

This is mainly caused by antivirus software that is running on the computer. To fix this issue, users need to disable the antivirus program and see if the issue is fixed. If no, here are two other ways.

Run SFC Scan

  1. Run Command Prompt as administrator.
  2. Type sfc /scannow in the CMD window and press Enter.

Wait patiently for a few minutes and try to perform a system restore again to see if you have fixed the system restore error 0x80070005.

Run System Restore in Safe Mode

  1. Open the Run window, type msconfig and click OK.
  2. Choose Safe boot in the Boot
  3. Save the change by clicking Apply and OK.


Right now, some useful solutions to the Windows error 0x80070005 have been introduced here. If users don’t know them clearly, the detailed operations can be found in this post – Fixes for Error 0x80070005 When Upgrading OS & Apps or Restoring OS.

Back up Windows OS Now

Windows issues always happen; even the Windows OS crashes by accident. Thus, we suggest backing up the operating system on a regular basis after finishing the error fix.

To keep the PC safe via system backup, MiniTool ShadowMaker, a free backup software, should be a good choice. We have tested it before and it is quite user-friendly and reliable. It supports automatic backup and allows creating backups for only changed data.

 Error Code 0x80070005

Leave a Reply

Your email address will not be published. Required fields are marked *