Disable SMB1 on Windows Server 2008 R2

In order to disable SMB1 on Windows Server 2008 R2, execute below command using power shell as administrator

 

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force

To verify go to registry -> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\SMB1
Verify that SMB1 is 0.

To disable SMB1 client

On the same powershell execute below commands

sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
sc.exe config mrxsmb10 start= disabled

Reboot your server

 Microsoft    
 
Fully optimised SSD hosting

Optimised for WordPress & other applications