Category filter

Script to auto-launch app in multi-app kiosk on Windows

When working with multi-app kiosk systems, it may be necessary that a specific app launches itself at login. For instance, in self-service kiosks, having the primary app auto-launched can significantly enhance the user experience. Likewise, in educational institutions or corporate training centers, auto launching the app used as the teaching aid can improve the experience for both teachers and students. Additionally, in customer support centers, having the ticketing app auto-launched on their self-service kiosks will allow customers to input their queries promptly, enabling the support team to address them efficiently and improve the overall process. While not all multi-app kiosk systems may require auto-launching, when necessary, IT administrators can remotely execute the PowerShell script provided below, utilizing Hexnode’s Execute Custom Script feature.


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

Script to auto launch an app on multi-app kiosk mode

Save the below script with .ps1 extension and execute it.

Executing this script will cause the particular app to auto-launch whenever the user logs into the kiosk. That is, in this case, once the script is executed, Google Chrome will get launched automatically each time the user logs in to the kiosk account.

When executing the script, assign the username of the corresponding kiosk user, application path of the required app and the desktop application link path to the variables $kioskUsername, $AppPath and $AppLinkPath, respectively.

To fetch the desktop application link path, pin the application to start layout and export it by running the script given below:

For example,

Open the newly exported (XML) file to find the desktop application link path of the required app.

Export layout to fetch the application link path of required app


  • Ensure that the local user is present on the device before configuring kiosk mode.
  • 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