The issue is that some Provisioned Windows applications on Windows 1903 are not working properly as they open briefly and disappear. To troubleshoot this problem, you can check the Application logs in the Event Viewer and look for Event ID 1000 events.

Another option is to examine the Microsoft-Windows-TWinUI/Operational log within the Event Viewer | Application and Services Logs | Microsoft | Windows | Apps, where you may find Event ID 5961 events recorded.

Event Viewer Error Codes

  • Event ID: 1000: Exception code: 0xc000027b
  • Event ID: 5961: Error code: Unknown HResult Error code: 0x80040904. Activation phase: COM App activation

Some of What I’ve Tried

I attempted to execute the PowerShell script provided and reinstall the affected applications, and although the process seemed to complete without any issues, the problem persists.

$wAppPath = (Get-AppxPackage -Name "*Calc*").InstallLocation;
Add-AppxPackage -Path "$wAppPath\Appxmanifest.xml" -Register -DisableDevelopmentMode;

I’ve tried a few things to solve the problem, including running sfc /scannow and various dism commands, as well as rebooting the system. Unfortunately, none of these attempts have resolved the issue.

Event Viewer Details

Event ID 1000

Faulting application name: Calculator.exe, version: 10.1812.1901.4008, time stamp: 0x5c304989
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.18362.356, time stamp: 0x0825b5b0
Exception code: 0xc000027b
Fault offset: 0x0000000000712cf0
Faulting process id: 0x1518
Faulting application start time: 0x01d568dbe3b0f42c
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1812.10048.0_x64__8wekyb3d8bbwe\Calculator.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 23d86f95-8eec-407b-b52c-86043d6d0426
Faulting package full name: Microsoft.WindowsCalculator_10.1812.10048.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Event ID 5961

Activation for Microsoft.WindowsCalculator_8wekyb3d8bbwe!App failed. Error code: Unknown HResult Error code: 0x80040904. Activation phase: COM App activation
Askify Moderator Edited question May 3, 2023