Netwerkbeveiliging: NTLM beperken: binnenkomend NTLM-verkeer: registerwaarde RestrictReceivingNTLMTrafficComputerHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0

Categorie
Beveiligingsinstellingen › Lokaal beleid › Beveiligingsopties
Bereik
Computerconfiguratie
Bron
Windows 11 (versie 26H2 · 26300.9457)

Register

RestrictReceivingNTLMTraffic

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Netwerkbeveiliging: NTLM beperken: binnenkomend NTLM-verkeer
Opties
ItemOpgeslagen waarde
Alles toestaan0
Alle domeinaccounts weigeren1
Alle accounts weigeren2
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Alles toestaan
"RestrictReceivingNTLMTraffic"=dword:00000000
; Alle domeinaccounts weigeren
"RestrictReceivingNTLMTraffic"=dword:00000001
; Alle accounts weigeren
"RestrictReceivingNTLMTraffic"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Alles toestaan
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 0 /f
:: Alle domeinaccounts weigeren
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 1 /f
:: Alle accounts weigeren
reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Force | Out-Null

# Opties (gebruik er maar één)
# Alles toestaan
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null
# Alle domeinaccounts weigeren
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null
# Alle accounts weigeren
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null