Launch Chrome Kiosk Mode in Scheduled Windows Access 10

The good news is that Windows 10 has assigned access support to run the desktop application (Win 8.1 only supports launching universal applications). I want to run Chrome kiosk mode using --kiosk on the command line.

There is a tutorial at the bottom of this article. https://technet.microsoft.com/en-us/library/mt219051(v=vs.85).aspx

However, I am very new to Powershell. Can someone explain

  1. How to launch Chrome in kiosk mode PowerShell? My command line is: "C: \ Program Files (x86) \ Google \ Chrome \ Application \ chrome.exe" --kiosk http://my.website.com

  2. How to use the script at the bottom of the article?

Thank you

+5
source share
2 answers

This worked for me, but I had to change this line:

"`nEnabled is set to " + $DefaultShellObject.IsEnabled()

For this:

"`nEnabled is set to " + $DefaultShellObject.Shell
0
source

I know that a few months after you asked, but I just did it and it works. Your line should look like this:

$ShellLauncherClass.SetCustomShell($KioskUser_SID, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --kiosk http://my.website.com", ($null), ($null), $restart_shell)
-1
source

Source: https://habr.com/ru/post/1611845/


All Articles