Azure / Azure/WindowsAppKiosk

Deployment of WindowsAppKiosk to Self-Deployed enrolled devices

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
18
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have been trying to deploy this package for a few weeks now with no luck. I keep running into issues with the win32 app installation failure.

We have teste don both User affinity enrolled devices and self-deployed enrolled devices. Both are sitting on "Waiting for install status".

I am testing on both Windows IoT 2024 LTSC Eval and Windows 11 Enterprise devices. Both show the same issue.

We have run through everything we can think of:

- Checked IME and confirmed setup and working
- ESP configuration complete, neither OOBE or ESP tasks pending
- Signed ps1 scripts in package incase MOTW was blocking PowerShell scripts
- Enabled Shell Launcher feature on the device

This is the problem we can see on the UA device: "Shell Launcher configuration failed. Computer should be restarted first."

We have restarted this multiple times and still get the issue, even the remediation script to check if Shell Launcher feature is enabled forces a restart once it runs.

The Self-Deployed device is just sitting on the Windows login screen, it has completed OOBE and ESP but is also not deploying when added to the group the Kiosk App is assigned to. This is a device group, the App is set to run in SYSTEM context.

Even when we try to manually run the install command in PowerShell on the User Affinity device we get the following issue when running powershell.exe as a domain admin:

Enabling Windows App Shell Launcher with Autologon via WMI MDM bridge. This could take several minutes.
The property 'ShellLauncher' cannot be found on this object. Verify that the property exists and can be set.
At C:\Temp\WindowsApp\Scripts\Functions\AssignedAccessWMIBridge.ps1:16 char:5
+ $AssignedAccessCsp.ShellLauncher = $EscapedXml
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound

Set-CimInstance : Cannot bind argument to parameter 'InputObject' because it is null.
At C:\Temp\WindowsApp\Scripts\Functions\AssignedAccessWMIBridge.ps1:17 char:34
+ Set-CimInstance -CimInstance $AssignedAccessCsp
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Set-CimInstance], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.Management.Infrastructure.CimCm
dlets.SetCimInstanceCommand

Write-Log : Shell Launcher configuration failed. Computer should be restarted first.
At C:\Temp\WindowsApp\Set-WindowsAppKioskSettings.ps1:423 char:9
+ Write-Log -EventLog $EventLog -EventSource $EventSource -Entr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Log

Log:

PS C:\Temp\WindowsApp> Get-WinEvent -LogName 'Windows-App-Kiosk' -MaxEvents 20 | Format-List TimeCreated, Message


TimeCreated : 17/04/2026 4:37:48 PM
Message : Shell Launcher configuration failed. Computer should be restarted first.

TimeCreated : 17/04/2026 4:37:48 PM
Message : Enabling Windows App Shell Launcher with Autologon via WMI MDM bridge. This could take several minutes.

TimeCreated : 17/04/2026 4:37:48 PM
Message : Starting Assigned Access Configuration Section.

TimeCreated : 17/04/2026 4:37:48 PM
Message : Configuring Kiosk Directory ACLs

TimeCreated : 17/04/2026 4:37:48 PM
Message : Creating KioskSettings Directory at root of system drive.

TimeCreated : 17/04/2026 4:34:28 PM
Message : Running Script to install or update the Windows App.

TimeCreated : 17/04/2026 4:34:25 PM
Message : Starting Remove Apps Script.

TimeCreated : 17/04/2026 4:34:25 PM
Message : No elements of Custom Kiosk Mode were found to remove.

TimeCreated : 17/04/2026 4:34:25 PM
Message : Executing 'C:\Temp\WindowsApp\Remove-KioskSettings.ps1'.

TimeCreated : 17/04/2026 4:34:25 PM
Message : Reinstall switch detected. Existing kiosk settings will be removed before applying new configuration.

TimeCreated : 17/04/2026 4:34:25 PM
Message : Starting Windows App Kiosk Configuration Script
Script Full Name: C:\Temp\WindowsApp\Set-WindowsAppKioskSettings.ps1
Parameters:

Key Value
--- -----
InstallWindowsApp True
AutoLogonKiosk True
WindowsAppShell True
WindowsAppAutoLogoffConfig ResetAppOnCloseOrIdle
WindowsAppAutoLogoffTimeInterval 15
Reinstall True


Running on: Microsoft Windows 11 Enterprise version 10.0.26200.8246

TimeCreated : 17/04/2026 3:48:09 PM
Message : Shell Launcher configuration failed. Computer should be restarted first.

TimeCreated : 17/04/2026 3:48:08 PM
Message : Enabling Windows App Shell Launcher with Autologon via WMI MDM bridge. This could take several minutes.

TimeCreated : 17/04/2026 3:48:08 PM
Message : Starting Assigned Access Configuration Section.

TimeCreated : 17/04/2026 3:48:08 PM
Message : Configuring Kiosk Directory ACLs

TimeCreated : 17/04/2026 3:48:08 PM
Message : Creating KioskSettings Directory at root of system drive.

TimeCreated : 17/04/2026 3:45:34 PM
Message : Running Script to install or update the Windows App.

TimeCreated : 17/04/2026 3:45:31 PM
Message : Starting Remove Apps Script.

TimeCreated : 17/04/2026 3:45:31 PM
Message : No elements of Custom Kiosk Mode were found to remove.

TimeCreated : 17/04/2026 3:45:31 PM
Message : Executing 'C:\Temp\WindowsApp\Remove-KioskSettings.ps1'.

Any ideas on how to fix this or what could be the cause? Are there any pre-requisites required that are not listed in the GitHub repository?

Thanks,
J

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.