How to turn on/off firewall on Windows computer
Microsoft has included firewall features in its operating systems such as Windows XP, Vista, Windows 7 and Windows 8.
1. How to turn on firewall in Windows 10
To turn the firewall on or off on Windows, you need to log in to the computer with Admin rights.
Note: Windows Firewall is enabled by default in Windows 10. You should not turn off Windows Firewall unless you have installed and enabled a third-party firewall. Turning off Windows Firewall can make your computer (and network, if applicable) vulnerable to unauthorized access.
1.1. Turn on/off firewall in Control Panel
Step 1: Enter Windows Defender Firewall in the search box > click on the result that appears with the Control Panel line below. Or Open Control Panel > Windows Defender Firewall
Step 2: Click Turn Windows Firewall on or off on the left panel:
Step 3: Check the Turn on Windows Defender Firewall option to turn on or Turn off Windows Defender Firewall to turn off the firewall for Private and Public networks respectively, then click OK.
1.2. Turn on the firewall in Security and Maintenance
- Open Control Panel > Security and Maintenance
- In the Security tab , under Network firewall , click Turn on now .
1.3. Turn on/off firewall in Command Prompt:
Please refer to the detailed instructions in the article: Instructions for activating/disabling Windows Firewall using Command Prompt
1.4. Turn on/off Windows 10 firewall in Windows Defender Security
Open Windows Defender Security Center > Firewall & network protection > click Private (discoverable) network or Public (non-discoverable) network , depending on which network's firewall you want to turn off or on, then just switch to On or Off below. Windows Firewall section is fine. To be more careful, you can choose to block/unblock incoming connections in the Incoming connections section .
1.5. Turn on firewall from notification
Click the notification (if available) from Windows Firewall to enable Windows Firewall for all network profiles.
2. Turn on/off firewall in Windows 7
Next, we will guide you through configuring a firewall in Windows 7:
Step 1:
You must log in to the computer with administrative rights, access the path Start > Control Panel > System and Security .
Step 2:
In the System and Security window , click Windows Firewall .
Step 3:
In the left column of the interface, select Change notification settings to adjust the firewall settings.
Step 4:
Here, you can optionally adjust Firewall on or off for both Private and Public network modes
Step 5:
To install according to Windows' recommended settings, you can click Use recommended settings .
Or to return to the original default, select Restore default and click Yes when the confirmation message appears
Step 6:
If you are an expert, you can use Advance Setting to configure the firewall for inbound and outbound information flows depending on your needs.
Step 7:
When you click Inbound Rules on the left, you will see a list of Inbound Rules displayed. You can enable or disable any connection you want by right-clicking and selecting Enable Rule / Disable Rule
Do the same for Outbound Rules for outgoing information flows.
3. Turn on/off firewall in Windows 8/8.1
Click on Control Panel on the screen, if not there, move the mouse to the upper right corner until the magnifying glass icon appears as shown:
Enter Control Panel and click on the icon that appears below to open Control Panel. If you want to pin it to the Start menu or Taskbar, right-click on the Control Panel icon and select the corresponding option.
In the Control Panel, go to and click on Windows Firewall, the Windows Firewall window appears with the same options as on Windows 7 (picture in step 3 above), you can follow the instructions in the wall toggle section. Firewall on Windows 7 to turn firewall on and off in Windows 8, as well as change related firewall settings.
Good luck!
You should read it
- How to Customize Windows Firewall with Windows Firewall Control
- 3 ways to turn off the Windows 10 firewall, steps to turn off the firewall on Windows 10
- How to turn firewall (Firewall) on Win 7
- Instructions to reset Windows Firewall Rules to the initial default state
- Instructions allow applications to communicate with each other via Windows Firewall
- How to use a firewall in Windows 10
- How to turn on / off Windows Firewall in Windows 7, 8 / 8.1 and Windows 10
- Learn about firewalls, Windows Firewall on Windows Server 2012
May be interested
- How to monitor Internet data usage on Windowsalthough internet data usage on pcs is not as common as mobile phones, that doesn't mean you don't need to care about it. below, we will show you how to reset data usage records in windows 10.
- Is it possible to dual boot Windows 10 and SteamOS on PC?steamos is not exactly the same as other linux distributions but it uses a modified version of the core arch linux. is it possible to dual boot windows 10 and steamos? the answer is yes.
- How to turn off test mode on windows 10what is test mode? how to turn off test mode on windows 7, 8, 8.1, windows 10, 11
- 4 ways to change user account type in Windowsin addition to creating multiple users, windows 10 also allows you to limit what others can do on the shared pc, by providing multiple account types, specifically standard user accounts and admin accounts.
- 15 ways to adjust the brightness of computer and laptop screensin this article you will learn 12 ways to adjust windows 10 screen brightness to help get the right screen brightness to protect your eyes as well as extend the life of your pc, laptop screen and laptop battery.
- Users will have to pay for Windows 10 security updatesfrom the end of 2025, to receive security updates on the windows 10 operating system, businesses and individual users will have to pay microsoft.