Monday, May 15, 2017

How to Disable SMB Service in Windows and Protect your system from wannacry virus

How to Disable  SMB Service in Windows and Protect your system from wannacry virus


How to Disable SMBv1 support

The wannacry vulnerability can  be closed by completely disabling SMBv1 support. Run the following  command in cmd (run as administrator).

dism /online /norestart /disable-feature /featurename:SMB1Protocol

This will permanently disable SMBv1


For enabling just change the disable-future to enable-future

No comments: