Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sources:
- https://technet.microsoft.com/en-us/library/security/ms17-010.aspx
- https://support.microsoft.com/en-gb/help/2696547/how-to-enable-and-disable-smbv1,-smbv2,-and-smbv3-in-windows-vista,-windows-server-2008,-windows-7,-windows-server-2008-r2,-windows-8,-and-windows-server-2012
- Control Panel -> Programs -> Turn Windows features on and off -> uncheck all *SMB 1.0* items
- cmd.exe -> Run as Administrator
- Win10:
- powershell.exe "Set-SmbServerConfiguration -EnableSMB1Protocol $false"
- dism /online /norestart /disable-feature /featurename:SMB1Protocol
- powershell.exe "Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol" - can cause restart
- Win7:
- powershell.exe "Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force"
- Common:
- sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
- sc.exe config mrxsmb10 start= disabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement