Category filter

Script to set up website kiosk on Windows devices

Website kiosk is a restrictive browsing environment that limits access to a single website within a specified browser. Setting up a website kiosk restricts the user from accessing any websites other than the dedicated one specified for the kiosk, which is ideal for creating guided learning experiences in schools or providing access to online resources in public libraries. With the help of a script, IT admins can set up a website kiosk for a particular user account, wherein the kiosk activates each time the account is accessed. IT admins can execute the script by using Hexnode’s Execute Custom Script remote action.


  • The script is supported on Windows 10 and 11 devices.
  • Ensure that the Chrome app is installed on the device before executing the script.


The sample script provided below are adapted from third-party open source sites.

PowerShell script to enable website kiosk mode

To enable kiosk mode on the desired user account, replace ‘User’ with the actual username of the device.

Replace the “TaskName” with a unique name of your preference throughout the script. Before scheduling the new task, any pre-existing task with the same name should be unregistered from the task scheduler.

After that the script terminates Windows Explorer and runs the Google Chrome app in kiosk mode, displaying the specified website in full-screen mode. Replace the URL ‘’ in the script with the desired web address for the website to be displayed in kiosk mode.

The script uses the try and catch blocks to handle any exceptions that occur during execution.

What happens at the device end?

If the account is already logged in when the script is executed, the device is required to be restarted. After executing the script, the website kiosk scheduled for the specified user account will be activated whenever the account is accessed.


  • The script will result in an error if the mentioned user account is not on the device.
  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository