sync: auto-sync from HOWARD-HOME at 2026-07-17 14:14:41
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-17 14:14:41
This commit is contained in:
11
clients/cascades-tucson/scripts/app-restrict-1.ps1
Normal file
11
clients/cascades-tucson/scripts/app-restrict-1.ps1
Normal file
@@ -0,0 +1,11 @@
|
||||
Import-Module GroupPolicy
|
||||
$gpo = 'CSC - Nurse Station Kiosk'
|
||||
$hkcu = 'HKCU\Software\Policies\Microsoft\Windows'
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'NoRun' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'NoSetFolders' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'NoSMHelp' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'NoRecentDocsHistory' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'ClearRecentDocsOnExit' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'NoControlPanel' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key "$hkcu\Explorer" -ValueName 'NoNetHood' -Type DWord -Value 1 | Out-Null
|
||||
Write-Output "Part 1 done: Start menu + Explorer restrictions"
|
||||
Reference in New Issue
Block a user