netsh advfirewall firewall set rule name="mdns(udp-in)" dir=in new   name="mdns(udp-in)" dir=in action=block
netsh advfirewall firewall set rule name="mDNS(Udp-out)" dir=out new   name="mDNS(Udp-out)" dir=out action=block

netsh advfirewall firewall set rule group="네트워크 검색" new enable=no

pause 
rem netsh advfirewall firewall set rule name="mdns(udp-in)" dir=in new   name="mdns(udp-in)" dir=in action=allow
rem netsh advfirewall firewall set rule name="mDNS(Udp-out)" dir=out new   name="mDNS(Udp-out)" dir=out action=allow
rem netsh advfirewall firewall set rule group="네트워크 검색" new enable=yes

rem  netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=135 name="RansomWannaCry_Block_TCP-135"