What does the SMB client's BlockNTLM setting do on Windows 11, version 24H2, and what must be true of the servers it connects to?
answer
- client side only, outbound only
- Kerberos has to be possible
- name, not IP address
- an exception list for servers
- 24H2 and Server 2025, off by default
basics
~20 sOn Windows 11, version 24H2 and Windows Server 2025, Set-SmbClientConfiguration -BlockNTLM $true makes the SMB client refuse NTLM on its outbound connections. The server must allow Kerberos (or PKU2U), so connect by name, not IP address, or list an exception.
solid answer
~30 s`BlockNTLM` is an SMB client capability only, available from Windows 11, version 24H2 and Windows Server 2025 and off by default (`$false`). With `Set-SmbClientConfiguration -BlockNTLM $true`, or the policy "Block NTLM (LM, NTLM, NTLMv2)" under Lanman Workstation, the client will not authenticate to a server with NTLM, so the server must allow Kerberos (or PKU2U). A connection by IP address or CNAME alias falls back to NTLM and therefore fails. A server that cannot do Kerberos, such as a standalone NAS, goes on the "Block NTLM Server Exception List" policy, and a single mapping can use `New-SmbMapping -BlockNTLM $true`.
code
powershell · 5 lines# Block NTLM for all outbound SMB connections of this client
Set-SmbClientConfiguration -BlockNTLM $true
# One mapped drive only, by name so Kerberos can be used
New-SmbMapping -RemotePath \\files01.example.internal\Finance -BlockNTLM $truego deeper
Recall that BlockNTLM stops the SMB client from using NTLM, which pushes connections to Kerberos.
State that it is client-side and outbound only, off by default, and set by Set-SmbClientConfiguration or the Lanman Workstation policy on Windows 11 24H2 and Server 2025.
Explain the prerequisite: the server must allow Kerberos, so connections by IP address, aliases and servers outside the directory fail unless fixed or listed in the exception list.
Decide how far to take it: standardise names, keep each NTLM exception owned and dated, and judge when a device that cannot do Kerberos is replaced rather than excepted.
## What the setting blocks Windows normally negotiates the authentication protocol, so a connection could fall from Kerberos back to NTLM. From Windows 11, version 24H2 and Windows Server 2025 the SMB client can refuse NTLM for outbound connections. Microsoft ties this to a longer goal: moving an organisation's SMB authentication to Kerberos, which can verify the server's identity through its ticket system. - **Client only.** It is a capability of the SMB client, which is built into both Windows Server and Windows client editions. It does not stop a Windows file server from accepting NTLM from other clients. - **Outbound only.** It governs connections made by that machine. - **Off by default.** The cmdlet's default is `$false`, meaning NTLM is allowed. ## Prerequisites and what fails 1. A client on Windows 11, version 24H2 or later, or Windows Server 2025 or later. 2. A destination server that allows Kerberos (or PKU2U). The destination can be any operating system where one of them can be used. 3. A connection that can use Kerberos. Microsoft's signing guidance says connecting by IP address or to a CNAME makes Windows use NTLM, so with blocking on, `\\192.0.2.20\Finance` fails while `\\files01.example.internal\Finance` can succeed. 4. A server that sits outside the directory the client trusts, such as a standalone NAS, usually has no Kerberos, so it needs an exception. ## Configuring it and its exceptions | What | How | |---|---| | Block for the machine | `Set-SmbClientConfiguration -BlockNTLM $true`, or policy "Block NTLM (LM, NTLM, NTLMv2)" under Computer Configuration, Administrative Templates, Network, Lanman Workstation | | Exception list | Policy "Block NTLM Server Exception List" in the same location: IP addresses, NetBIOS names and fully qualified names | | One mapped drive | `New-SmbMapping -RemotePath \\server\share -BlockNTLM $true`, or `NET USE \\server\share /BLOCKNTLM` | There is no PowerShell cmdlet for the exception-list policy. After the policy has been created, individual entries can be added through the `BlockNTLMServerExceptionList` registry value under `HKLM:\SOFTWARE\Policies\Microsoft\Windows\LanmanWorkstation`. ## Rolling it out - Inventory what each client talks to; any server reached by address, alias or without Kerberos will fail. - Fix names first: connect by host name, and give aliases an alternate computer name rather than a CNAME. - Add the genuine exceptions to the list, each with an owner, and revisit it, since every entry is a server that can still receive NTLM. - Test on a pilot group. The Learn page describes no audit mode for this setting, so a pilot is the way to see the effect before enforcing. ## How it relates to signing Signing keys derive from the session key, and Kerberos gives that key a stronger start than NTLMv2. Blocking NTLM therefore complements required signing: signing says the messages are intact, Kerberos improves what the signature is keyed from. They are separate settings with separate failure modes. Neither replaces the other, and the order of rollout is usually names first, then the NTLM block, then required signing and encryption where the data warrants it. ## A worked example A security engineer enables `Set-SmbClientConfiguration -BlockNTLM $true` on a pilot group of Windows 11, version 24H2 workstations. Shares reached through `files01.example.internal` keep working because Kerberos is available. A mapped drive to `\\192.0.2.20\Archive` fails, because the address forces NTLM. A standalone NAS at `nas01.example.internal`, which is not joined to a directory, fails too. The engineer fixes the first by changing the mapping to a host name, and adds the NAS to the "Block NTLM Server Exception List" with a named owner and a replacement date. After the pilot, the same policy is rolled out to the remaining workstations. ```powershell # On a Windows 11, version 24H2 client Set-SmbClientConfiguration -BlockNTLM $true Get-SmbClientConfiguration | Format-List BlockNTLM ```
- Does BlockNTLM stop a Windows file server from accepting NTLM logons from other clients?No. Microsoft describes NTLM blocking as an SMB client capability only: it governs the outbound connections of the machine it is set on. The destination server can be any operating system where Kerberos or PKU2U can be used. Restricting what a server accepts is a different setting on that server.
- How do you keep a standalone NAS reachable from clients that block NTLM?Add it to the "Block NTLM Server Exception List" policy under Lanman Workstation, by IP address, NetBIOS name or fully qualified name. The policy has no PowerShell equivalent, though entries can later be appended to its registry value. Treat each entry as an exception with an owner.
- Why does a share that opens by host name fail when opened by IP address with blocking on?A connection by IP address or to a CNAME alias makes Windows authenticate with NTLM instead of Kerberos, and the client refuses NTLM. Use the host name so Kerberos can be used, or add the address to the exception list.
- BlockNTLM on a client also makes a file server reject NTLM from other clients.
- Blocking NTLM still works for connections by IP address if the server is Windows.
- BlockNTLM needs no Kerberos support on the destination server.
- BlockNTLM is on by default in Windows 11, version 24H2.
- A Group Policy exception list can be managed with a dedicated PowerShell cmdlet.