0

In Microsoft docs, it is said that SMB can be turned on with the PowerShell command Set-SmbServerConfiguration -EnableSMB2Protocol $true. Many websites also say that it can be turned on via 'Turn Windows Features On Or Off' in Control Panel. The first method requires no restart while the second method does. So is there a difference between these two?

1
  • 1
    The many websites are suggesting you enable SMBv1 not SMBv2 through Windows Features
    – Ramhound
    Jun 19, 2021 at 10:11

1 Answer 1

2

In Windows, SMBv1 and SMBv2/3 are implemented in two separate drivers (Srv and Srv2) – if an SMBv1 handshake is received, one hands off the connection to another.

Disabling either SMBv1 or SMBv2 via Set-SmbServerConfiguration will just make the driver refuse to negotiate the corresponding protocol. The driver is still there and running, but it only does what the configuration tells it to do.

Meanwhile, disabling SMBv1 via Control Panel or Disable-WindowsOptionalFeature will actually uninstall the 'Srv' driver entirely. (There is no corresponding option for removing SMBv2.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .