Ticket ID: 26019
|
Creation Date: 10/27/2021 8:14 PM
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
TicketType: Support Request
|
Version: 9.7.5026
|
Language: English
|
Views: 6799
|
Last Modification Date: -
|
Platform:
|
|
Level: Closed
|
Modified By: -
|
|
|
Support Request: Can't run Shell in restricted user
Hello,
I'm trying to achieve the following:
Running a local node server which will serve my website locally, so SiteKiosk can access it via "localhost:5000". My setup works fine during "Start Once" Mode but it appears that my script won't run correctly in the restricted user.
This is my script:
Set oShell = CreateObject("WScript.Shell")
oShell.Run "serve -s C://PROGRA~2/SiteKiosk/Html/build", 2
This script lies in "C://PROGRA~2/SiteKiosk/Html/" as is recommend in the docs.
I have added "cmd" (with the path: C://windows/system32/cmd.exe to the list of allowed applications.
I also removed the "ConsoleWindowClass" entry from the list of blocked windows & dialog boxes under "Access/Security-->Block system critical windows & dialog boxes-->Settings"
The only hint of something going wrong I can find is this line in the logs when running in "Auto" (restricted user):
"... [SiteKiosk] (null): "(null)" at line 1, char 0"
which is not really helpful.
Am I missing something? Thank you.