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