How to enable or disable SMB 1.0 in Windows 10/11 and Windows Server

To enable or disable SMB 1.0 in Windows 10 or 11, open Turn Windows features on or off, tick or clear SMB 1.0/CIFS File Sharing Support, select OK and restart the PC.

This guide also covers the PowerShell, sc.exe, registry and Group Policy routes, Windows Server 2019, 2022 and 2025, SMB1 auditing, and the errors you see when an old device still needs SMB1.

How to enable or disable SMB 1.0 in Windows 10/11 and Windows Server
Expand SMB 1.0/CIFS File Sharing Support to see its Automatic Removal, Client and Server sub-features before you tick or clear them. (Image: Microsoft Q&A)

How to enable or disable SMB 1.0 on Windows 10 and 11

The Windows Features dialog is the fastest route on a single PC. It switches the SMB1 client and server on or off together, and the change needs a restart.

The same dialog lists every optional component, so the Windows optional features dialog is worth knowing for other legacy features too.

  1. Open Control Panel and select Programs and Features (in Category view, select Programs first).
  2. Under Control Panel Home, select Turn Windows features on or off to open the Windows Features dialog.
  3. Scroll down to SMB 1.0/CIFS File Sharing Support.
  4. Clear the checkbox to disable SMB 1.0, or tick it to enable SMB 1.0. Expand the entry if you only want its client sub-feature, for example to reach an old NAS.
  5. Select OK and wait while Windows applies the change.
  6. Select Restart now on the confirmation page.

Microsoft strongly advises against turning SMB1 back on. Update or replace the device that needs it whenever possible, and enable SMB1 only on the PC that has to reach it.

Is SMB1 enabled by default in Windows 11?

No. Windows 11 does not contain the SMBv1 client or server after a clean installation, and the same is true of Windows Server 2019 through Windows Server 2025. Since Windows 10, version 1709, SMBv1 is no longer installed by default.

Windows version (clean install) SMB1 client SMB1 server Can you add SMB1?
Windows 11 (all editions) Not installed Not installed Yes, as an optional feature
Windows 10 Enterprise, Education, Pro for Workstations Not installed Not installed Yes
Windows 10 Pro, version 1809 and later Not installed Not installed Yes
Windows 10 Home and Pro, version 1709 Installed, removed after 15 days unused Not installed Yes
Windows Server 2016 Installed unless removed Installed unless removed Yes
Windows Server 2019, 2022 and 2025 Not installed Not installed Yes, as a server feature
Windows Server 2028 Preview Not included Not included No, SMB1 is removed

In-place upgrades of Windows 10 Home and Pro keep SMB1 at first. Windows then removes the client or server on its own if it goes unused for 15 days in total, not counting time the PC is off.

Enable or disable SMB1 using PowerShell

PowerShell does the same job as the Windows Features dialog and works on both Windows 10/11 and Windows Server. Open PowerShell as administrator first, because the optional-feature cmdlets need elevation.

Run Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol to see the current State, then disable it with the command below. Use Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol to turn it back on.

Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

-Online targets the running copy of Windows, and SMB1Protocol is the optional feature that holds the SMB1 client, server and automatic-removal components. The computer restarts to finish the change.

You should see: After the restart, Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol reports State : Disabled (or Enabled after the enable command).

To strip the SMB1 components without the optional-feature cmdlets, Remove-SmbComponent -Name SMB1Protocol removes the SMB1 server, client and automatic removal service. It also accepts SMB1Protocol-Client, SMB1Protocol-Server and SMB1Protocol-Deprecation to remove one part.

Enable or disable SMB 1.0 protocol on Windows Server 2019/2022

Windows Server 2019, 2022 and 2025 do not install SMB1. On a server that still has it, for example one upgraded from Windows Server 2016, remove it in Server Manager. Select the same feature on the Add features side of the wizard to install it instead.

Windows Server 2028 Preview no longer includes SMB1, so none of these steps can enable it there.

  1. Open Server Manager on the server.
  2. On the dashboard, under Configure this local server, select Add roles and features.
  3. On the Before you begin page, select Start the Remove Roles and Features Wizard, then select Next.
  4. On Select destination server, make sure the right server is selected under Server Pool, then select Next.
  5. On Remove server roles, select Next.
  6. On Remove features, clear SMB 1.0/CIFS File Sharing Support and select Next.
  7. On Confirm removal selections, check the feature is listed and select Remove.

To stop the SMB1 server component without removing the feature, run Set-SmbServerConfiguration -EnableSMB1Protocol $false in an elevated PowerShell window; $true turns it back on. This cmdlet does not need a restart, and Get-SmbServerConfiguration | Select EnableSMB1Protocol shows the result.

Disable SMB 1.0 on Windows Server in the Remove Roles and Features Wizard
On the Features page, clear SMB 1.0/CIFS File Sharing Support; its description also names the Computer Browser protocol. (Image: Microsoft)

Disable the SMB1 client with sc.exe in Command Prompt

The SMB client side is controlled by the mrxsmb10 driver and the LanmanWorkstation (Workstation) service that depends on it. sc.exe changes both and works on Windows client and Windows Server. Run these commands in an elevated Command Prompt and restart afterwards.

  1. Run sc.exe qc lanmanworkstation and note the DEPENDENCIES list; MRxSmb10 in it means the SMB1 client is wired in.
  2. To disable the SMB1 client, run sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi.
  3. Then run sc.exe config mrxsmb10 start= disabled.
  4. To enable the SMB1 client again, run sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi.
  5. Then run sc.exe config mrxsmb10 start= auto.
  6. Restart the computer so the Workstation service starts with the new dependencies.

Keep the space after depend= and start=; sc.exe rejects the command without it.

SMB1 registry key in LanmanServer Parameters

The SMB1 server can also be switched with one registry value. This is the route Microsoft gives for Windows 7 and Windows Server 2008 R2, and it is the value Group Policy sets. Back up the registry before you edit it.

  1. Press Win + R, type regedit and press Enter.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters.
  3. Right-click Parameters, select New > DWORD (32-bit) Value and name it SMB1 (skip this if it already exists).
  4. Double-click SMB1 and set Value data to 0 to disable the SMB1 server, or 1 to enable it.
  5. Select OK, close Registry Editor and restart the computer.

With no SMB1 value present, the default on those older versions is enabled. The PowerShell equivalent is Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force.

Disable SMB 1.0 via Group Policy

Across a domain, push the same registry values with a Group Policy Preferences registry item. One item turns off the SMB1 server; two more turn off the SMB1 client. Apply them to every workstation, server and domain controller that should stop using SMB1.

  1. Open Group Policy Management Console, right-click the GPO that should hold the setting and select Edit.
  2. Under Computer Configuration, expand Preferences > Windows Settings.
  3. Right-click Registry, point to New and select Registry Item.
  4. For the SMB1 server, set Action to Create, Hive to HKEY_LOCAL_MACHINE, Key Path to SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters, Value name to SMB1, Value type to REG_DWORD and Value data to 0.
  5. For the SMB1 client driver, add another item with Action Update, Key Path SYSTEM\CurrentControlSet\services\mrxsmb10, Value name Start, Value type REG_DWORD and Value data 4.
  6. Add a third item with Action Replace, Key Path SYSTEM\CurrentControlSet\Services\LanmanWorkstation, Value name DependOnService, Value type REG_MULTI_SZ, and the value data Bowser, MRxSmb20 and NSI, each on its own line.
  7. Close the editor, force a Group Policy update with gpupdate /force on a test machine, and restart the target computers.

Type the three DependOnService strings without quotes, commas or bullet points. WMI filters can exclude specific operating systems from the GPO.

Be careful on domain controllers: legacy Windows, older Linux and some partner systems that read SYSVOL may support only SMB1.

Disable SMB 1.0 via Group Policy with a new Registry Item in GPMC
Under Computer Configuration, Preferences, Windows Settings, right-click Registry and point to New to add each SMB1 value. (Image: Microsoft)

Audit SMB 1.0 access on Windows file servers

Before you remove SMB1 from a file server, log which clients still connect with it. Auditing works on Windows Server and Windows clients and does not block anything.

  1. Open PowerShell as administrator on the file server.
  2. Run Set-SmbServerConfiguration -AuditSmb1Access $true to turn auditing on.
  3. Run Get-SmbServerConfiguration | Select AuditSmb1Access and check it returns True.
  4. Leave the server running through a normal business cycle so scheduled jobs and rarely used devices connect.
  5. Open the Microsoft-Windows-SMBServer/Audit log in Event Viewer, under Applications and Services Logs > Microsoft > Windows > SMBServer > Audit.
  6. Look for event ID 3000; each entry records a client that tried to connect with SMB1.
  7. Run Set-SmbServerConfiguration -AuditSmb1Access $false when you have the list.

If you need a refresher on the console, the steps to open Event Viewer work the same on Windows Server. On the client side, event ID 32002 in Microsoft-Windows-SmbClient/Security shows the PC received an SMB1 negotiate response from a remote device.

How to check if SMB1 is enabled in Windows

Three commands answer the question from different angles: whether the feature is installed, whether the SMB1 server is on, and which SMB dialect a live connection is using.

  1. Run Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol in an elevated PowerShell window and read the State line.
  2. Run Get-SmbServerConfiguration | Format-List EnableSMB1Protocol; this one works without elevation, and False means the SMB1 server is off.
  3. Run sc.exe qc lanmanworkstation; if MRxSmb10 is missing from DEPENDENCIES, the SMB1 client is not in use.
  4. Open a share, then run Get-SmbConnection and read the Dialect column; 2.02, 2.1, 3.00, 3.02 or 3.1.1 means the connection uses SMB2 or SMB3.

Enable SMB on Windows 10

SMB2 and SMB3 are part of Windows 10 and Windows 11 and are on by default, so most people who search for this need file sharing turned on, not SMB1. Turn on sharing first and add SMB1 only if a specific old device demands it.

Windows 11 uses the same settings, so you can turn on network discovery there in the same way.

  1. Set the Wi-Fi or Ethernet network to Private on every PC that shares files.
  2. Select Start > Settings, type manage advanced sharing settings in the search box and open Manage advanced sharing settings.
  3. Under Private networks, turn on Network discovery and File and printer sharing.
  4. Press Win + R, type services.msc and select OK.
  5. Set Function Discovery Provider Host, Function Discovery Resource Publication, SSDP Discovery and UPnP Device Host to Automatic and start any that are stopped.
  6. If SMB2 was turned off earlier, run Set-SmbServerConfiguration -EnableSMB2Protocol $true in an elevated PowerShell window.

SMB2 and SMB3 share one stack, so enabling or disabling SMB2 also enables or disables SMB3.

Enable SMB file sharing on Windows 10 by turning on network discovery
In the Windows 10 Network folder, select the yellow bar and choose Turn on network discovery and file sharing. (Image: Microsoft)

SMB1 vs SMB2 vs SMB3 in Windows

SMB2 arrived with Windows Vista and Windows Server 2008, and SMB3 with Windows 8 and Windows Server 2012. Microsoft publicly deprecated SMB1 in 2014. Turning SMB2 or SMB3 off is only ever a short troubleshooting step, because of what it takes away.

Protocol Status in current Windows What you lose if you disable it
SMB 1.0 (CIFS) Not installed by default; removed in Windows Server 2028 Preview Only compatibility with SMB1-only devices, plus legacy NetBIOS browsing in the Network folder
SMB 2.x On by default Request compounding, larger reads and writes, durable handles, HMAC SHA-256 signing, symbolic link support
SMB 3.x On by default Transparent failover, SMB Multichannel, SMB Direct, encryption, directory leasing

Is it safe to enable SMB1?

Leave SMB1 off and update the firmware of the NAS, printer or scanner that needs it; enable only the SMB1 client, on one PC, if there is no update. SMB1 has known security issues that ransomware and other malware exploit, and Microsoft strongly recommends against reinstalling it. Devices that still need it usually run old Linux or Samba builds that the vendor can update to SMB 2.02 or later.

If an old application needs SMB1 only to avoid oplocks, a share created with Set-SmbShare or New-SmbShare and -LeasingMode None lets it work over SMB2 or later. Use that only on the share the vendor names.

SMB1 error: you can't connect to the file share because it's not secure

"You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol"

The remote device offers only SMB1 and this PC has the SMB1 client removed.

  1. Check the device maker's site for firmware that supports SMB 2.02 or later and install it.
  2. If there is no update, enable SMB 1.0/CIFS File Sharing Support (or only its client sub-feature) in Turn Windows features on or off.
  3. Restart the PC and connect to the share again.

Error 58, System Error 64, "The specified network name is no longer available" or Unspecified error 0x80004005

These are the other messages Windows shows when an SMB1-only device and a PC without SMB1 try to talk.

  1. Open Event Viewer and check Microsoft-Windows-SmbClient/Security for event ID 32000, which confirms the device asked for SMB1.
  2. Update the device to a firmware that supports SMB2 or SMB3.
  3. Enable the SMB1 client only as a last resort, then restart.

Computers no longer show in the Network folder after SMB1 is removed

The Computer Browser service depends on SMB1 and is uninstalled with it.

  1. Open services.msc.
  2. Set Function Discovery Provider Host and Function Discovery Resource Publication to Automatic (Delayed Start) and start them.
  3. Open Network in File Explorer and turn on network discovery when prompted.
  4. Map drives or printers by name or IP address for the devices you use every day.

A NAS or workgroup share fails after Windows 11 24H2 or Windows Server 2025

SMB signing is required by default in these releases, and changing SMB versions does not change that.

  1. Enable SMB signing on the NAS or remote server.
  2. Update or replace the device if it cannot sign SMB traffic.
  3. Leave SMB1 and SMB signing settings on the PC as they are; disabling them does not fix this error.

SMB1 disappeared from Windows 10 on its own

Windows 10 Home and Pro remove the SMB1 client or server after 15 days without use.

  1. Re-enable SMB 1.0/CIFS File Sharing Support in Turn Windows features on or off if you still need it.
  2. Restart the PC. The automatic removal runs only once, so Windows does not remove SMB1 again after you reinstall it.

The Windows Server best practices analyzer says "The SMB 1.0 file sharing protocol should be enabled"

That BPA rule is deprecated and gives a false warning after SMB1 is removed.

  1. Ignore the warning and leave SMB1 disabled.
  2. Install the latest cumulative update on Windows Server 2019 or 2022; the April 2022 update corrected the false warning.
SMB1 error fix: turn on network discovery in the Windows 11 Network folder
When computers vanish from Network after SMB1 removal, select the bar and choose Turn on network discovery and file sharing. (Image: Microsoft)

SMB 1.0 in Windows FAQ

Is SMB1 enabled by default in Windows 10?

Not on a clean install of Windows 10, version 1709 or later, except that Windows 10 Home and Pro 1709 keep the SMB1 client until it goes unused for 15 days. From version 1809, Windows 10 Pro ships without the SMB1 client too.

Does enabling or disabling SMB1 need a restart?

Yes for the Windows Features dialog, the optional-feature PowerShell cmdlets, sc.exe and registry changes. The exception is Set-SmbServerConfiguration -EnableSMB1Protocol, which switches the SMB1 server on or off without a restart.

Can I enable only the SMB1 client?

Yes. SMB1 has separate client and server sub-features. Expand SMB 1.0/CIFS File Sharing Support in Windows Features and tick only the client part, or use the sc.exe enable commands, so the PC can reach an old device without serving files over SMB1.

How do I find which devices still use SMB1?

Run Set-SmbServerConfiguration -AuditSmb1Access $true on the file server, then read event ID 3000 in the Microsoft-Windows-SMBServer/Audit log. Each entry names a client that tried to connect with SMB1.

Does disabling SMB2 also disable SMB3?

Yes. SMB2 and SMB3 share the same protocol stack in Windows 8, Windows Server 2012 and later, so Set-SmbServerConfiguration -EnableSMB2Protocol $false turns off both. Keep them on except for short troubleshooting.

Can you enable SMB1 on Windows Server 2025?

Yes. Windows Server 2025 does not install SMB1, but you can add SMB 1.0/CIFS File Sharing Support as a feature. Windows Server 2028 Preview no longer includes SMB1, so it cannot be enabled there at all.

Is SMB 1.0 the same as CIFS?

Windows treats them as one feature: the optional component is labelled SMB 1.0/CIFS File Sharing Support. Turning it off removes both names at once, and SMB2 and SMB3 are unaffected.

Why can't Windows 11 see my old NAS?

Many older NAS units offer only SMB1, which Windows 11 does not install. Update the NAS firmware to support SMB2 or SMB3. On Windows 11 24H2, also check that the NAS supports SMB signing, which is now required by default.

Will disabling SMB1 break network browsing?

It removes the Computer Browser service, so the Network folder stops listing PCs through legacy NetBIOS browsing. Turning on the Function Discovery services and network discovery brings Windows PCs back through WS-Discovery.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *