--- title: Kiosk Setup weight: 2 prev: /kiosk next: /kiosk/config --- How to set up the kiosk for the event. ## With Windows Assigned Access {{< callout type="info" >}} This is only tested on windows 11 pro and enterprise. {{< /callout >}} ### Prerequesites - Windows 11 Pro or Enterprise - Only one configured printer or receipt printer configured as default printer - you can disable printing but it's cooler to have it - Admin access to the system ### Setup 1. Download [psexec](/files/psexec.exe) 2. Open a admin windows PowerShell prompt 3. Cd to Downloads `cd C:\Users\\Downloads` 4. Run the psexec command: `.\psexec.exe -i -s powershell.exe` 5. Run the following script {{< tabs items="With printing, Without printing" >}} {{< tab >}} ```powershell $assignedAccessConfiguration = @" "@ $namespaceName="root\cimv2\mdm\dmmap" $className="MDM_AssignedAccess" $obj = Get-CimInstance -Namespace $namespaceName -ClassName $className $obj.Configuration = [System.Net.WebUtility]::HtmlEncode($assignedAccessConfiguration) Set-CimInstance -CimInstance $obj powercfg.exe -x -monitor-timeout-ac 0 powercfg.exe -x -monitor-timeout-dc 0 powercfg.exe -x -disk-timeout-ac 0 powercfg.exe -x -disk-timeout-dc 0 powercfg.exe -x -standby-timeout-ac 0 powercfg.exe -x -standby-timeout-dc 0 powercfg.exe -x -hibernate-timeout-ac 0 powercfg.exe -x -hibernate-timeout-dc 0 ``` {{< /tab >}} {{< tab >}} ```powershell $assignedAccessConfiguration = @" "@ $namespaceName="root\cimv2\mdm\dmmap" $className="MDM_AssignedAccess" $obj = Get-CimInstance -Namespace $namespaceName -ClassName $className $obj.Configuration = [System.Net.WebUtility]::HtmlEncode($assignedAccessConfiguration) Set-CimInstance -CimInstance $obj powercfg.exe -x -monitor-timeout-ac 0 powercfg.exe -x -monitor-timeout-dc 0 powercfg.exe -x -disk-timeout-ac 0 powercfg.exe -x -disk-timeout-dc 0 powercfg.exe -x -standby-timeout-ac 0 powercfg.exe -x -standby-timeout-dc 0 powercfg.exe -x -hibernate-timeout-ac 0 powercfg.exe -x -hibernate-timeout-dc 0 ``` {{< /tab >}} {{< /tabs >}} 6. Reboot via `shutdown -r -t 0` ### Teardown 1. To escape the experience press `Ctrl+E` 2. Open a admin windows PowerShell prompt 3. Cd to Desktop (C:\Users\\Desktop 4. Run the psexec command: `psexec.exe -i -s powershell.exe` 5. Run the following script ```powershell $namespaceName="root\cimv2\mdm\dmmap" $className="MDM_AssignedAccess" $obj = Get-CimInstance -Namespace $namespaceName -ClassName $className $obj.Configuration = $null Set-CimInstance -CimInstance $obj ``` ## With your favourite browser {{< callout type="warning" >}} The ability to exit the browser and/or open devtools may be available by default. Please check if your browser supports a kiosk mode and how to set it up. {{< /callout >}} {{< callout type="warning" >}} Your browser might not support printing without a dialog. Please check if your browser supports this feature and how to set it up. {{< /callout >}} Just open the link in your favourite browser and use the kiosk mode of your browser: - With auto-printing: - Without auto-printing: