How to Check NTLMv1 Enforce Mode in Windows 11
In this article
Yes, you can check the NTLMv1 enforce mode status in Windows 11 using PowerShell. This setting controls whether the system allows legacy NTLM version 1 authentication, which is insecure and often disabled by default for security reasons. Verifying this ensures your system adheres to modern security standards and prevents potential vulnerabilities associated with older authentication protocols.
What You'll Need
- A Windows 11 PC with administrative privileges.
- Access to PowerShell (run as Administrator).
- Basic familiarity with reading command-line output.
Step-by-Step
- Open PowerShell as Administrator: Press the
Windows Key + Xon your keyboard. From the menu that appears, select Terminal (Admin) or Windows PowerShell (Admin). If prompted by User Account Control (UAC), click Yes to allow the app to make changes. - Run the Registry Query Command: In the PowerShell window, copy and paste the following command exactly, then press
Enter:
Get-ItemProperty -Path "HKLM:\System\CurrentControlSet\Lsa\MSV1_0" -Name "NTLMMinServerSec"
Note: Menu labels and interface elements may differ slightly depending on your specific Windows 11 build or region. This command queries the Local Security Authority (LSA) subsystem key where NTLM settings are stored.
- Interpret the Output: The command will return a value named
NTLMMinServerSec. Look at the data type and value displayed below it. The most common values are:
- 0x00000000 (0): This indicates that no minimum security level is enforced via this specific registry key, but other policies might apply. However, in many modern configurations, a value of 0 often implies that NTLMv1 is allowed unless restricted by Group Policy.
- 0x00000002 (2): This value typically represents
EncryptRC4, meaning only NTLMv2 or higher is allowed. NTLMv1 is effectively blocked. - Other Hex Values: Values like
0x00000007or higher indicate stricter security requirements, requiring encryption or mutual authentication, which inherently blocks NTLMv1.
- Alternative Method via Group Policy: For a more user-friendly view, you can check the effective policy. Press
Windows Key + R, typegpedit.msc, and pressEnter. - Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options.
- Look for the policy named Network security: LAN Manager authentication level. Double-click it to see its current state.
- If it is set to Send NTLMv2 response only. Refuse LM & NTLM or Send NTLMv2 response only. Refuse LM & NTLMv1, then NTLMv1 is not enforced/allowed. If it is set to lower levels like Send LM & NTLM responses, NTLMv1 is permitted.
Common Mistakes
One frequent error is confusing the registry value with the Group Policy setting. They can sometimes appear contradictory if a local policy overrides a registry key or vice versa. Always prioritize the Group Policy setting if both are configured, as it is the intended management method for enterprise environments.
Another mistake is running the PowerShell command without administrative rights. Without elevation, the command may fail or return incomplete information due to permission restrictions on the HKEY_LOCAL_MACHINE hive. Ensure you always use the "Run as administrator" option.
Users also often misinterpret the hex value 0. While 0 might seem like "disabled," in the context of NTLMMinServerSec, it often means the system falls back to default behavior, which may still allow NTLMv1 depending on other security configurations. Always cross-reference with the LAN Manager authentication level policy.
Tips
To ensure consistency across your organization, consider using Group Policy Preferences or Intune to push the correct settings rather than manually editing the registry. This reduces the risk of configuration drift.
If you are troubleshooting connectivity issues with older devices, temporarily checking this setting can help determine if an old printer or server is failing because it cannot negotiate NTLMv2. Remember to revert any changes immediately after testing.
Use the Get-ItemProperty command for quick scripting or remote checks. It is faster than navigating the GUI, especially when managing multiple machines via PowerShell remoting.
Troubleshooting
If the PowerShell command returns an error: Verify that you are running the terminal with elevated privileges. Also, check that the path HKLM:\System\CurrentControlSet\Lsa\MSV1_0 exists. On some highly customized or minimal installations, keys might be missing, though this is rare in standard Windows 11.
If the Group Policy editor is unavailable: Windows 11 Home editions do not include the full Local Group Policy Editor (gpedit.msc). In this case, rely solely on the PowerShell registry query or use the Registry Editor (regedit) to navigate to the same path manually. Be cautious when editing the registry directly; create a backup before making changes.
If you suspect NTLMv1 is being used despite settings: Enable auditing for failed logons or use network monitoring tools to inspect authentication traffic. The event viewer logs under Security can provide details on authentication types used during login attempts.
Frequently Asked Questions
Is NTLMv1 safe to use?
No, NTLMv1 is considered insecure and vulnerable to various attacks, including pass-the-hash and brute-force attacks. Microsoft recommends disabling it in favor of NTLMv2 or Kerberos.
Can I change this setting via Settings App?
No, the modern Windows Settings app does not expose NTLM security levels. You must use PowerShell, Registry Editor, or Group Policy Editor to view or modify these settings.
What happens if I disable NTLMv1?
Older devices or applications that only support NTLMv1 will fail to authenticate. This includes some legacy printers, file servers, or third-party software. Ensure all connected systems support NTLMv2 before enforcing the restriction.
Does Windows 11 block NTLMv1 by default?
In most modern builds and configurations, yes. The default security posture often restricts NTLMv1, but verifying the specific NTLMMinServerSec value or the LAN Manager policy confirms the exact state.
How do I re-enable NTLMv1 if needed?
You can re-enable it by changing the NTLMMinServerSec registry value to 0 or by setting the Network security: LAN Manager authentication level policy to a lower security tier. This is generally not recommended for production environments.