Use this when hardening NTLM to v2 only.
NTLMv2
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.
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.
NTLMv2 response with client/server challenges
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & 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 What it is Narrow the fault
Step 2 Common mistakes Narrow the fault
- LmCompatibilityLevel below 5.
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.
- LmCompatibilityLevel 5 sends only NTLMv2 and refuses LM/NTLMv1.
- Old devices may break.
- Audit before enforcing.
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
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
Settings
GPO Network security: LAN Manager authentication level = Send NTLMv2 response only. Refuse LM & NTLM (level 5). Check with Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\Lsa -Name LmCompatibilityLevel.
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 → 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%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.