How to Convert my LabVIEW App into a Universal Windows Platform (UWP) App for Windows Kiosk Mode

Updated Feb 13, 2019

Reported In

Software

  • LabVIEW

Operating System

  • Windows

Issue Details

I have created a LabVIEW Application and I now want to convert it into a UWP App to use it in Windows Kiosk Mode limiting the access to Windows Explorer functionalities.

Solution

The UWP integration is not supported on LabVIEW, but you can use Kiosk mode or make the Front Panel of your application to take up the entire screen.

Set Up Kiosk Mode

It is possible to set up the kiosk mode by replacing the Explorer Shell with your built executable file.

1. Open Registry Editor. Type regedit in RUN or Start Menu search box and press Enter.

2. Now you'll need to tell Windows which EXE file should it use as default Windows shell or user interface. There are 2 ways to do it:
 

  • You can set your customized shell for currently logged in user only (Step 3)
  • Or set the customized shell for whole system including all user accounts (Step 4)
 

3.a. If you want to set the customized shell to currently logged in user only which is also recommended, go to following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies


3.b. Under "Policies" key look for another key named "System". If its not present, create it manually.


3.c. Select "System" key and in right-side pane, create a new String value Shell and set its value to the full path of your desired program. For example, if you modified Explorer.exe file and saved it somewhere else such as E:\MyExplorer.exe, then set value to E:\MyExplorer.exe
 

Set_Custom_Shell_User_Interface_Current_Windows_User.png
 

3.d. Once the above steps are completed, restart your system and you'll see your desired program once you log into Windows.

4.a. If you want to set customized shell for whole system including all user accounts, go to following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon


4.b. In right-side pane, look for String value Shell. Its value would be set to explorer.exe. Double-click on it and change its value to your customized Explorer.exe path or to shell program's full path as mentioned in step 3.c.
 

Set_Custom_Shell_User_Interface_All_Windows_Users.png
 

4.c. You can now restart your system and it will boot into your desired shell program.

NOTE: If you face problems after changing the shell or you want to restore default user interface, press Ctrl+Shift+Esc keys together to launch Task Manager. Click on File -> New Task option and type Regedit and press Enter. It'll open Registry Editor. Now you can safely remove Shell string value created in step 3.b to restore default Explorer.exe file as Windows shell. Or if you modified value of Shell string using step 4.b, restore its value to explorer.exe and restart your system.


For further information, please refer to How to Apply and Safely Use Custom User Interface (Shell or Explorer) in Windows?.


Make the Front Panel occupy the entire screen

Please, refer to Make a LabVIEW Front Panel Occupy the Entire Screen for detailed instructions.