Error code 0x80070005 is also known as Access denied. This error usually occurs when you lack file or registry permissions that are required to install the update.
Here is some troubleshooting that should fix this error:
Solution 1- Run the troubleshooter
1-Click on Start then click on Settings
2-Click on Update & Security then click on troubleshoot
3-Click on Additional troubleshooter
4-Select the Windows Update and click to Run the troubleshooter
5-When finish select the Windows Store and click to run the troubleshooter
Solution 2 -Check if doesn't have any corrupt files on the windows.
1-Right-Click on Start then click on Windows Powershell (admin)
2- Type these commands.
sfc /scannow (and press Enter)
Dism /Online /Cleanup-Image /ScanHealth (and press Enter)
Dism /Online /Cleanup-Image /CheckHealth (and press Enter)
3- The DISM tool will report whether the image is healthy, repairable, or non-repairable. If the image is repairable, you can use the /RestoreHealth (Dism /Online /Cleanup-Image /RestoreHealth) argument to repair the image.
Solution 3- Reset Windows Update componentes
Reset the activation component.
1-Right-click on Start then click on Windows PowerShell(admin) 2-Type these commands:
net stop wuauserv and press [Enter]
net stop cryptSvc and press [Enter]
net stop bits and press [Enter]
ren C:\Windows\System32\catroot2 Catroot2.old and press [Enter]
net start wuauserv and press [Enter]
net start cryptSvc and press [Enter]
net start bits and press [Enter]
netsh winsock reset
2-Reboot
Solution 4- Reinstall the Microsoft Store
1-Right click on Start.
2-Click on Windows PowerShell(admin)
3-Type:
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} and press ENTER.
4-Reboot your pc and try open the Microsoft Store.
If none of the above methods fix the problem, you can perform the repair upgrade using the Media Creation Tool, this procedure will repair all Windows files.
1-Download the media creation tool.
https://go.microsoft.com/fwlink/?LinkId=691209
2-Run the tool and select 'Upgrade this pc now'
3-Select the option 'Keep all my files and apps'
4-Then click to update.