Accesso interattivo: richiedi autenticazione controller di dominio per sbloccare la workstation: valore del Registro di sistema ForceUnlockLogonComputerHKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Categoria
Impostazioni sicurezza › Criteri locali › Opzioni di sicurezza
Ambito
Configurazione computer
Origine
Windows 11 (versione 26H2 · 26300.9457)

Registro

ForceUnlockLogon

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]

; Opzioni (usarne solo una)
; Abilitato
"ForceUnlockLogon"=dword:00000001
; Disabilitato
"ForceUnlockLogon"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "ForceUnlockLogon" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "ForceUnlockLogon" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name 'ForceUnlockLogon' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name 'ForceUnlockLogon' -PropertyType DWord -Value 0 -Force | Out-Null