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: Configure Autostart with command line

Description

Hi,

We have accidentally deleted sitekiosk users accounts on our kiosks. Now, we've pushed down to create user accounts back. But we still need to login and start sitekiosk, click on "Auto Start", button, then user selection box will prompt, and then we have to select the 'sitekiosk' user, and click OK, to autostart.

The above step can be achieved in command line so that we push down the script so that the technician doesn't have to go down to the site.
Thanks.

Answer: (3)

Re: Configure Autostart with command line 3/26/2021 2:15 PM
Hello,

Thank you for your inquiry. Please be mindful that the restricted user has certain polices enforced for additional security, it is best to follow steps given in this post:

https://www.provisio.com/en-US/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=25780

See SiteKiosk User Policies: https://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?policies.htm

If you want to set Auto Start via Command Prompt, you first will need to generate the startup.xml file. To do that:

Step 1 – Create startup.xml file

- Open the ("Start SiteKiosk" application) SiteKiosk Quick Start menu and click “Customized”.
- Ensure the proper Auto Start settings are selected (Run automatically, Settings only apply to restricted user, Log on automatically, etc...)
- Click the Export button. Save the startup.xml file in a location you will remember for the next step.

Step 2 – Apply start settings

- Move the startup.xml file from step 1 to the location “C:\Program Files (x86)\SiteKiosk\”
- Run the following in the command line (or save it as a batch file command):

“C:\Program Files (x86)\SiteKiosk\skstartup.exe” /i “C:\Program Files (x86)\SiteKiosk\startup.xml”

- You should see a message that the settings were applied if successful. Restart Windows and SiteKiosk will go into Auto Start mode if the settings are correct.

See further information here (7. Export SiteKiosk startup options): http://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/default.htm?select_starting_mode.htm

Best regards,
Andre.
Re: Configure Autostart with command line 3/29/2021 11:55 AM
Hi Andre,

Thanks you for your advice. We've tried that solution and unfortunately, even though it automatically logs into the sitekiosk user account, but still unable to auto-start the SiteKiosk. Any idea what might be the issue? We tried something workaround by addtion the sitekiosk.exe command to "HKLM/Software/Microsoft/Windows/CurrentVersion/Run". This will trigger the sitekiosk.exe upon login, but not sure if this is the proper way. Thank you.
Re: Configure Autostart with command line 3/29/2021 2:44 PM
Hello,

Thank you for your inquiry. Possibly, if your configuration is not set properly (deletion of default Surfing Area rules), then you may get a white screen and SiteKiosk not fully started. If you are part of a domain with strong anti-malware software, then you will get a black screen. This is due to a flag set by that software where Shell (in registry) is no longer Explorer.exe but SiteKiosk.exe .

Normally, if SiteKiosk works in Start Once mode but not Auto Start, then the cause is external. Try uninstalling that security software (anti-malware and anti-virus) and test. Then, check your group policy settings if the cause is not your security software.

Here is a general example of how to handle security exceptions of SiteKiosk: https://www.provisio.com/en-US/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=25676
You can find more official documentation on this here, Section 1.3 #3 - https://www.provisio.com/helpconsole/SiteKiosk%20Help/en-US/select_starting_mode.htm

Best regards,
Andre.