If the Windows firewall is interfering with the network connections, follow these steps to completely turn off or disable the Windows firewall.
To protect the system from unauthorized incoming and outgoing connections, Windows has a built-in firewall management system. Using the Windows Firewall, you can set up custom rules to control what can and cannot connect to the network.
If the Windows firewall is acting out of order or to install a third-party firewall software, you can easily disable the Windows Firewall. In this quick guide, let me show the process of disabling Windows Firewall.
The steps shown below are verified to work with Windows 10, 7, and 8.
Disable Windows Firewall GPO
These are the steps you should follow to turn off Windows Firewall with GPO (Group Policy Object).
- Press “Windows Key + R” keyboard shortcut.
- Type “gpedit.msc” in the blank field and press “Enter“.
- Go to the following folder in the Group Policy Editor.
Computer Configuration → Administrative Templates → Network → Network Connections → Windows Defender Firewall → Domain Profile - On the right-panel, find and double-click on the “Windows Defender Firewall: Protect all network connections” policy.
- Select the “Disabled” option.
- Click on the “Apply” and “Ok” buttons to save changes.
- We need to modify another policy. So, go to the following folder.
Computer Configuration → Administrative Templates → Network → Network Connections → Windows Defender Firewall → Standard Profile - Find and double-click on the “Windows Defender Firewall: Protect all network connections” policy.
- Select the “Disabled” option.
- Click on the “Apply” and “Ok” buttons.
- Close the Group Policy Editor.
- Reboot Windows.
After rebooting, Windows Firewall will be disabled and no longer interfere with the network connections.
After turning off the firewall, make sure that you are using some sort of third-party firewall software to protect your system from unauthorized connections and access.
If not, enable the firewall again by selecting the “Not configured” option the policy properties window.
Turn Off Windows Firewall from Settings
You can disable windows firewall directly from its settings. Here’s how.
- Press “Windows Key + R” keyboard shortcut.
- Type “firewall.cpl” in the Run window and click “Ok“.
- On the left panel, click “Turn Windows defender firewall on or off“.
- Select the “Turn off Windows Defender Firewall” option under both “Private Network Settings” and “Public Network Settings”.
- Click on the “Ok” button to save changes.
- Reboot Windows.
After rebooting, Windows Firewall will no longer manage your network connections. To enable the firewall, select the “Turn on Windows Defender Firewall” option under both “Private Network Settings” and “Public Network Settings” sections.
Disable Windows Firewall Command Line
This is the command you should use to turn off the firewall from the command line.
NetSh Advfirewall set allprofiles state off
- Right-click on the Start menu.
- Select the “Search” option.
- Search for “command prompt“.
- Right-click on the result and select “Run as administrator” option.
- In the command window, execute the below command to completely turn off the firewall.
NetSh Advfirewall set allprofiles state off
- Close the Command Prompt window.
- Reboot Windows.
After rebooting the system, Windows Firewall will no longer be active. If you want to enable the firewall again, then execute the below command.
NetSh Advfirewall set allprofiles state on
PowerShell Command to Disable Windows Firewall
This is the PowerShell command to fully disable the Windows firewall.
Set-NetFirewallProfile -Enabled False
- Open the Start menu.
- Search for “PowerShell“.
- Right-click on “PowerShell” and select “Run as administrator“.
- In the PowerShell window, execute the below command to disable the Windows Defender Firewall.
Set-NetFirewallProfile -Enabled False
- Close the PowerShell.
- Reboot Windows.
To enable back the firewall, you need to execute the below command in the PowerShell window as an admin.
Set-NetFirewallProfile -Enabled True
That is all. It is that simple to fully disable Windows defender firewall in Windows 10, Windows 7, and Windows 8. If you are stuck or need some help, comment below and I will try to help as much as possible.
If you like this article, check out how to backup Windows firewall settings.