Hello EttoreFilippi,
The error 0x80070005 occurs when the system or user lacks the required files or permissions to change settings at the time of the Windows update.
Here is some troubleshooting that might fix this problem.
Solution 1
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 2
It might be that something went wrong with the update files itself. Clearing the folder where all of the
update files are stored will force Windows Update to download fresh files.
Here how to clear update database cache, reset windows update components to the default setup.
1-Press Windows + R, type services.msc and ok to open windows services.
2-Scroll down and look for windows update service.
3-Right-click on it and select stop.
4-Also, do the same with BITs (Background Intelligent Transfer Service) and Superfetch (superfetch now called sysmain) right-click and select stop.
5-Now Go to the following location C:\Windows\SoftwareDistribution\Download.
6-Delete everything inside the download folder, but do not delete the folder itself.
To do so, press CTRL + A to select everything and then press Delete to remove the files.
Again open windows services and restart the services (windows update, BITS) which you previously stopped.
7-Reboot and try again
Solution 3
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.
Solution 4
If none of the procedures 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.
------------------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--