Network security: Restrict NTLM: Audit NTLM authentication in this domain: registry value AuditNTLMInDomainComputerHKLM\System\CurrentControlSet\Services\Netlogon\Parameters

Category
Security Settings › Local Policies › Security Options
Scope
Computer Configuration
Source
Windows 11 (version 26H2 · 26300.9457)

Registry

AuditNTLMInDomain

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Network security: Restrict NTLM: Audit NTLM authentication in this domain
Options
ItemStored value
Disable0
Enable for domain accounts to domain servers1
Enable for domain accounts3
Enable for domain servers5
Enable all7
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters]

; Options (use only one)
; Disable
"AuditNTLMInDomain"=dword:00000000
; Enable for domain accounts to domain servers
"AuditNTLMInDomain"=dword:00000001
; Enable for domain accounts
"AuditNTLMInDomain"=dword:00000003
; Enable for domain servers
"AuditNTLMInDomain"=dword:00000005
; Enable all
"AuditNTLMInDomain"=dword:00000007
CMD
:: Options (use only one)

:: Disable
reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 0 /f
:: Enable for domain accounts to domain servers
reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 1 /f
:: Enable for domain accounts
reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 3 /f
:: Enable for domain servers
reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 5 /f
:: Enable all
reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "AuditNTLMInDomain" /t REG_DWORD /d 7 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Force | Out-Null

# Options (use only one)
# Disable
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 0 -Force | Out-Null
# Enable for domain accounts to domain servers
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 1 -Force | Out-Null
# Enable for domain accounts
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 3 -Force | Out-Null
# Enable for domain servers
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 5 -Force | Out-Null
# Enable all
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'AuditNTLMInDomain' -PropertyType DWord -Value 7 -Force | Out-Null