Advertisement
VXP

WanaSmile

VXP
May 15th, 2017
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Sources:
  2. https://technet.microsoft.com/en-us/library/security/ms17-010.aspx
  3. 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
  4.  
  5. Control Panel -> Programs -> Turn Windows features on and off -> uncheck all *SMB 1.0* items
  6.  
  7.  
  8. cmd.exe -> Run as Administrator
  9.  
  10. Win10:
  11. powershell.exe "Set-SmbServerConfiguration -EnableSMB1Protocol $false"
  12. dism /online /norestart /disable-feature /featurename:SMB1Protocol
  13. powershell.exe "Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol" - can cause restart
  14.  
  15. Win7:
  16. powershell.exe "Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force"
  17.  
  18. Common:
  19. sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
  20. sc.exe config mrxsmb10 start= disabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement