Kiosk mode
1 Introduction
Kiosk mode is for a machine that people use but must not reconfigure - a classroom, a training facility, a research lab, where students or trainees sign in to Windows as ordinary users. The rig stays usable: sessions can be run, and the platform can still be paused, parked and centered from the status bar. What it takes away is the ability to change how the motion platform is set up.
The short version: kiosk mode restrains configuration, not operation. If an action changes how the machine is set up, it is locked. If it changes what the machine is doing right now, it is not.
2 Turning it on
Go to Software configuration, under Kiosk mode, and switch it on. The application asks for a password, typed twice, and locks the settings the moment you confirm. That password is the only way to unlock them again. While kiosk mode is on, Change password replaces it; switching kiosk mode off removes it.
Kiosk mode can only be switched on or off at this computer, never from a browser on another device - switching it off remotely is exactly what it exists to prevent. Its settings - the password, the Remote access settings (the web interface switch and port, the channel port, keyless status requests), the paired devices and the API keys - are stored for the whole machine rather than for your user account, so the person using the kiosk cannot simply edit their own settings to escape it. Windows will therefore ask for administrator rights once, when you confirm, and once more for each change to those settings while kiosk mode is on. No new device can be paired and no API key created while it is on; removing them still works, at this computer, and asks for administrator rights too.
3 What kiosk mode locks
Until it is unlocked, these are refused and say so:
- every setting in Software Configuration, including kiosk mode and the password themselves
- adding, removing, renaming and enabling devices, and their configuration
- renaming, deleting, cloning profiles, and changing which are favorites
- creating, renaming, deleting and editing dashboards, and importing fonts or images for them
- importing a profile from the community
- changing Quick-Tune values, on the Quick-Tunes page and in the in-game menu (OSD)
- Quick-Tune favorites, and DIY settings
- pairing a new browser, and removing a browser that is already paired
- creating or revoking API keys
4 What kiosk mode leaves alone
These keep working while the machine is locked, because an operator - or a customer in the seat - needs them during a session:
- the status bar, with its pause, park and center controls - the rest of the interface sits behind a lock screen that asks for the password
- pausing all devices, and pausing one system at a time
- park and center
- blocking the effects
- switching profile, starting a game and switching the dashboard
- VR mapping, started at this computer
5 Commands sent by other software
Commands that arrive from outside the application - a mosy:// link, the
ForceSeatPM command line, a Stream Deck, the Control Deck, or the Remote Management API - follow the same
line, with two differences: they may stop or hold the platform but never set it moving
again, and VR mapping is only for somebody at this computer.
- allowed - reading the state, the profiles, the tunes and the devices; pause, park, center and block effects ON; switching profile, next and previous profile; starting a game; switching the dashboard (Control Deck)
- switched on only - a command that toggles pause, park, center or the effects block switches it ON, and is refused when it is on already, because switching it off would resume motion
- refused - the "off" direction of pause, park, center and the effects block; Quick-Tune; the OSD's menu; starting a program from the Control Deck
- VR mapping - allowed from this computer (a Stream Deck, a Control Deck open on this
computer); refused from a Control Deck on another device, a
mosy://link and the Remote Management API
6 Files on disk
Kiosk mode locks the interface and the settings it protects. On its own it does not protect files - the commands below let Windows block changes to the profiles and the motion scripts. Neither keeps anything secret: whoever uses the Windows account can still read what the application stores for it - profiles, motion scripts, logs, snapshots and recordings. The profiles and the motion scripts live in the Documents folder of the Windows account that is signed in:
%DOCS_DIR%\MotionSystems\ForceSeatPM
That is the folder of the account reading this page. If the students sign in with a different account, it has a Documents folder of its own, and the commands below must name that one.
Anybody using that account can open them in a text editor, and somebody who wants to prank the next user, or push a profile past what you set, can do it there without ever seeing the lock screen.
If that matters on your rig, protect the folder with Windows itself. Once the profiles are the way
you want them, open a Command Prompt as administrator and run these, with NAME
replaced by the account the students sign in with - the name whoami prints in a Command
Prompt opened in that account, which is not always the name of its folder:
icacls "%DOCS_DIR%\MotionSystems\ForceSeatPM" /setowner *S-1-5-32-544 /T /Cicacls "%DOCS_DIR%\MotionSystems\ForceSeatPM" /deny "NAME:(OI)(CI)(WD,AD,WEA,WA,DE,DC,WDAC,WO)" /T /Cicacls "%DOCS_DIR%\MotionSystems" /deny "NAME:(DC)"icacls "%DOCS_DIR%" /deny "NAME:(DC)"
The first line hands the folder to the administrators (*S-1-5-32-544 names that group in
every Windows language), so the account cannot simply give itself the
rights back. The second refuses that account every change inside it - editing, replacing, adding or
deleting a profile or a script - while reading stays allowed, which is all the application needs.
The last two stop the folder itself from being renamed or deleted.
To edit the profiles again, undo it the same way:
icacls "%DOCS_DIR%" /remove:d NAMEicacls "%DOCS_DIR%\MotionSystems" /remove:d NAMEicacls "%DOCS_DIR%\MotionSystems\ForceSeatPM" /remove:d NAME /T /Cicacls "%DOCS_DIR%\MotionSystems\ForceSeatPM" /setowner NAME /T /C
7 Unlocking
Enter the password when the application asks for it. The machine then stays unlocked for five minutes and re-locks itself - a kiosk that nobody remembers to lock again is not locked. You can also lock it immediately rather than waiting.
Five wrong answers in a row stop the application considering any password for a minute. This also means somebody guessing can keep you out for that minute; wait it out rather than restarting.