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:
@@ -0,0 +1,6 @@
|
||||
Import-Module GroupPolicy
|
||||
$gpo = 'CSC - Caregiver Device Lockdown'
|
||||
# Hide last logged-on username on the lock/login screen
|
||||
Set-GPRegistryValue -Name $gpo -Key 'HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System' -ValueName 'DontDisplayLastUserName' -Type DWord -Value 1 | Out-Null
|
||||
Set-GPRegistryValue -Name $gpo -Key 'HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System' -ValueName 'dontdisplaylockeduser' -Type DWord -Value 3 | Out-Null
|
||||
Write-Output "Added DontDisplayLastUserName=1, dontdisplaylockeduser=3"
|
||||
Reference in New Issue
Block a user