How to modify existing firewall rule from CMD

D

david_ooo

Hello,I would like to modify firewall rule in CMD to have unblocked RDP.I have found this command somewhere:netsh advfirewall firewall add rule name="Open Remote Desktop" protocol=TCP dir=in localport=3389 action=allow profile=domainbut it adds a new rule "Open Remote Desktop". I want to modify an existing, which is "Remotedesktop". How to do this from Command Line? I want also know how to reverse the rule to block RDP - in CMD as well. Thank you in advance.

Continue reading...
 
Back
Top Bottom