For AppX/MSIX deployment, the clearest first diagnostics are the Event Viewer operational logs under:
- Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows
- Check:
- AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational
- AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational
Start with AppXDeployment-Server. If the deployment error is related to package open or staging details, AppxPackagingOM can contain additional detail.
PowerShell can also surface the recent deployment events:
Get-AppxLog
For 0x80070005, the supported causes in the available guidance include:
- insufficient permissions
- running without the required elevation for installs that require per-machine deployment
- antivirus or security software blocking the package file
- file system ACLs blocking read access to the package
- the app not being full trust, or not having the
packageManagementrestricted capability when calling the deployment API
Relevant fixes called out in the guidance are:
- Run the install command from an elevated prompt.
- If installing for all users, use
Add-AppxProvisionedPackageinstead ofAdd-AppxPackage. - Check read permissions on the package file, for example with
icacls. - Temporarily disable real-time antivirus scanning or add an exclusion for the
.msixor.msixbundlefile.
The available documentation does not confirm C:\Program Files\WindowsApps ACL issues, AppLocker / Software Restriction Policies, or a corrupted StateRepository database as documented causes for this specific scenario.
References: