How to Fix Windows Error Code 0x80070005

In this article will see how to fix windows error code 0x80070005.

The article divided into three parts as all three are related to windows error code 0x80070005 and their solutions, those are:

  1. Windows Update Error Code 0x80070005
  2. Error code: 0x80070005 – “Something happened and this app couldn’t be installed. Please try again. Error code: 0x80070005”
  3. System Restore Error 0x80070005 – > “System Restore did not complete successfully. Your computer’s system files and settings were not changed”.

Note- It’s recommended to create a backup of your important files and folders.

1. Windows Update Error Code 0x80070005

Error Code 0x80070005— ‘Access Denied’ error—is related to Windows updates.

Follow the below solutions to fix this issue:

Method 1 – Logon as an Administrator

Go to – Start -> Control Panel -> User Accounts – > Change your account type -> Then select your new account type to “Administrator”.

Now reboot your system and see if Windows update error 0x80070005 is resolved.

Method 2 – Assign User Full Control

Sometimes seen that Windows update error code 0x80070005 appears due to permission issue. To fix this issue we need to assign user full control.

To do this follow below steps:

Open “Run” window by pressing (Win +R). Then type C:\Users\USERNAME\AppData in the box and click OK.

A window will appear here right click on the Local folder and select Properties

Go to Security tab -> select edit option -> click Add -> Everyone -> navigate to Check Names -> OK -> select Full Control checkbox.

Save all the changes and reboot the system and check if 0x80070005 access denied update error is resolved.

Method 3 – Choose how Window can Install Updates

See For windows 7:

Logon as an Administrator – Go to Start -> Control Panel -> System and Securities – > Windows Update -> select Change Settings

Under Important Updates out of four options select -> “Install updates automatically (recommended)”

Click OK.

Method 4 – Configure Windows Firewall

Go to Start -> Control Panel -> System and Securities -> Windows Firewall

Or

Start -> type Windows Firewall and open directly from here.

Now select – > Allow an app or feature through Windows Firewall

Got to Change Settings -> Allow Another Program – > a pop up box appear here select Browse -> now search and select svchost.exe file add it and click OK.

Method 5 – SubInACL Tool

The error code 0x80070005 appears due to incorrect file or registry permissions.

To fix this issue we use the command-line tool, SubInACL to reset the permissions.

Firstly, we have to download the SubInACL Tool from the Microsoft website:
https://www.microsoft.com/en-in/download/details.aspx?id=23510

Then open command prompt as an administrator type notepad reset.cmd and hit Enter.

Copy the below command to the reset.cmd file:

@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 –
@pause

Run the file hit Enter – > reboot system and check if issue resolved.

2. Error code: 0x80070005 – “Something happened and this app couldn’t be installed. Please try again. Error code: 0x80070005”

The issue appears when you install an app in Windows 10. To fix this issue follow the below solutions:

Method 1 – Assign Full control over the folder

Go to Run Box – > %appdata% ->OK -> Appdata\Roaming -> revert back to AppData -> Local folder -> select the Packages folder-> right click select properties -> Security tab -> check all users have full control over this folder.

If not then go to the Advance settings and add User or Groups and assign them full control.

Method 2 – Reset Windows 10 Store

Search box – > type WSReset -> here right click and select “Run as administrator”.

Method 3 – Date and Time Setting

Search box – > type time and date -> click Change date and time settings.

Here set the correct date, time and zone.

Reboot the system.

Reference: https://support.microsoft.com/en-in/help/4026213/windows-how-to-set-your-time-and-time-zone

3. System Restore Error 0x80070005 – > “System Restore did not complete successfully. Your computer’s system files and settings were not changed”.

To fix this issue follow the below solutions:

Method 1 – Disable Antivirus

Mostly seen this happens due to antivirus software, we can disable the antivirus software and check if this issue resolved.

Reference: https://support.microsoft.com/en-us/help/4027187/windows-10-turn-off-antivirus-protection-windows-security

Method 2 – System Restore in Safe Mode

Open Run – > type msconfig -> hit Enter key -> Boot tab -> select Safe boot option -> Apply -> OK -> reboot system and perform restore.

Don’t forget to un-check safe boot option once issue resolved.

Reference: https://support.microsoft.com/en-in/help/12376/windows-10-start-your-pc-in-safe-mode

Method 3 – Run SFC (System File Checker)

“The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.”

Windows built-in tool helps to repair corrupt or missing files to fix this issue.

Run Command Prompt as administrator – > type sfc /scannow -> hit Enter key -> It takes few minutes to complete the verification.

Reference: https://support.microsoft.com/en-in/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system