I configured a multi-app kiosk for some of my users using Assigned Access on Windows 10 .
It works great but I'm struggling to prevent them from opening multiple instances of the same program. I've tried replacing the .lnk to the apps with scripts that check for a running instance of the program before opening it. But this still does not work when you "click really fast".
I add said script, but this is just the approach I came up with. And I'm fine with any solution.
Set objShell = CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
strProgramName = "chrome.exe"
Set colProcesses = objWMIService.ExecQuery("SELECT * FROM Win32_Process WHERE Name = '" & strProgramName & "'")
If colProcesses.Count > 0 Then
objShell.AppActivate "App name"
Else
objShell.Run "chrome.exe --app=http://x.x.x.x"
End If