SMBv1 is the original version of the Server Message Block file sharing protocol, dating back to the 1980s. It has no modern encryption, weak integrity checks, and it was the route the WannaCry and NotPetya ransomware outbreaks used to spread across networks in 2017. Microsoft has deprecated it for years, and there is no good reason to leave it running on a Windows PC or server in 2026 unless a specific legacy device genuinely needs it.
This guide shows how to check whether SMBv1 is present, how to find anything still using it, and how to switch it off on current and older versions of Windows and Windows Server.
Is SMBv1 even installed on your machine?
On a clean install, probably not. SMBv1 has not been installed by default since Windows 10 version 1709 and Windows Server version 1709, and every version of Windows 11 and Windows Server 2019, 2022 and 2025 ships without it. Where it does turn up is on machines that were upgraded in place from older releases, on systems where someone switched it back on for an old printer or NAS, and on anything still running Windows 7, 8.1 or Server 2012 R2 and earlier.
To check on Windows 10, Windows 11 or Windows Server 2016 and later, open PowerShell as administrator and run:
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol Get-SmbServerConfiguration | Select-Object EnableSMB1Protocol, EnableSMB2Protocol
If the first command shows State : Disabled, the feature is not installed and you are done. If it shows Enabled, read on. On Windows Server you can also use Get-WindowsFeature FS-SMB1.
Step 1: find out what still uses SMBv1
Before you turn it off, check that nothing on your network relies on it. Old multifunction printers that scan to a network folder, older NAS boxes and some legacy line-of-business software are the usual suspects. Windows can log every SMBv1 connection for you:
Set-SmbServerConfiguration -AuditSmb1Access $true -Force
Leave it for a week or two, then look in Event Viewer under Applications and Services Logs > Microsoft > Windows > SMBServer > Audit. Event ID 3000 records the client address of anything that connected using SMBv1. No events means nothing is using it. If you do find a device, check for a firmware update that adds SMBv2 or SMBv3 support before you go further.
Step 2: disable SMBv1 on Windows 10 and Windows 11
The cleanest option is to remove the feature completely, which covers both the client and server components:
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -NoRestart
Restart the PC to finish. You can do the same thing through the GUI: search for Turn Windows features on or off, untick SMB 1.0/CIFS File Sharing Support, click OK and restart.
If you only want to stop the machine serving files over SMBv1 without removing anything, this takes effect immediately with no restart:
Set-SmbServerConfiguration -EnableSMB1Protocol $false -Force
Step 3: disable SMBv1 on Windows Server
On Windows Server 2012 R2, 2016 and later, remove the feature with:
Uninstall-WindowsFeature -Name FS-SMB1
Then restart. On Server 2012 (not R2), which predates the removable feature, use Set-SmbServerConfiguration -EnableSMB1Protocol $false instead.
Older systems: Windows 7 and Server 2008 R2
These versions lack the cmdlets above, so SMBv1 is controlled through the registry and service configuration. They are long out of support and should be replaced, but if you are stuck with one:
Server side, set this DWORD to 0 and restart:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters SMB1 (DWORD) = 0
Client side, from an elevated Command Prompt:
sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi sc.exe config mrxsmb10 start= disabled
Again, restart afterwards. The space after each equals sign is required.
Rolling it out across a domain
For lots of machines, a Group Policy Preferences registry item that sets the SMB1 value to 0 handles the server side, and a startup script running Disable-WindowsOptionalFeature handles newer clients. Microsoft’s Security baseline templates also include an SMBv1 setting under MS Security Guide if you already import those ADMX files. Test on a pilot group first so any forgotten scanner turns up early.
If you really have to turn it back on
Occasionally a device cannot be replaced or updated straight away. Our guide on how to enable SMBv1 with PowerShell covers that, but treat it as a short-term exception, enable it only on the machine that needs it, and plan to retire the device.
NAS stopped working after Windows 11 24H2? It is probably not SMBv1
Windows 11 24H2 and Windows Server 2025 made two other SMB security changes that catch people out. SMB signing is now required by default for outbound connections, and guest (no password) access to shares is blocked. Many cheaper NAS devices do not support signing or rely on guest access, so they suddenly become unreachable. The fix is to enable signing on the NAS or set up a proper user account on it, not to re-enable SMBv1. If you see errors about your organisation’s security policies, our article on unauthenticated guest access being blocked explains it in more detail.
FAQ
Will disabling SMBv1 break normal file sharing?
No. Windows Vista and later use SMBv2 or SMBv3 for shared folders and mapped drives. Only devices that speak nothing but SMBv1 are affected.
Does disabling SMBv1 make my network safe from ransomware?
It closes one well-known route, but it is not a cure-all. Keep Windows patched, limit admin rights, and keep offline or immutable backups, for example by following our guide to setting up Windows Server Backup to a network share.
Do I need to disable SMBv2 as well?
No. SMBv2 and SMBv3 share the same component and are the secure, current versions. Microsoft advises against disabling them.
If you have any questions or feedback on this guide, please leave us a comment below.
Gear We Recommend
A few general tech accessories worth having alongside this.
Browse our General Tech Accessories picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.