Sicurezza di rete: limitazione di NTLM: traffico NTLM in uscita verso server remoti: valore del Registro di sistema RestrictSendingNTLMTrafficComputerHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0

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

Registro

RestrictSendingNTLMTraffic

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Sicurezza di rete: limitazione di NTLM: traffico NTLM in uscita verso server remoti
Opzioni
VoceValore memorizzato
Consenti tutto0
Controlla tutto1
Rifiuta tutto2
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0]

; Opzioni (usarne solo una)
; Consenti tutto
"RestrictSendingNTLMTraffic"=dword:00000000
; Controlla tutto
"RestrictSendingNTLMTraffic"=dword:00000001
; Rifiuta tutto
"RestrictSendingNTLMTraffic"=dword:00000002
CMD
:: Opzioni (usarne solo una)

:: Consenti tutto
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /t REG_DWORD /d 0 /f
:: Controlla tutto
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /t REG_DWORD /d 1 /f
:: Rifiuta tutto
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /t REG_DWORD /d 2 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Force | Out-Null

# Opzioni (usarne solo una)
# Consenti tutto
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictSendingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null
# Controlla tutto
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictSendingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null
# Rifiuta tutto
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictSendingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null