Recast Kiosk Deployment via Task Sequence

Recast Kiosk Manager is a fan favorite, used by many of our Enterprise customers to help control machines with a few clicks.  Sometimes you want to deploy a computer and already have all of these settings applied, using the process Kiosk Manager uses, and stealing the end results, we can create a Task Sequence Module to deploy Recast Kiosk settings during OSD.
Here's the process:

  • Create Clean Reference Machine
  • Deploy Kiosk Template to Machine
  • Verify everything is to your liking
  • Gather the Recast Kiosk Setting Files
  • Create a ConfigMgr Package with those Files
  • Create a Task Sequence Module to deploy
  • Deploy a Machine with the Module and watch...

Here's a Clean Machine with no signs of Recast yet..

Now we apply the Kiosk Manager Profile:

You can actually see the folders being created while it's applying, then then automatically reboots when the apply is "Complete" in the Dialog.

After the reboot, it automatically logged on and applied the settings we wanted:

We then connect to the UNC Path of the machine and grab the files needed for my source package:
Create your Recast Kiosk Source Folder & create three subfolders ProgramData & Program Files.  Then copy the Recast Software Folders from both locations on your reference machine into your source.

Then drill down to ProgramData\Recast Software and delete the Logs & Configurator Folders, Don't need that.

While you're there, create the KioskProfile Folder, for the one more thing you need, the Kiosk Profile XML file.  

Now Export the Kiosk Profile to that Folder

Export the Kiosk Template XML file to the ProgramData\Recast Software\KioskProfile Folder:

Once you have your Source Files, we can create a ConfigMgr Package:

Now, we need to create the Task Sequence Module, which is 5 steps:

  • Copy ProgramData\Recast Software to Local Machine
  • Copy Program Files\Recast Software to Local Machine
  • Setup Registry Key: "Run Key"
  • Setup Registry Key: "Configurator" (references Profile file)
  • Enable Kiosk Mode  (Trigger Right Click Action via Configurator)
cmd.exe /c xcopy programdata* “c:\programdata\” /E /C /I /R /Y
cmd.exe /c xcopy “Program Files”* “c:\program files\” /E /C /I /R /Y
REG ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run” /V Apply /T REG_SZ /D “C:\Program Files\Recast Software\Configurator\Configurator.exe -Mode=Apply” /F
REG ADD “HKEY_LOCAL_MACHINE\SOFTWARE\Recast Software\Configurator” /V ConfigurationFileName /T REG_SZ /D “c:\ProgramData\Recast Software\KioskProfile\RecastKioskProfile.xml” /F
“c:\program files\Recast Software\Configurator\Configurator.exe” -Mode=Apply

Now you can add that "Module" Task Sequence as a sub task sequence and set the condition:

Now that the Module is added to our Primary OSD TS, and set the condition, we need to have a method of creating the condition (Variable)

You can set the Variable for the Task Sequence using a Front End, or a Collection:

Custom OSD Frontend that sets the Variable
Collection Variable

Now that we have everything setup.. lets run OSD!
For quicker Testing, you can Deploy just the Module to a set of workstations and give it a quick run:

To test easy, deploy just the module to some machines as available

Run the Module on a PC, you’ll have to manually reboot after.
Successful Test… After Reboot, it auto logged into the Kiosk Mode Profile

Now that we confirmed our Module works and applies the Kiosk Mode, we can run the full OSD task Sequence.

OSD Front End, Setting this as a KIOSK machine to create Variables
Running OSD

After it runs for awhile, and when it's done you have a built Windows 10 machine already all setup in Kiosk Mode:

In the Console, you can confirm that all is well in the Kiosk Manager

Now you have another way to deploy Kiosks.  You can use this do it during OSD, or use the Task Sequence Module to deploy as well.  Using the information in this post, it would be pretty easy to create a "portable" deployment using a powershell script with the source files on a flash drive to deploy on non-networked machines.  Let us know if this is a scenario you'd like in one of our upcoming blogs.