Welcome › Forums › General PowerShell Q&A › PowerShell script to enable multi-app kiosk
- This topic has 2 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
Participant.
-
AuthorPosts
-
-
November 26, 2020 at 4:17 am #274299
Hi,
I have done a PowerShell script that enables a multi-app kiosk with the help of a provisioning package, it works fine.
But now I’m looking for something to be able to set and use variables inside the kiosk XML configuration.
I would like to create shortcut with some parameters that is getting it’s data from variables. For example,
XHTML1DesktopApplicationLinkPath=<span class="s">"%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Main server.lnk /v:$Server /f /multimon"</span>I want to be able to set the $Server to different value depending on the computer I’m installing the kiosk mode on.
Because now I must change the XML file and create a new provisioning package.
So is it possible to have the XML configuration inside the Powershell script and push the settings to Windows Assigned Access (kiosk), like the provisioning package does?
Thanks.
-
November 27, 2020 at 12:10 am #274515
Should be possible, but having a look at your script will be easier for folks trying to help you out. Better if you can share a sample code.
its important to know how the xml is consumed in the script. -
December 1, 2020 at 2:41 am #275529
I solved it, the problem was that the script needed to be run as “SYSTEM”, so with the help of psExec it worked fine.
Thanks.
-
-
AuthorPosts
- You must be logged in to reply to this topic.