Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Microsoft · Windows

Disable the SMBv1 server (SMB1)

Turns off the SMB version 1 server protocol. SMBv1 is deprecated, insecure, and not installed by default on current Windows releases.

Verified · 2026-12-05 Per machine (HKLM) Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Where it lives

  • HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

Values

NameTypeData and meaningDefault
SMB1REG_DWORD0 SMBv1 server disabled
1 SMBv1 server enabled
Not present

In plain English

On Windows Server 2016 and later the supported way is Set-SmbServerConfiguration -EnableSMB1Protocol $false or removing the SMB1 feature. The registry value SMB1 = 0 is the method Microsoft documents for Group Policy deployment.

Check first: some old NAS devices, printers and scanners only speak SMBv1. Windows logs their access attempts when SMB1 auditing is on.

RestartReboot required for the registry method.
RiskDevices that only support SMBv1 can no longer connect.

How to configure it

Check and disable with PowerShell (preferred)

PowerShell

Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol
Set-SmbServerConfiguration -EnableSMB1Protocol $false -Force

Official sources

Verified Confirmed automatically on the cited source.

Networking (TCP/IP, SMB, DNS)Security hardening