Log Enhanced Domain-wide NTLM Logs
Journaliser les journaux NTLM étendus à l’échelle du domaine
Explanation
This policy setting configures whether the domain controllers to which this setting is applied will log the new, enhanced domain-wide NTLM logs. These logs contain more information about NTLM authentication on a domain-wide level, including NTLMv1 usage.
If enabled, domain controllers will log the new domain-wide NTLM logs.
If disabled, domain controllers will not log the new domain-wide NTLM logs.
If not configured, domain controllers will default to logging the new domain-wide NTLM logs.
More information is available at aka.ms/ntlmlogandblock.
Ce paramètre de stratégie configure si les contrôleurs de domaine auxquels ce paramètre est appliqué enregistrent les nouveaux journaux NTLM améliorés à l’échelle du domaine. Ces journaux contiennent des informations supplémentaires sur l’authentification NTLM au niveau du domaine, y compris l’utilisation de NTLMv1.
Si cette option est activée, les contrôleurs de domaine enregistreront les nouveaux journaux NTLM à l’échelle du domaine.
Si cette option est désactivée, les contrôleurs de domaine n'enregistreront pas les nouveaux journaux NTLM pour l'ensemble du domaine.
Si cette option n’est pas configurée, les contrôleurs de domaine enregistreront par défaut les nouveaux journaux NTLM à l’échelle du domaine.
Des informations supplémentaires sont disponibles sur aka.ms/ntlmlogandblock.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Netlogon\Parameters- Value name
EnableEnhancedDomainNtlmLogs
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Netlogon/Netlogon_EnhancedDomainNtlmLogs
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableEnhancedDomainNtlmLogs' -Value 1 -Type DWordDisable
# Disable: Netlogon/Netlogon_EnhancedDomainNtlmLogs
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableEnhancedDomainNtlmLogs' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Netlogon/Netlogon_EnhancedDomainNtlmLogs
$k = 'HKLM:\Software\Policies\Microsoft\Netlogon\Parameters'
Remove-ItemProperty -Path $k -Name 'EnableEnhancedDomainNtlmLogs' -ErrorAction SilentlyContinue