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.
Table of Contents
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.
SO, how to fix the issue of 0x80070005 access denied? Four common ways are here.
Switch User Account to Administrator
- Go to Control Panel to choose User Account in Windows 10.
- Choose Change your account type and enter the password if required.
- 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.
- Go to C:\Users\USERNAME\AppData.
- Choose the Local folder, right-click it to view its Properties.
- Navigate to Add and type Everyone.
- Click Check names and OK, and then check Full control. Next, save all the changes.
Use SubInACL Tool
- Get SubInACL Tool to reset file or registry permissions.
- Install it by following instructions.
- Run Command Prompt with administrator privilege and input notepadcmd before pressing Enter.
- Copy the following words to the notepad:
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
- 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
- Also, go to C:\Users\USERNAME\AppData and open the Properties window of the Local
- Go to Security to let all users listed take full control over this folder.
- 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.
Reset Windows Store
- Input WSResetin the search box of Windows.
- 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
- Run Command Prompt as administrator.
- 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
- Open the Run window, type msconfig and click OK.
- Choose Safe boot in the Boot
- 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.