docs(kiosk): Added kiosk setup docs
All checks were successful
Build latest image / build-container (push) Successful in 1m26s
All checks were successful
Build latest image / build-container (push) Successful in 1m26s
This commit is contained in:
65
content/kiosk/setup.en.md
Normal file
65
content/kiosk/setup.en.md
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
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\<Username>\Downloads`
|
||||
4. Run the psexec command: `.\psexec.exe -i -s powershell.exe`
|
||||
5. Run the following script
|
||||
|
||||
```powershell
|
||||
$assignedAccessConfiguration = @"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<AssignedAccessConfiguration xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config" xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config" xmlns:v4="http://schemas.microsoft.com/AssignedAccess/2021/config">
|
||||
<Profiles>
|
||||
<Profile Id="{EDB3036B-780D-487D-A375-69369D8A8F78}">
|
||||
<KioskModeApp v4:ClassicAppPath="%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" v4:ClassicAppArguments="--kiosk http://10.1.1.90:5173/ --kiosk-printing --edge-kiosk-type=fullscreen" />
|
||||
<v4:BreakoutSequence Key="Ctrl+A" />
|
||||
</Profile>
|
||||
</Profiles>
|
||||
<Configs>
|
||||
<Config>
|
||||
<AutoLogonAccount rs5:DisplayName="Lfk Kiosk" />
|
||||
<DefaultProfile Id="{EDB3036B-780D-487D-A375-69369D8A8F78}" />
|
||||
</Config>
|
||||
</Configs>
|
||||
</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\<Username>\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
|
||||
```
|
||||
Reference in New Issue
Block a user