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.
Where it lives
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Values
| Name | Type | Data and meaning | Default |
|---|---|---|---|
SMB1 | REG_DWORD | 0 SMBv1 server disabled1 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.
| Restart | Reboot required for the registry method. |
|---|---|
| Risk | Devices 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 -ForceOfficial sources
- How to detect, enable and disable SMBv1, SMBv2, and SMBv3 in Windows · checked 2026-12-05
Verified Confirmed automatically on the cited source.