Edge Chromium Kiosk Crashing

Michael Howk 1 Reputation point


I'm trying to setup some public-use computers to be used as a kiosk running Edge Chromium. I'm following this article from Microsoft: https://learn.microsoft.com/en-us/windows/configuration/kiosk-shelllauncher under the section "Configure a custom shell using PowerShell".
I've modified these lines:
$Cashier_SID = Get-UsernameSID("Cashier"), and replaced "Cashier" with the account name of a domain user.
$ShellLauncherClass.SetCustomShell($Cashier_SID, "c:\program files\internet explorer\iexplore.exe www.microsoft.com", ($null), ($null), $restart_shell), and replaced it with:
$ShellLauncherClass.SetCustomShell($Cashier_SID, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --kiosk --edge-kiosk-type=fullscreen --kiosk-idle-timeout-minutes=5", ($null), ($null), $restart_shell)

I have the homepage set through GPO, and the kiosk works great sometimes.

The problem is that after a random amount of time, when the browser is set to refresh after 5 minutes of inactivity, the browser closes but doesn't relaunch. Sometimes it'll last 5 minutes, sometimes 45 minutes. In the Event Viewer I can see an 'Application Error' Event ID 1000 Faulting application name: eshell.exe.

This happens on new builds and previously deployed ones. The computers are running 20H2 and Edge Chromium is version 89.

Does anyone have any ideas about this, or have this working themselves?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,343 questions
{count} votes