The error code "0x80070005" typically indicates a permissions issue. Here are some steps you can follow to troubleshoot and potentially resolve the problem:
- Check File System Permissions: Ensure that the permissions for the folder
C:\Program Files\WindowsApps
are correctly set. The "All Application Packages" group should have the necessary permissions. You can check this using the PowerShell command:Get-Acl -Path "C:\Program Files\WindowsApps" | Format-List
- Registry Permissions: Verify that the registry permissions are set correctly. The "All Application Packages" group should have Read permissions for the following registry paths:
-
HKEY_CLASSES_ROOT
-
HKEY_LOCAL_MACHINE\SOFTWARE
-
HKEY_USERS
-
- Group Policy Settings: If your computer is part of a domain, Group Policy might be enforcing restrictions. You can check for Group Policy settings that might be affecting permissions by running:
Review the report for any relevant settings.gpresult /h <path>\gpreport.html
- Reinstall Microsoft Store Apps: If the above steps do not resolve the issue, consider resetting or reinstalling the Microsoft Store itself. This can sometimes fix underlying issues with app installations.
- Use Built-in Troubleshooter: Windows has built-in troubleshooters that can help with app issues. You can access this through Settings > Update & Security > Troubleshoot.
If these steps do not resolve the issue, you may need to consider more drastic measures, such as resetting your Windows installation or seeking further technical support.
References: