Company Christmas Holidays
North American Headquarters in Miami, USA: Dec 25, 2015, Jan 1st 2016
European Headquarters in Muenster, Germany: Dec 21, 2015 until Jan 03rd 2016
Limited support is available during this period.
We at PROVISIO wish you Merry Christmas and a Happy New Year!

 

Support Request: UDP windows shutdown script

Description

Hello,

We installed a PC with Sitekiosk in a museum. All of the museum's PCs are switched on and off using a UDP command.
In order for this to work, an .exe is run when the windows session is opened (see attachment).
Due to Sitekiosk restrictions, it seems that this script is not executed.

Can you help me and tell me how to run this script via Sitekiosk?

Thank you in advance.

Answer: (3)

Re: UDP windows shutdown script 6/15/2020 9:57 AM
Hello,

Please understand that our free support cannot offer any assistance with creating your own code. But here are some general tips for your concern:
In general, you should launch the application or script independently of the SiteKiosk user, who has only limited rights.
To do so you may use the task scheduler function of the Windows system.

Furthermore, some windows (e.g. the command line window) are blocked by SiteKiosk.
Therefore, you should run the script / application without a visible window. Alternatively, you may have to adjust SiteKiosk's so-called Window & Dialog Management - see also:
https://www.provisio.com/en-GB/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=5676

Otherwise, it is easier to shut down the computer at certain times by using the corresponding setting in the SiteKiosk configuration (-->Maintenance).
Further information: https://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?maintenance.htm
This method would also be preferable since SiteKiosk will otherwise be terminated externally, resulting in an "abnormal SiteKiosk program termination" in the log (as if it has crashed).

Regards,
Michael Olbrich
Re: UDP windows shutdown script 6/15/2020 10:03 AM
Of course, we're not asking you to review the script. It was just provided to provide a little context.
Thank you so much for your prompt response.
We will try to adapt the procedure for this PC.
Have a nice day.
Kind regards,
Frédéric
Re: UDP windows shutdown script 6/15/2020 10:05 AM
Thank you for your feedback.

Additional Note:
SiteKiosk does not contain a firewall or antivirus function and has no direct influence on external applications.
Instead, it contains 2 settings that restrict the execution of external applications:

1. Windows & Dialogs Management:
SiteKiosk can block certain dialogs with using the Windows & Dialogs Management.
If you want / need to allow a specific Dialog that is blocked by default you can create a new entry with corresponding title at “-->Access/Security-->Block system critical windows & dialog boxes-->Settings” (or even delete the corresponding entry that blocks the window)

When SiteKiosk blocks a certain window you will find a notification in the SiteKiosk log (…\SiteKiosk\Logfiles).
Example:
[SiteKiosk] Notification: According to the windows monitoring rule(Title:'xxxxxx' Class:'xxxx') the window (Title:'xxxxxxxx' Class:'xxxxxxxxx') will be closed

Further information here:
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?windows___dialoge.htm
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?handling_of_windows.htm
https://www.provisio.com/en-GB/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=5676

2. User access rights of the SiteKiosk user:
In “Auto Start” mode the SiteKiosk Browser will be started within the restricted local SiteKiosk user account.
This also applies to access rights to the folders (read only, read & execute, blocked….) and blocking certain EXE programs.

To change user rights for the SiteKiosk user you can use the System-Security-Manager (e.g. providing full access to the folder where the EXE you want to start is stored to).
Further information here:
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?step_2_-_security_manager.htm
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?advanced.htm
http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?access_rights1.htm


You may also check this troubleshooting guidelines for using external applications:
http://devblog.provisio.com/post/2015/05/15/Troubleshooting-Guidelines-for-Using-External-Applications-with-SiteKiosk.aspx