docs(kiosk): Disable widgets
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:
parent
486115eb1b
commit
1497fa19d0
@ -110,6 +110,16 @@ So richten Sie den Kiosk für die Veranstaltung ein.
|
||||
}
|
||||
New-ItemProperty @Splat
|
||||
|
||||
$RegistryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Dsh"
|
||||
$Name = "AllowNewsAndInterests"
|
||||
$Value = 0
|
||||
|
||||
If (-not (Test-Path $RegistryPath)) {
|
||||
New-Item -Path $RegistryPath -Force | Out-Null
|
||||
}
|
||||
|
||||
New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -DWORD -Force | Out-Null
|
||||
|
||||
powercfg.exe -x -monitor-timeout-ac 0
|
||||
powercfg.exe -x -monitor-timeout-dc 0
|
||||
powercfg.exe -x -disk-timeout-ac 0
|
||||
@ -136,20 +146,26 @@ So richten Sie den Kiosk für die Veranstaltung ein.
|
||||
4. Führen Sie den psexec-Befehl aus: `psexec.exe -i -s powershell.exe`
|
||||
5. Führen Sie das folgende Skript aus
|
||||
|
||||
```powershell
|
||||
$namespaceName="root\cimv2\mdm\dmmap"
|
||||
$className="MDM_AssignedAccess"
|
||||
$obj = Get-CimInstance -Namespace $namespaceName -ClassName $className
|
||||
$obj.Configuration = $null
|
||||
Set-CimInstance -CimInstance $obj
|
||||
$Splat = @{
|
||||
'Path' = 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout'
|
||||
'Name' = 'ScanCode Map'
|
||||
'Force' = $True
|
||||
}
|
||||
|
||||
Remove-ItemProperty @Splat
|
||||
```
|
||||
```powershell
|
||||
$namespaceName="root\cimv2\mdm\dmmap"
|
||||
$className="MDM_AssignedAccess"
|
||||
$obj = Get-CimInstance -Namespace $namespaceName -ClassName $className
|
||||
$obj.Configuration = $null
|
||||
Set-CimInstance -CimInstance $obj
|
||||
$Splat = @{
|
||||
'Path' = 'HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout'
|
||||
'Name' = 'ScanCode Map'
|
||||
'Force' = $True
|
||||
}
|
||||
Remove-ItemProperty @Splat
|
||||
$RegistryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Dsh"
|
||||
$Name = "AllowNewsAndInterests"
|
||||
If (Test-Path -Path $RegistryPath) {
|
||||
If (Get-ItemProperty -Path $RegistryPath -Name $Name -ErrorAction SilentlyContinue) {
|
||||
Remove-ItemProperty -Path $RegistryPath -Name $Name -Force | Out-Null
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Mit deinem bevorzugten Browser
|
||||
|
||||
|
@ -110,6 +110,16 @@ How to set up the kiosk for the event.
|
||||
}
|
||||
New-ItemProperty @Splat
|
||||
|
||||
$RegistryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Dsh"
|
||||
$Name = "AllowNewsAndInterests"
|
||||
$Value = 0
|
||||
|
||||
If (-not (Test-Path $RegistryPath)) {
|
||||
New-Item -Path $RegistryPath -Force | Out-Null
|
||||
}
|
||||
|
||||
New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -DWORD -Force | Out-Null
|
||||
|
||||
powercfg.exe -x -monitor-timeout-ac 0
|
||||
powercfg.exe -x -monitor-timeout-dc 0
|
||||
powercfg.exe -x -disk-timeout-ac 0
|
||||
@ -149,6 +159,14 @@ How to set up the kiosk for the event.
|
||||
}
|
||||
|
||||
Remove-ItemProperty @Splat
|
||||
|
||||
$RegistryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Dsh"
|
||||
$Name = "AllowNewsAndInterests"
|
||||
If (Test-Path -Path $RegistryPath) {
|
||||
If (Get-ItemProperty -Path $RegistryPath -Name $Name -ErrorAction SilentlyContinue) {
|
||||
Remove-ItemProperty -Path $RegistryPath -Name $Name -Force | Out-Null
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## With your favourite browser
|
||||
|
Loading…
x
Reference in New Issue
Block a user