We're utilising Windows 10 LTSC IoT Enterprise 2019 to deploy a UWP (Sideloaded via Intune) kiosk app for a self-serve PoS, and facing a number of issues with the uptime of our devices.
Our kiosk profile is fully setup and configured via Microsoft Intune, we have a number of provisioned devices deployed into production environments, however all of them face random blue screen issues when the app crashes, restarts or updates.
I have spent three days this week attempt to try to identify the cause, however nothing seems obvious. There are a number of random errors that do show in the AppXDeployment-Server Event Viewer logs:
error 0x80070005: Opening file from location: TESTBLUESCREENAPP_188.8.131.52_neutral_~_d705ytxceh5t2.xml failed with error: Access is denied.
The check for how TESTBLUESCREENAPP_184.108.40.206_neutral_~_d705ytxceh5t2 applies to user S-1-12-1-3773057833-1191388284-959488690-126330809 failed with Access is denied..
Determining packages to be installed during logon for user: S-1-5-21-3112998706-1580087439-4190299968-1001.
And in the case of when our app updates we also sometimes see this:
error 0x80070057: Unable to relaunch app TESTBLUESCREENAPP__d705ytxceh5t2!App after the app was serviced.
I have this week tested this with a standard out of the box UWP app targeting Build 17763, with just a view, and two buttons; one to update the app and one to restart the app. The app is deployed and working until we press one of the buttons. The update function utilises a nuget package running on BG task (Dwrandaz / AutoUpdateComponent)
Here's our app in Assigned Access mode provisioned via Intune:
The restart app button makes a call to the API CoreApplication.RequestRestartAsync.
When invoking this call in the app in Assigned Access / Kiosk mode, the app always closes, but sometimes it relaunches and sometimes it does not. When the app fails to relaunch, we see only a blue screen with a windows Progress Ring shown:
When we see this screen, no events are written to the event viewer. The computer simply hangs on this screen forever or until a Ctrl+Alt+Del is sent and the PC has to be fully restarted!
There seems to be no obvious cause, but I do notice other people facing the same issue:
When we push the Update button, the app always updates to the next version. Then, sometimes it reloads as expected, and sometimes it does not. When it does not, we see the app logo initially:
Then followed by a blue screen like this after maybe 60 seconds:
And again the only way to exit this is to send Ctrl+Alt+Del, but this time the PC does not need to be reset, it will login to the Kiosk account again and the app with show with the new version installed.
As you can imagine this does not look good on a kiosk in the middle of an airport for example! The inconsistency of restarting the app and updating the app is a big problem.
Can anybody point me to any possible answers?