Enable/Disable firewall through command line

This command can be used when we are working with windows network:

Open command prompt

This command gets into the firewall section.

netsh firewall set opmode enable “To enable firewall”
netsh firewall set opmode disable “To disable firewall”


Leave a Reply

Your email address will not be published. Required fields are marked *