Can a Windows Server 2025 file server raise its SMB dialect floor to 3.1.1, and what would that cut off?
answer
- automatic: highest common dialect wins
- two parameters: a minimum and a maximum
- only the newest Windows releases have it
- clients older than Windows 10 stop connecting
- Samba has its own minimum-protocol parameter
basics
~20 sYes: on Windows Server 2025 or Windows 11 24H2, Set-SmbServerConfiguration -Smb2DialectMin SMB311 refuses older dialects. Clients whose highest dialect is 3.0.2 or lower, such as Windows 8.1, can no longer connect, so inventory dialects first.
solid answer
~40 sWindows negotiates the highest dialect both sides share, from 2.0.2 to 3.1.1, and the default `Smb2DialectMin` is `None`. Beginning with Windows 11 24H2 and Windows Server 2025, `Set-SmbServerConfiguration -Smb2DialectMin SMB311` (or the Group Policy setting "Mandate the Minimum version of SMB" under Lanman Server) makes the server refuse anything lower; a 3.1.1 minimum effectively sets the maximum to 3.1.1 too. Because 3.1.1 first shipped in Windows 10 and Windows Server 2016, clients such as Windows 8.1, Windows 7 and a third-party device that tops out at 3.0.2 or 2.1 lose access. Before enforcing, record each client's `Dialect` with `Get-SmbSession` over a full business cycle. Samba's equivalent is its own `server min protocol`, which defaults to SMB2_02.
go deeper
Recall that Windows picks the highest common dialect and that 24H2 and Server 2025 let you set a minimum.
Know the parameters (Smb2DialectMin, Smb2DialectMax), the policy names and the values SMB202 through SMB311.
Map a floor onto the clients it removes using the release list, and gate the change on a measured inventory of session dialects.
Treat the floor as a deliberate compatibility cut with named exceptions and owners, not as a free security improvement.
## What the setting controls By default a Windows SMB server and client automatically negotiate the highest matching dialect from SMB 2.0.2 to 3.1.1. Beginning with **Windows 11, version 24H2 and Windows Server 2025**, Microsoft's dialect-management page lets you set a minimum and a maximum, separately for the server (inbound connections) and the client (outbound connections): | Where | Server (inbound) | Client (outbound) | |---|---|---| | PowerShell | `Set-SmbServerConfiguration -Smb2DialectMin` / `-Smb2DialectMax` | `Set-SmbClientConfiguration -Smb2DialectMin` / `-Smb2DialectMax` | | Group Policy | Computer Configuration > Administrative Templates > Network > Lanman Server | the same path under Lanman Workstation | | Policy names | "Mandate the Minimum version of SMB" and "Mandate the Maximum version of SMB" | the same names | | Values | `None`, `SMB202`, `SMB210`, `SMB300`, `SMB302`, `SMB311` | the same values | The default is `None`, meaning no restriction. You may set only a minimum: a minimum of 3.1.1 effectively sets the maximum to 3.1.1. The page lists these as SMB2 and SMB3 dialect controls; whether SMBv1 is reachable is a separate switch, `EnableSMB1Protocol`. ```powershell # Windows Server 2025 (inbound): refuse anything below SMB 3.1.1 Set-SmbServerConfiguration -Smb2DialectMin SMB311 # Windows 11 24H2 or later (outbound): the same on the client Set-SmbClientConfiguration -Smb2DialectMin SMB311 # Before enforcing: which dialect is each current session using? Get-SmbSession | Select-Object ClientComputerName, ClientUserName, Dialect ``` ## Who a 3.1.1 floor cuts off MS-SMB2's product notes say which Windows releases lack each dialect: | Highest dialect | Windows releases at that level | |---|---| | 2.0.2 | Windows Vista SP1 and Windows Server 2008 (no 2.1) | | 2.1 | Windows 7 and Windows Server 2008 R2 (no 3.0) | | 3.0 | Windows 8 and Windows Server 2012 (no 3.0.2) | | 3.0.2 | Windows 8.1 and Windows Server 2012 R2 (no 3.1.1) | | 3.1.1 | Windows 10 and Windows Server 2016 and later | A floor of 3.1.1 therefore refuses everything in the first four rows, plus any storage appliance or multifunction device whose firmware stops short of 3.1.1. A client-side floor is just as real: a Windows 11 24H2 machine with its client minimum at 3.1.1 will not connect to an older NAS. ## A defensible rollout 1. **Inventory first.** Microsoft's page documents no audit mode for the dialect floor, so use `Get-SmbSession` and its `Dialect` property on the server across a full business cycle, plus the client's `Get-SmbConnection`. 2. **Name the exceptions.** For each non-3.1.1 consumer record an owner and an upgrade path. Moving the floor is a decision about those consumers, not a protocol upgrade for them. 3. **Move the floor in stages.** Apply it to one server or a small pilot group of machines first, using Group Policy or the cmdlet, and keep the rollback (`-Smb2DialectMin None`) in the ticket. 4. **Check the neighbouring settings.** A dialect floor does not change signing: Microsoft's page says changing which versions you enable "doesn't change this signing requirement", and warns against disabling versions or signing to work around connection failures. 5. **Leave SMBv1 to its own control.** Auditing and disabling SMBv1 are the previous questions' subject. ## Why bother A 3.1.1 floor means every session gets pre-authentication integrity and the negotiated signing and encryption algorithms that only 3.1.1 offers. That is a gain, but it is a gain bought with compatibility, which is why the question for a review is not "can it be done?" but "who is cut off?". ## Samba's parameter On a Samba server the knob is Samba's, not Windows's: `server min protocol`, which smb.conf(5) says defaults to `SMB2_02`, with `SMB3_11` as the value for 3.1.1. `server max protocol` defaults to `SMB3`, which selects `SMB3_11`. smb.conf(5) also says the option normally should not be set because automatic negotiation picks the dialect. ```ini [global] server min protocol = SMB3_11 ```
- What does a client-side Smb2DialectMin of SMB311 on a Windows 11 24H2 laptop change?It governs outbound connections. The laptop will only connect to servers that negotiate SMB 3.1.1, so an older NAS or a Windows Server 2012 R2 file server becomes unreachable from it. The server and client settings are independent, so a server floor does not constrain what that laptop connects to.
- Does moving the dialect floor relax or remove the SMB signing requirement of Windows 11 24H2?No. Microsoft's dialect page says changing which SMB protocol versions you enable does not change the signing requirement, and it says not to disable protocol versions or signing to work around failures. Signing defaults are a separate setting with their own staging.
- A vendor says a NAS is fully SMB 3 capable. How do you confirm the dialect before the floor moves?Look at the live session on the Windows server or client: Get-SmbSession on the server or Get-SmbConnection on a client, Dialect property. A device that claims SMB 3 may negotiate 3.0 or 3.0.2, which a 3.1.1 floor refuses.
- Smb2DialectMin works on every Windows release since SMB 3.0
- A floor of 3.1.1 also switches off SMBv1 for you
- Raising the floor relaxes the required-signing default
- Samba's server min protocol defaults to SMB3_11
- Setting the floor is safe without checking client dialects