diff --git a/content/kiosk/setup.de.md b/content/kiosk/setup.de.md index 9519ba4..44723d5 100644 --- a/content/kiosk/setup.de.md +++ b/content/kiosk/setup.de.md @@ -36,7 +36,7 @@ So richten Sie den Kiosk für die Veranstaltung ein. - + @@ -54,40 +54,7 @@ So richten Sie den Kiosk für die Veranstaltung ein. $obj = Get-CimInstance -Namespace $namespaceName -ClassName $className $obj.Configuration = [System.Net.WebUtility]::HtmlEncode($assignedAccessConfiguration) Set-CimInstance -CimInstance $obj - ``` - {{< /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 - ``` - {{< /tab >}} - {{< /tabs >}} - -6. Öffne die Windows Befehlseingabe (cmd) mit Administratorrechten und führe diese Befehle aus, um den Energiesparmodus zu deaktivieren - - ```batch powercfg.exe -x -monitor-timeout-ac 0 powercfg.exe -x -monitor-timeout-dc 0 powercfg.exe -x -disk-timeout-ac 0 @@ -97,8 +64,46 @@ So richten Sie den Kiosk für die Veranstaltung ein. powercfg.exe -x -hibernate-timeout-ac 0 powercfg.exe -x -hibernate-timeout-dc 0 ``` + {{< /tab >}} + {{< tab >}} + ```powershell + $assignedAccessConfiguration = @" + + + + + + + + + + + + + + + + "@ -7. Reboot via `shutdown /r /t 0` + $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` ### Deinstallation diff --git a/content/kiosk/setup.en.md b/content/kiosk/setup.en.md index a9a137e..3f562d8 100644 --- a/content/kiosk/setup.en.md +++ b/content/kiosk/setup.en.md @@ -36,7 +36,7 @@ How to set up the kiosk for the event. - + @@ -54,40 +54,7 @@ How to set up the kiosk for the event. $obj = Get-CimInstance -Namespace $namespaceName -ClassName $className $obj.Configuration = [System.Net.WebUtility]::HtmlEncode($assignedAccessConfiguration) Set-CimInstance -CimInstance $obj - ``` - {{< /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 - ``` - {{< /tab >}} - {{< /tabs >}} - -6. Open a new admin command prompt (cmd) an run these commands to turn off sleep - - ```batch powercfg.exe -x -monitor-timeout-ac 0 powercfg.exe -x -monitor-timeout-dc 0 powercfg.exe -x -disk-timeout-ac 0 @@ -97,8 +64,46 @@ How to set up the kiosk for the event. powercfg.exe -x -hibernate-timeout-ac 0 powercfg.exe -x -hibernate-timeout-dc 0 ``` + {{< /tab >}} + {{< tab >}} + ```powershell + $assignedAccessConfiguration = @" + + + + + + + + + + + + + + + + "@ -7. Reboot via `shutdown /r /t 0` + $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