question

NorbertLeupi-1331 avatar image
0 Votes"
NorbertLeupi-1331 asked YuZhou-MSFT commented

Edge Chromium support for Kiosk Mode with Powershell Commandlet Set-AssignedAccess?

Hi all,

Untill last week (early july 21), on about forty of our clients we ran a edge legacy based kiosk mode that we set up with powershell command "Set-AssignedAccess -AppUserModelId Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge -UserName "kioskuser"". All was working smoothly for more than a year.

Unfortunately, after patching those clients, CU for Windows removed edge legacy and installed edge chromium instead. The blue screen with kiosk error code 0xffffffff now appeared when starting those kiosk clients.

We cleared assigned access with "Clear-AssignedAccess" and tried to set up kiosk with the powershell command "Set-AssignedAccess -AppUserModelId MSEdge -UserName "kioskuser"" (we changed the AppUserModelId parameter to the AUMID for Edge Chromium (MSEdge), which we found with the command Get-StartApps).

Bad news: it fails with error "New-CimInstance : One or more parameter values passed to the method were invalid....."

Our Windows Version is 20H2 (OS Build 19042.985), Edge Version is Edge Stable Ver. 91.0.864.67

Can anyone tell me wether theres a way to set up kiosk with Edge Chromium with Powershell command Set-AssignedAccess? And without Beta or Insider Preview Software, as we don't want to run this kind of software in production environments.

At the moment the only way to set up kiosk mode successfully is to do this manually via settings -> accounts -> other users -> Set up a kiosk, as we don't yet use InTune or whatever.

Thank you in advance

Norbert

ms-edge
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YuZhou-MSFT avatar image
0 Votes"
YuZhou-MSFT answered YuZhou-MSFT commented

Hi @NorbertLeupi-1331

I made a test with PowerShell command Set-AssignedAccess -UserName Admin -AppName "Microsoft.MicrosoftEdge.Stable" and it doesn't work indeed.

I think the reason is that Edge Chromium is not uwp app but setting assigned access using PowerShell only supports uwp type.

For more information, you can refer to this doc and this thread.

116223-image.png


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Regards,
Yu Zhou


image.png (15.0 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Yu Zhou,

thank you for your answer. With your hint it is possible for me to execute the command without error.

But when I log in tho the kiosk with our local kiosk accoun, it won't be able to log in an instead, screen flickers and shows turning circle

also, in the registry, configuration shows up how its for a UWP App, not for the x86 desktop app Edge Chromium:
115449-grafik.png



Does that this command possibly enable kiosk mode with edge legacy insted of edge chromium?

Best regards
Norbert

0 Votes 0 ·
grafik.png (21.1 KiB)

Hi @NorbertLeupi-1331

I have updated my answer, please check it.

Best regards,
Yu Zhou

0 Votes 0 ·

Hi @NorbertLeupi-1331

May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·