Win7 firewall how to close the firewall shutdown command execution step

  
Press “win+r” key combination, enter cmd in the open box, open the command line window.
Enter the command: netsh firewall set opmode disable, press the Enter key.

If you have anti-virus software installed, there may be security tips. Select “Allow action”
Run the command, the following prompt will appear on the interface.

View the netsh advfirewall help documentation (click to enter).

The command to turn off the firewall should be: netsh advfilewall set publicprofile state off.
Open the command line window with administrator privileges and enter netsh advfilewall set publicprofile state off.

Press Enter to close the firewall.

Copyright © Windows knowledge All Rights Reserved