--- title: Kisok Setup weight: 2 prev: /kiosk --- 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 >}} ### 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 ```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 ``` 6. Reboot ### Teardown 1. To escape the experience press "Ctrl+Alt+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 ```