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:
7
clients/cascades-tucson/scripts/app-restrict-2.ps1
Normal file
7
clients/cascades-tucson/scripts/app-restrict-2.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
Import-Module GroupPolicy
|
||||
$gpo = 'CSC - Nurse Station Kiosk'
|
||||
Set-GPRegistryValue -Name $gpo -Key 'HKCU\Software\Policies\Microsoft\Windows\System' -ValueName 'DisableCMD' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key 'HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System' -ValueName 'DisableRegistryTools' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key 'HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System' -ValueName 'DisableTaskMgr' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key 'HKCU\Software\Policies\Microsoft\Windows\Installer' -ValueName 'DisableUserInstalls' -Type DWord -Value 1 | Out-Null
|
||||
Write-Output "Part 2 done: CMD/regedit/taskmgr/installer blocked"
|
||||
Reference in New Issue
Block a user