I came across a rare problem that I cannot solve for a week. This happened to my primary Windows 10 version 21H2 account which happens to be Administrator.
Whenever I launch some of modern (UWP) Microsoft Store apps from Start Menu it does nothing (no splash screen, etc.).
This does happen not to all of the apps, but for the most of them, i.e Microsoft Store works, Calculator works, but Windows Terminal does not work. I could not figure any pattern.
Event Viewer reports two consecutive errors whenever I click icon in Start Menu, this is a whole sequence of events (happen in 2 seconds) from Event Viewer
> Applications and Services Logs
> Microsoft
> Windows
> AppModel-Runtime
(I added event ID and time to each event manually to minimize post size):
15:55:05 [Event ID 217] Destroyed Desktop AppX container cbdebc96-9651-11ed-926f-88665a3ad365 for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe.
15:55:05 [Event ID 216] 0x800700B7: Cannot create the Desktop AppX container for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe because an error was encountered configuring the runtime.
15:55:05 [Event ID 208] 0x800700B7: Cannot create the process for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe because an error was encountered while configuring runtime. [LaunchProcess]
15:55:05 [Event ID 70] AppModel Runtime status for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe for user PC\Administrator successfully updated to 0x20 (previous status = 0x0).
15:55:05 [Event ID 40] AppContainer onecore\ds\security\gina\profile\profext\appcontainer.cpp Line:1812 @{Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.WindowsTerminal/Resources/AppStoreName} Microsoft.WindowsTerminal_8wekyb3d8bbwe was not created because it already exists.
15:55:06 [Event ID 70] AppModel Runtime status for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe for user PC\Administrator successfully updated to 0x0 (previous status = 0x20).
15:55:06 [Event ID 217] Destroyed Desktop AppX container cbdebc97-9651-11ed-926f-88665a3ad365 for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe.
15:55:06 [Event ID 216] 0x800700B7: Cannot create the Desktop AppX container for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe because an error was encountered configuring the runtime.
15:55:06 [Event ID 208] 0x800700B7: Cannot create the process for package Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe because an error was encountered while configuring runtime. [LaunchProcess]
If I download Msixbundle file ad attempt to manually install it (using DesktopAppInstaller) by double clicking, installation completes successfully. However when I click launch in App Installer window I get the error dialog (it appears twice just like the errors above!):
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe
Cannot create a file when that file already exists.
Meanwhile I can successfully run any app by going to it's folder and executing it's Win32 EXE file, i.e. C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.15.3465.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
will successfully launch Terminal.
However I get only nothing and 2 errors in Event Viewer if I attempt to launch app from PowerShell using
start "shell:AppsFolder\$(Get-StartApps "Terminal" | select -ExpandProperty AppId)"
Lastly, I created new account and added it to Administrators group. I can easily run any app from start menu of the new account (without reinstalling anything, i.e. provisioned package Xbox Game Bar mentioned above works straight out of the box).
I've tried troubleshooting (sfc /scannow
, DISM /Online /Cleanup-Image /CheckHealth
, WSReset
, resetting apps individually via Settings, re-registering all apps for all users using PowerShell command),
I've also set full permissions of %ProgramFiles%\WindowsApps
, %LocalAppData%\Packages
, %ProgramData%\Packages
to Administrators & Everyone.
I have also tried monitoring activity using ProcMon (Process Monitor by Sysinternals). However it looks like everything's fine, no file read or write rejects on the time error happens.
I did not install any new programs or updates before of after this happened out of the blue.
Please help, I cannot reset my built-in Administrator account (this cannot be done)!
P.S. I looked all over the Internet but found only 3 short discussions about this problem, people chose to give up in all of them & reinstall Windows entirely. I cannot afford a reinstall at this time.