Windows closes useless ports

netsh advfirewall firewall add rule name="block445 (TCP-In)" protocol=TCP dir=in localport=445 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block445 (UDP-In)" protocol=UDP dir=in localport=445 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block137 (TCP-In)" protocol=TCP dir=in localport=137 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block137 (UDP-In)" protocol=UDP dir=in localport=137 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block138 (TCP-In)" protocol=TCP dir=in localport=138 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block138 (UDP-In)" protocol=UDP dir=in localport=138 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block139 (TCP-In)" protocol=TCP dir=in localport=139 service=any profile=any description="For foreign Windows editions" action=block

netsh advfirewall firewall add rule name="block139 (UDP-In)" protocol=UDP dir=in localport=139 service=any profile=any description="For foreign Windows editions" action=block

Was this answer helpful? 5 Users Found This Useful (6 Votes)