Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers: registry value RestrictSendingNTLMTrafficComputerHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0
- Category
- Security Settings › Local Policies › Security Options
- Scope
- Computer Configuration
- Source
- Windows 11 (version 26H2 · 26300.9457)
Registry
RestrictSendingNTLMTraffic
REG_DWORDComputerHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0 Current key
- Enabled value
- Depends on the option value
- Element
- Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers
| Item | Stored value |
|---|---|
| Allow all | 0 |
| Audit all | 1 |
| Deny all | 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 "RestrictSendingNTLMTraffic"=dword:00000000 ; Audit all "RestrictSendingNTLMTraffic"=dword:00000001 ; Deny all "RestrictSendingNTLMTraffic"=dword:00000002
CMD
:: Options (use only one) :: Allow all reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /t REG_DWORD /d 0 /f :: Audit all reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /t REG_DWORD /d 1 /f :: Deny all reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictSendingNTLMTraffic" /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 'RestrictSendingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null # Audit all New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictSendingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null # Deny all New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictSendingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null