microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.23k stars 8.27k forks source link

Cannot install/update Windows Terminal: error 0x80070005 #17932

Open astatine opened 3 weeks ago

astatine commented 3 weeks ago

Windows Terminal version

1.21.2361.0

Windows build number

10.0.19045.4894

Other Software

No response

Steps to reproduce

  1. Download the msixbundle and double-click to install

Note that I am able to install the latest version on Microsoft Store (v1.20.11781.0; I've checked after uninstalling and trying to install again), but I am not able to install the latest GitHub release (v1.21.2361.0). Some hasty Googling tells me this is a probably an issue with permissions; how do I begin to debug this?

Expected Behavior

I am able to install/update Windows Terminal successfully.

Actual Behavior

I'm getting the following error message in the installer UI:

App installation failed with error message: error 0x80070005: Opening the package from location Microsoft.WindowsTerminal_1.21.2361.0_8wekyb3d8bbwe.msixbundle failed. (0x80070005)

astatine commented 3 weeks ago

I was able to manually update with the command Add-AppPackage <link-to-msixbundle> (using the x64 'portable' version of Windows Terminal), but I'd still like to fix installs from locally downloaded files. I've run the usual troubleshooting steps (sfc, the two dism commands, etc.). Any advice is appreciated.