Use this when NTLM logons fail or must be found.
NTLM Troubleshooting
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.
1. Error and source/target.
2. NTLM blocked by policy? NTLM/Operational events 4001–4004.
3. Credentials/account state.
4. Secure channel to DC.
5. Switch to Kerberos (FQDN, SPN).
NTLM request → policy check → DC validation → result
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-WinEventPrimary Commands
Configuration and operational commands for this Topic.
Get-WinEventVerifyPowerShell cmdlet for querying Windows Event Log and ETW-style event sources as structured EventLogRecord objects, with efficient server-side filtering through FilterHashtable, FilterXml or XPath.
Use when: Use -FilterHashtable for practical log/provider/ID/time filters, -FilterXml/-FilterXPath for advanced queries, and ToXml()/Properties when exact structured payload matters.
Quick note: Get-WinEvent returns objects, so formatted console columns are only a view. Inspect properties/XML before concluding a field is absent.
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50ReferenceOperational command for Inspect recent Windows logon success/failure events. Focus fields: event id, time, account, logon type, source workstation/address and failure status/substatus.
Use when: Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
Quick note: Restores exact/ ownership only; this authored guidance is not observed production Evidence.
Windows · control planenltest /sc_verify:<domain>ReferenceRead-only observation for machine secure-channel verification against the domain.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · control planeVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verify the negotiated authentication package and repeat the protected service operation Verify boundary
Verify NTLM troubleshooting by capturing the client/server/service identity and inspecting the resulting session or security events for authentication package = NTLM when NTLM is intentionally expected, or Kerberos when fallback was the defect. Expect no new credential-validation or NTLM restriction events for the retest, then repeat the original SMB/HTTP/RPC operation with a fresh session. Confirm the user token has the intended authorization separately. A successful NTLM logon shows credential validation for that channel, but it does not show Kerberos health or application authorization.
Step 2 Branch NTLM failures at fallback cause, credential validation, policy and channel protection Narrow the fault
If NTLM appears where Kerberos was expected, first inspect the target name/SPN and Kerberos error rather than enabling more NTLM. If NTLM is intentionally used but credentials are rejected, verify account state and which authority validates the challenge. If validation succeeds but the application denies access, inspect authorization separately. If failures started after hardening, compare NTLM restriction, SMB/LDAP signing, EPA/channel-binding and local security policy on both endpoints. If only one server fails, compare its effective policy and event logs with a known-good peer before changing domain-wide settings.
Step 3 Common mistakes Narrow the fault
- Not enabling NTLM auditing before restricting.
- Audit NTLM before restricting it.
- LmCompatibilityLevel decides allowed versions.
- Find out why Kerberos was not used.
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
ReferenceWhy it matters1 section · depth on demand
NTLM success depends on challenge-response identity, channel context and policy
NTLM Troubleshooting is about where Windows falls back to or explicitly uses NTLM and whether the challenge-response can be validated for the presented identity. DNS/SPN problems often manifest as NTLM use when Kerberos was expected, while channel binding, signing, local/security policy, account restrictions and domain-controller reachability can independently block NTLM. An authenticated SMB/HTTP session does not reveal whether Kerberos or NTLM was used unless the session/token is inspected. Record client, server name, target service, account and negotiated authentication package before changing policy.
ReferenceImportant terms & boundaries1 section · depth on demand
Method
NTLM troubleshooting identifies where NTLM is still used, why Kerberos is not, and what will break when NTLM is restricted.
1. Enable NTLM auditing (Network security: Restrict NTLM: Audit incoming NTLM traffic / Audit NTLM authentication in this domain).
2. Collect events from Microsoft-Windows-NTLM/Operational on servers and DCs (8001–8004).
3. Identify clients, servers and applications using NTLM.
4. Fix root causes: access by IP address, missing SPNs, non-domain systems, legacy applications.
5. Restrict NTLM step by step with exceptions.
Get-WinEvent -LogName 'Microsoft-Windows-NTLM/Operational' -MaxEvents 50 | Select-Object TimeCreated, Id, Message
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4624} -MaxEvents 200 | Where-Object { $_.Properties[10].Value -eq 'NTLM' }
Block NTLMv1 and LM first; they are cryptographically weak and rarely needed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NTLM → NTLM Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/security/kerberos/ntlm-overview · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.