Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

NTLMv2

Direct answer

NTLMv2 is the current NTLM version with stronger HMAC-MD5 responses and client challenges. Set LmCompatibilityLevel to 5 to send only NTLMv2 and refuse LM and NTLMv1.

When to use this

Use this when hardening NTLM to v2 only.

First 30 seconds

1. LmCompatibilityLevel = 5 on clients and DCs.

2. NTLMv1 events (4624 with LM/NTLM V1 package).

3. Old devices needing v1 → upgrade/isolate.

4. GPO "Network security: LAN Manager authentication level".

5. Verify.

Operational verification

NTLMv2 response with client/server challenges

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
Scope / prerequisiteUse this when hardening NTLM to v2 only.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

2 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 What it is Narrow the fault

NTLMv2 is the current NTLM version. Its response includes the client challenge, timestamp and target information, making it much harder to crack than LM or NTLMv1. It is still vulnerable to relay attacks unless SMB signing, LDAP signing/channel binding or EPA are used.

Step 2 Common mistakes Narrow the fault
  • LmCompatibilityLevel below 5.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • LmCompatibilityLevel 5 sends only NTLMv2 and refuses LM/NTLMv1.
  • Old devices may break.
  • Audit before enforcing.
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

In depth

NTLMv2 adds client challenges and timestamps (HMAC-MD5) and is the only acceptable NTLM version; NTLMv1 and LM are trivially crackable.

Policy "Network security: LAN Manager authentication level" → "Send NTLMv2 response only. Refuse LM & NTLM" (level 5). Find remaining NTLMv1 use before enforcing: Security event 4624 shows Package Name (NTLM only): NTLM V1.

Get-WinEvent -FilterHashtable @{LogName='Security';Id=4624} -MaxEvents 2000 | ? { $_.Message -match 'NTLM V1' } | Select TimeCreated,@{n='Src';e={$_.Properties[18].Value}}

NTLMv2 is still vulnerable to relay attacks — mitigate with SMB signing, LDAP signing/channel binding and EPA for HTTP.

ReferenceImportant terms & boundaries1 section · depth on demand
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 → NTLMv2. 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
ntlmv2lmcompatibilitylevelnet-ntlmv2
Confirmation

Confirm action

Continue?