網路安全性: 限制 NTLM: 稽核這個網域的 NTLM 驗證 的登錄值 AuditNTLMInDomain電腦HKLM\System\CurrentControlSet\Services\Netlogon\Parameters
登錄
AuditNTLMInDomain
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 網路安全性: 限制 NTLM: 稽核這個網域的 NTLM 驗證
| 項目 | 儲存的值 |
|---|---|
| 停用 | 0 |
| 啟用網域伺服器的網域帳戶 | 1 |
| 啟用網域帳戶 | 3 |
| 啟用網域伺服器 | 5 |
| 全部啟用 | 7 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters] ; 選項 (只使用其中一個) ; 停用 "AuditNTLMInDomain"=dword:00000000 ; 啟用網域伺服器的網域帳戶 "AuditNTLMInDomain"=dword:00000001 ; 啟用網域帳戶 "AuditNTLMInDomain"=dword:00000003 ; 啟用網域伺服器 "AuditNTLMInDomain"=dword:00000005 ; 全部啟用 "AuditNTLMInDomain"=dword:00000007
CMD
:: 選項 (只使用其中一個) :: 停用 reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 0 /f :: 啟用網域伺服器的網域帳戶 reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 1 /f :: 啟用網域帳戶 reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 3 /f :: 啟用網域伺服器 reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 5 /f :: 全部啟用 reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 7 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Force | Out-Null # 選項 (只使用其中一個) # 停用 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 0 -Force | Out-Null # 啟用網域伺服器的網域帳戶 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 1 -Force | Out-Null # 啟用網域帳戶 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 3 -Force | Out-Null # 啟用網域伺服器 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 5 -Force | Out-Null # 全部啟用 New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 7 -Force | Out-Null