網路安全性: 限制 NTLM: 稽核連入 NTLM 流量 的登錄值 AuditReceivingNTLMTraffic電腦HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0
登錄
AuditReceivingNTLMTraffic
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 網路安全性: 限制 NTLM: 稽核連入 NTLM 流量
| 項目 | 儲存的值 |
|---|---|
| 停用 | 0 |
| 啟用網域帳戶的稽核 | 1 |
| 啟用所有帳戶的稽核 | 2 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0] ; 選項 (只使用其中一個) ; 停用 "AuditReceivingNTLMTraffic"=dword:00000000 ; 啟用網域帳戶的稽核 "AuditReceivingNTLMTraffic"=dword:00000001 ; 啟用所有帳戶的稽核 "AuditReceivingNTLMTraffic"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 停用 reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "AuditReceivingNTLMTraffic" /t REG_DWORD /d 0 /f :: 啟用網域帳戶的稽核 reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "AuditReceivingNTLMTraffic" /t REG_DWORD /d 1 /f :: 啟用所有帳戶的稽核 reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "AuditReceivingNTLMTraffic" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Force | Out-Null # 選項 (只使用其中一個) # 停用 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'AuditReceivingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null # 啟用網域帳戶的稽核 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'AuditReceivingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null # 啟用所有帳戶的稽核 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'AuditReceivingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null