NTLM Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3288
Answer
Troubleshoot NTLM with Security log events 4624 (logon type and package) and 4776, NTLM audit policies to find who still uses it, LmCompatibilityLevel settings and why Kerberos was not used — often IPs or missing SPNs.
Remember
- Audit NTLM before restricting it.
- LmCompatibilityLevel decides allowed versions.
- Find out why Kerberos was not used.
First checks
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} -MaxEvents 50 | ? {$_.Message -match 'NTLM'}— NTLM logonsGet-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa -Name LmCompatibilityLevel— NTLM levelGet-WinEvent -LogName Microsoft-Windows-NTLM/Operational -MaxEvents 30— NTLM audit events
Commands
Get-WinEvent- PowerShell cmdlet for querying Windows Event Log and ETW-style event sources as structured EventLogRecord objects, with…
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50- Operational command for Inspect recent Windows logon success/failure events. Focus fields: event id, time, account, log…
nltest /sc_verify:<domain>- Read-only observation for machine secure-channel verification against the domain.
Verify in this order
NTLM request → policy check → DC validation → result
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3288