A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Hello @dev ,
I reviewed your follow‑up notes. Assigned Access only lists supported Store/UWP apps. A custom Win32 .exe must use Shell Launcher with per‑user mapping. The “contact admin” block is typically SmartScreen, AppLocker/WDAC, or file trust restrictions. According to Microsoft document, I have some solutions you can try:
- Restore normal desktop
Run as Administrator:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /d explorer.exe /f
Reboot → your main account will be back to normal.
- Unblock the .exe from Windows security
- Right-click the .exe → Properties → tick Unblock if you see it
- Temporarily turn off SmartScreen (just for testing): Windows Security → App & browser control → Reputation-based protection → Off Microsoft Defender SmartScreen overview
- If AppLocker is running → add an Allow rule for your .exe AppLocker executable rules
- If WDAC is running → allow the file hash or signer WDAC policy rules and file rules
- Put the .exe in a trusted folder
Best location:
C:\Program Files\YourApp\YourApp.exe
(never leave it on Desktop or Downloads)
- Set up Shell Launcher (per-user – the correct way)
Open PowerShell as Administrator and run this exact script:
# Change this to your kiosk account name
$KioskUser = "KioskUser"
$sid = (Get-LocalUser -Name $KioskUser).SID.Value
$ShellLauncher = Get-CimInstance -Namespace "root\standardcimv2\embedded" -ClassName WESL_UserSetting
# Normal desktop for everyone else
$ShellLauncher | Invoke-CimMethod -MethodName SetDefaultShell -Arguments @{ Shell = "explorer.exe"; ReturnCode = 0 }
# Your app only for the kiosk user
$ShellLauncher | Invoke-CimMethod -MethodName SetCustomShell -Arguments @{
Sid = $sid
Shell = "C:\Program Files\YourApp\YourApp.exe"
}
Write-Host "All done – reboot now!" -ForegroundColor Green
Full official guide (this exact script is there):
Configure Shell Launcher using PowerShell
- Reboot and log in as the kiosk user
Your .exe will launch automatically in full-screen kiosk mode.
All other accounts stay completely normal.
I hope this helps resolve the issue! Let me know if you need further assistance.