Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

NTLM Troubleshooting

Direct 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.

When to use this

Use this when NTLM logons fail or must be found.

First 30 seconds

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).

Operational verification

NTLM request → policy check → DC validation → result

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows Server Active Directory and identity
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server Active Directory and identity · Windows / Windows Server / PowerShell · Windows
Key commandGet-WinEvent
Scope / prerequisiteUse this when NTLM logons fail or must be found.
Verify · 1Reference · 2
What next?3 suggested next steps
Catalog command links3
Evidence0
On this pageJump to a specific section
Operational command reference

Primary Commands

Configuration and operational commands for this Topic.

Get-WinEventVerify
Get-WinEvent

PowerShell 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.

Windows / Windows Server / PowerShell · mixed
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624,4625} -MaxEvents 50Reference
Inspect recent Windows logon success/failure events

Operational 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 plane
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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.
Key points
  • Audit NTLM before restricting it.
  • LmCompatibilityLevel decides allowed versions.
  • Find out why Kerberos was not used.
Key checks
  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} -MaxEvents 50 | ? {$_.Message -match 'NTLM'} — NTLM logons
  • Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa -Name LmCompatibilityLevel — NTLM level
  • Get-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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server Active Directory and identity current

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%
Terminology layer

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.

Aliases that resolve here
ntlm troubleshootingntlm auditing
Confirmation

Confirm action

Continue?