Skip to content

How to disable Windows 10 firewall

Rate this post

How to disable Windows 10 firewall: Ever since you switched to Windows 10 , you’ve noticed that some programs are no longer able to access the Internet. The fault, in your opinion, lies with the firewall integrated in the operating system, and so you thought of disabling it. Well, I will tell you, your suspicions are well founded, but completely disabling the Windows 10 firewall, without replacing it with an alternative solution, is a risky move, as it exposes the computer to unnecessary risks of intrusion from the outside.

Without a firewall, in fact, you will not be notified when a new program executed on the PC tries to communicate with the outside world and, therefore, you could risk unpleasant attacks on your privacy by “spy” software for problems that, almost certainly, can solve in a much less “drastic” way. If you want some advice, instead of deactivating the Windows firewall completely, try to access the settings of the latter and to unblock Internet access only for the programs that give you problems: in this way, you will keep the system safe and, almost for sure, you will solve software connectivity problems that have not worked well so far.

Courage: take five minutes of free time and try to follow my advice. I will explain first how to unblock access to the Net for individual programs blocked by the Windows 10 firewall and then, if you want to take risks by completely disabling this useful security tool, I will explain how to disable the Windows 10 firewall by following the various procedures available. I am sure that in the end you will be able to solve your connection problems without unnecessarily putting your PC at risk. Happy reading and good luck for everything!

Disable Windows 10 firewall for one application only

As widely emphasized in the introduction of this tutorial, disabling the Windows 10 firewall completely (without replacing it with an alternative solution) is a bad idea, as it exposes the computer to unnecessary risks.

Having made this important premise, it seems right to me to begin this tutorial by explaining how to disable the Windows 10 firewall in a partial way , i.e. allowing only a specific application to access the Net, without disabling protection for the rest of the programs.

By default, when a software is run for the first time on the PC and requires access to the Internet, the Windows 10 firewall intercepts it and warns the user, asking him what to do: answering Allow access to the notification that appears on the screen, you disable the Windows firewall for that specific application and thus allow it to freely access the network.

Allow access in the Windows 10 firewall

If you have not seen any such warning or have changed your mind and want to allow access to the network to a program that you previously blocked, do so: click on the Windows Start button (the flag icon located in the corner at the bottom left of the screen) and select the gear icon on the left side of the menu that appears on the desktop, in order to access the PC Settings panel .

In the window that opens, click on the Update and security icon and go first to Windows Security (in the left sidebar) and then to Firewall and network protection . Then select the Allow app via firewall item located at the bottom and press the Change settings button to unlock access to the Windows 10 firewall control panel.

How to authorize apps in the Windows 10 firewall

Now you just have to do is find the program to be unlocked in the Windows firewall, put the check mark next to its name, make sure that the check also appears in the Private box and save the settings by pressing the OK button .

Repeat the operation for all the programs you want to have free access to the Internet and the Windows firewall will be deactivated only for the latter, continuing to protect the rest of the system.

Disable Windows 10 firewall completely

Although there is the possibility to disable the Windows 10 firewall only for some applications, are you going to completely disable this security system? As you wish, but I repeat the concept that in my opinion it is a bad idea: if you do not replace the Windows firewall with another firewall, you will expose your PC to unnecessary security risks. Are you still willing to proceed? OK, so here are the various procedures you can follow to achieve your goal.

PC settings

The easiest way to disable the Windows 10 firewall is to act through the settings panel of the Microsoft operating system. Then click on the Start button (the flag icon located in the lower left corner of the screen) and select the gear icon on the left side of the menu that appears on the desktop.

In the window that opens (the Windows 10 settings panel), click on the icon called Update and security ; then select the Windows Security item from the left sidebar and go to Firewall and network protection .

How to disable Windows 10 firewall

The Windows Defender Security Center will open , i.e. the configuration panel of the security tools included in Windows (the Windows Defender antivirus, the Windows firewall, etc.). Select, therefore, the network profile currently used on your computer (it is the one marked with the word active , for example Private network ), move the lever for the Windows Defender Firewall function to Disabled and answer Yes to the warning that appears on the screen.

Then, if present, remove the check from the Block all incoming connections box , including those in the list of allowed apps , to disable the filtering of incoming traffic in all applications installed on your computer.

How to disable Windows 10 firewall

In case of second thoughts, you can reactivate the Windows 10 firewall by going back to the Windows Defender Security Center , selecting the active network profile on your computer and moving the lever for the Windows Defender Firewall function to the Activated position again (the option to block connections input is not active by default, so I do not recommend enabling it, unless you have specific needs in this regard).

Control panel

As you certainly know, in Windows 10 there is still the classic control panel , the one that was already there in the days of Windows XP (to then be reviewed in an important way in Windows Vista). Well, you can also disable the firewall through the latter.

To disable the Windows 10 firewall via the classic control panel, click on the Windows Start button (the flag icon located in the lower left corner of the screen), search for “control panel” in the menu that appears and select the first occurrence in the search results.

Windows 10 control panel

In the window that opens, click on the System and security icon , then go to Windows Defender Firewall and select the Enable / Disable Windows Defender Firewall item from the left sidebar. Therefore, add the check mark next to the Disable Windows Defender Firewall item (not recommended) in the Private Network Settings section and press the OK button to save the changes.

How to disable Windows 10 firewall

If you want, you could also disable the firewall for public networks, but in these cases the operation is even more discouraged, as public networks are much more dangerous than private ones (therefore you would increase even more the risk of being attacked by external).

Command prompt

Are you a command line enthusiast? Then you will be happy to know that you can also disable the Windows 10 firewall via the Command Prompt , thus avoiding navigating through the many menus of the PC Settings panel or the classic control panel of the Microsoft operating system.

To issue firewall related commands, you need to open the Prompt as an administrator. Click, then, on the Windows Start button (the flag icon located in the lower left corner of the screen), search for cmd in the menu that opens, right click on the Command Prompt icon select the icon of the gear present in the search results and select Run as administrator from the context menu.

At this point, answer Yes to the request to execute the Prompt and issue, within the latter, one of the commands listed below.

  • To disable the Windows 10 firewall for your network profilenetsh advfirewall set currentprofile state off.
  • To disable the Windows 10 firewall for all network profilesnetsh advfirewall set allprofiles state off.
  • To disable the Windows 10 firewall for the domain networknetsh advfirewall set domainprofile state off.
  • To disable the Windows 10 firewall for the private networknetsh advfirewall set privateprofile state off.
  • To disable the Windows 10 firewall for the public networknetsh advfirewall set publicprofile state off.

How to disable Windows 10 firewall from Prompt

In case of second thoughts, you can reactivate the Windows 10 firewall using the following commands (in essence just substitute “on” for “off” in the commands I have shown you before).

  • To activate the Windows 10 firewall for your network profilenetsh advfirewall set currentprofile state on.
  • To activate the Windows 10 firewall for all network profilesnetsh advfirewall set allprofiles state on.
  • To activate the Windows 10 firewall for the domain networknetsh advfirewall set domainprofile state on.
  • To activate the Windows 10 firewall for the private networknetsh advfirewall set privateprofile state on.
  • To activate the Windows 10 firewall for the public networknetsh advfirewall set publicprofile state on.

Windows PowerShell

Staying on the command line, below you will also find the commands to disable the Windows firewall by acting from Windows PowerShell , the “Steroid Prompt” included in Windows 10. You can find Windows PowerShell with a simple search in the Start menu , but remember to start the software as an administrator, as seen previously with the Prompt.

  • To disable the Windows 10 firewall for all network profilesSet-NetFirewallProfile -Enabled False.
  • To disable the Windows 10 firewall for the domain networkSet-NetFirewallProfile -Profile Domain -Enabled False.
  • To disable the Windows 10 firewall for the private networkSet-NetFirewallProfile -Profile Private -Enabled False.
  • To disable the Windows 10 firewall for the public networkSet-NetFirewallProfile -Profile Public -Enabled False.

How to disable Windows 10 firewall from PowerShell

These, however, are the commands to be used in case of second thoughts to reactivate the Windows 10 firewall (basically, just replace “True” with “False” in the commands that I illustrated before).

  • To activate the Windows 10 firewall for all network profilesSet-NetFirewallProfile -Enabled True.
  • To activate the Windows 10 firewall for the domain networkSet-NetFirewallProfile -Profile Domain -Enabled True.
  • To activate the Windows 10 firewall for the private networkSet-NetFirewallProfile -Profile Private -Enabled True.
  • To activate the Windows 10 firewall for the public networkSet-NetFirewallProfile -Profile Public -Enabled True.

After issuing the commands, you can check the status of the Windows 10 firewall by clicking on the shield icon in the Windows notification area (bottom right, next to the system clock). This will open the Windows Defender Security Center , inside which you will be shown the status of the firewall, whether active or not.