Share via

Exit kiosk mode with local account in windows 10 Pro

Anonymous
2023-05-04T07:53:22+00:00

I tried to set up kiosk mode for my laptop to run WPF single app. Firstly, I turn on Shell Launcher in Turn Windows features on or off and run script in powershell with admin right to open my WPF app then restart device.

After restart and login local account (only this account in my laptop because I don't know must create another account for Kiosk mode), my laptop always displayed a black screen and I can't do anything. What is the problem and how to exit kiosk mode? Currently, only pressing Ctrl + Alt + DEl key is working but still can not exist kiosk mode. Please help me!

Here is the script I'm using:

$ShellLauncherClass = [wmiclass]"\\localhost\root\standardcimv2\embedded:WESL_UserSetting"
$ShellLauncherClass.SetDefaultShell(path to my WPF app,1)
$ShellLauncherClass.SetEnabled($TRUE)
Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

7 answers

Sort by: Most helpful
  1. Anonymous
    2023-05-04T08:37:07+00:00

    Hi HuynhMinh64,

    I'm Amr, an independent advisor, and will try to help you with this.

    There are a few things you can try to do to exit kiosk mode

    Method one:

    Press Ctrl + Alt + Delete to open the Task Manager.

    Click on "File" in the top left corner, and then click "Run new task".

    Type "explorer.exe" into the "Open" field and press Enter.

    This should bring up the desktop and allow you to access your files and settings.

    Once you are back in the default shell, you can disable kiosk mode by running the following PowerShell command with administrator privileges:

    Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "Shell" -Value "explorer.exe"

    This will set the default shell back to explorer.exe and disable kiosk mode.

    Method two :

    Use the Command Prompt to disable kiosk mode. Once you are in Safe Mode with Command Prompt, type the following command and press Enter:

    net user administrator /active:yes

    This will enable the built-in Administrator account. Then, type the following command and press Enter:

    net stop wuauserv

    This will stop the Windows Update service. Finally, type the following command and press Enter:

    shutdown /r /t 0

    This will restart your computer and exit kiosk mode.

    If you don't know how to enter safe mode , please head to this link

    https://support.microsoft.com/en-us/windows/sta...

    I hope this helps, please feel free to reply to this if you need any further Assistance.

    This is a user-to-user support forum. We're users just like you helping other users to find solutions to their problems.

    Best Regard

    Amr

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-05-04T09:19:48+00:00

    Hi agian HuynhMinh64,

    Please refer to this link to guide you on how to do that

    https://learn.microsoft.com/en-us/windows/confi...

    If you have any further inquiries concerning it, I would recommend posting in the Q&A or Technet forum, as this is the intended audience for these types of queries:

    https://learn.microsoft.com/answers/

    https://social.technet.microsoft.com/Forums/

    This is just a consumer forum for home users.

    Best Regard

    Amr

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-05-04T08:44:48+00:00

    Hi Amr,

    Thanks you so much, the method 1 is working.

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-05-04T08:57:15+00:00

    Yeah Amr, I have 1 more concern that why after running the script my WPF app don't opening and black screen displayed instead of. So how to set up Kiosk mode single app for windows 10?

    0 comments No comments
  5. Anonymous
    2023-05-04T08:55:05+00:00

    Hi agian HuynhMinh64,

    You are welcome!

    I am glad I could help.

    If you have any other questions or concerns, feel free to ask.

    Best Regard

    Amr

    0 comments No comments