NTLM Enhanced Logging
Supported on: At least Windows 11 Version 24H2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters |
|---|---|
| Value name | LogEnhancedAuditEvents |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
What it does (vendor explanation)
This policy setting allows the NTLM security package to log the new, enhanced auditing logs for both clients and servers.
These enhanced logs have information about what is using NTLM, why NTLM is being used, and the destination of the NTLM authentication request. They also have information about NTLMv1 usage and other security downgrades.
If you enabled or do not configure this policy, the new auditing logs will be generated. If you disable the policy, the new logs are not generated.
Group Policy path: Computer Configuration > Administrative Templates > System > NTLM > NTLM Enhanced Logging
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'LogEnhancedAuditEvents' -Value 1 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".