Network security: Restrict NTLM: Incoming NTLM traffic: registry value RestrictReceivingNTLMTrafficComputerHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0
- Category
- Security Settings › Local Policies › Security Options
- Scope
- Computer Configuration
- Source
- Windows 11 (version 26H2 · 26300.9457)
Registry
RestrictReceivingNTLMTraffic
REG_DWORDComputerHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0 Current key
- Enabled value
- Depends on the option value
- Element
- Network security: Restrict NTLM: Incoming NTLM traffic
| Item | Stored value |
|---|---|
| Allow all | 0 |
| Deny all domain accounts | 1 |
| Deny all accounts | 2 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0] ; Options (use only one) ; Allow all "RestrictReceivingNTLMTraffic"=dword:00000000 ; Deny all domain accounts "RestrictReceivingNTLMTraffic"=dword:00000001 ; Deny all accounts "RestrictReceivingNTLMTraffic"=dword:00000002
CMD
:: Options (use only one) :: Allow all reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 0 /f :: Deny all domain accounts reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 1 /f :: Deny all accounts reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Force | Out-Null # Options (use only one) # Allow all New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null # Deny all domain accounts New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null # Deny all accounts New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null