> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication protocols

> Harden how Windows devices authenticate on the network: NTLM and LAN Manager, LDAP signing, WDigest and anonymous access.

The Authentication protocols control hardens how your Windows devices authenticate on the network: the LAN Manager authentication level, NTLM session security, restrictions and auditing, LDAP signing, PKU2U, WDigest, custom security packages in LSASS, stored network credentials, and what anonymous network logons may enumerate or reach.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| | ✅ | | | |

Runs on Windows devices with an x86\_64 or ARM64 processor. Some settings need a recent Windows 11 release: see the settings below.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **Authentication protocols**, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all Windows devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the PC keeps its own setting.

## Settings

| Section | Setting | Options |
| - | - | - |
| **NTLM and LAN Manager** | **LAN Manager authentication level** | **Send LM and NTLM responses**, **Send LM and NTLM, use NTLMv2 session security if negotiated**, **Send NTLM responses only**, **Send NTLMv2 responses only**, **Send NTLMv2 only, refuse LM**, **Send NTLMv2 only, refuse LM and NTLM**, **Not configured** |
| | **Minimum NTLM session security (clients)** | **No minimum**, **Require NTLMv2 session security**, **Require 128-bit encryption**, **Require NTLMv2 and 128-bit encryption**, **Not configured** |
| | **Minimum NTLM session security (servers)** | Same options |
| | **Incoming NTLM traffic** | **Allow all**, **Deny domain accounts**, **Deny all accounts**, **Not configured** |
| | **Outgoing NTLM traffic to remote servers** | **Allow all**, **Audit all**, **Deny all**, **Not configured** |
| | **Audit incoming NTLM traffic** | **Off**, **Domain accounts**, **All accounts**, **Not configured** |
| | **Servers allowed to use NTLM** | A list |
| | **Local System uses the computer identity for NTLM** | **On**, **Off**, **Not configured** |
| | **Allow Local System NULL session fallback** | **On**, **Off**, **Not configured** |
| **Protocols and credentials** | **LDAP client signing** | **None**, **Negotiate signing**, **Require signing**, **Not configured** |
| | **Allow PKU2U online identities** | **On**, **Off**, **Not configured** |
| | **WDigest keeps passwords in memory** | **On**, **Off**, **Not configured** |
| | **Allow custom security packages in LSASS** | **On**, **Off**, **Not configured** |
| | **Store passwords with reversible encryption** | **On**, **Off**, **Not configured** |
| | **Block stored network credentials** | **On**, **Off**, **Not configured** |
| **Anonymous access** | **Allow anonymous SID and name translation** | **On**, **Off**, **Not configured** |
| | **Block anonymous enumeration of accounts** | **On**, **Off**, **Not configured** |
| | **Block anonymous enumeration of accounts and shares** | **On**, **Off**, **Not configured** |
| | **Everyone permissions apply to anonymous users** | **On**, **Off**, **Not configured** |
| | **Restrict anonymous access to named pipes and shares** | **On**, **Off**, **Not configured** |
| | **Named pipes anonymous users can access** | A list |
| | **Shares anonymous users can access** | A list |
| | **Sharing and security model for local accounts** | **Classic: local users authenticate as themselves**, **Guest only: local users authenticate as Guest**, **Not configured** |
| **Remote access** | **Clients allowed to make remote calls to SAM** | A security descriptor in SDDL, such as `O:BAG:BAD:(A;;RC;;;BA)` |

* A list offers **These entries**, **None** or **Not configured**. **These entries** takes one entry per line, up to 50 entries of up to 260 characters, without `<`, `>`, `&`, `"`, `]` or a comma, and replaces the whole list on the PC. **None** leaves the list empty.
* A configuration that sets **Store passwords with reversible encryption**, **Block stored network credentials**, **Allow anonymous SID and name translation**, **Everyone permissions apply to anonymous users**, **Named pipes anonymous users can access**, **Shares anonymous users can access**, **Sharing and security model for local accounts**, **Allow Local System NULL session fallback** or **LDAP client signing** is sent only to devices on Windows 11 22H2 or 23H2 with KB5053657, or 24H2 and later.
* A configuration that sets **Allow custom security packages in LSASS** is sent only to devices on Windows 11 22H2 or later.

## How it works

Primo deploys a Windows configuration profile that writes one Policy CSP node per setting you set: the LocalPoliciesSecurityOptions policies, `DeviceLock/ClearTextPassword` for reversible encryption, `LocalSecurityAuthority/AllowCustomSSPsAPs` for custom security packages, and `MSSecurityGuide/WDigestAuthentication` for WDigest.

When you remove the configuration, nothing stays managed, but Windows keeps the values the configuration wrote: the PC doesn't go back to the values it had before the control.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Network stack hardening](https://docs.getprimo.com/mdm/policies/network-stack-hardening.md)
* [SMB hardening](https://docs.getprimo.com/mdm/policies/smb-hardening.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.