How to finish setup of the kiosk account

Povilas Bialoglovis 20 Reputation points
2023-04-25T06:01:07.17+00:00

Hello, so at work I have couple PC to setup as a Kiosk PC. Meaning that they will be used to play a game and only that. I used regedit to create new string and it launch the game as soon as you login to account. Now where i got stuck is two places: Need to make that none of the keyboard shortcut would not work for that account. and second I need to setup it that every time some1 click exit from the game it would reopen the game.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,989 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 44,121 Reputation points
    2023-04-25T14:49:27.11+00:00

    Hi, I'd be happy to help you out with your question. Sorry for the inconvenience caused. To disable keyboard shortcuts for the kiosk account, you can use the Group Policy Editor to restrict the use of keyboard shortcuts. Here's how you can do it:

    1. Press the Windows key + R to open the Run dialog box.
    2. Type "gpedit.msc" and press Enter to open the Group Policy Editor.
    3. In the Group Policy Editor, navigate to User Configuration > Administrative Templates > Windows Components > File Explorer.
    4. Double-click "Turn off Windows+X hotkeys" and select "Enabled".
    5. Click Apply and then OK to save the changes. This will disable the use of Windows+X hotkeys, which includes the shortcut keys used to open the Start menu, taskbar, and other Windows features. Regarding your second concern, to automatically reopen the game after it's closed, you can create a batch file that will automatically launch the game when it's closed. Here are the steps to create the batch file:
    6. Open Notepad.
    7. Type "start "C:\Path\To\Game.exe"" (without the quotes), replacing "C:\Path\To\Game.exe" with the path to the game executable file.
    8. Click on File > Save As.
    9. In the Save As dialog box, choose a location to save the file and name it something like "restart_game.bat". Be sure to change the file type to "All Files (.)" and add .bat to the end of the filename.
    10. Click on Save to save the file.
    11. Right-click on the game shortcut on the desktop and select Properties.
    12. In the Target field, add the following to the end of the target path: "C:\Path\To\restart_game.bat" (again, without the quotes), replacing "C:\Path\To\restart_game.bat" with the path to the restart_game.bat file you created in step 4.
    13. Click OK to save the changes. Now, whenever the game is closed, the batch file will automatically launch the game again. For more Information, please refer to following resources :-
    1. Set up a single-app kiosk on Windows 10/11 - https://learn.microsoft.com/windows/configuration/kiosk-single-app
    2. Configure kiosks and digital signs on Windows desktop editions - https://learn.microsoft.com/windows/configuration/kiosk-methods If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.


1 additional answer

Sort by: Most helpful
  1. Kapil Arya 7,946 Reputation points MVP
    2023-04-25T11:52:43.08+00:00

    I believe you couldn't block keyboard shortcut. If you exit the app in kiosk mode, it will reopen the app, since only one app is running in kiosk mode.

    0 comments No comments