How To Disable Firewall On Windows?

Learn how to quickly disable Windows Firewall on both Windows 10 and Windows 11.

A user on Reddit mentioned that the “BLACK OPS 3” error could be solved by disabling the “Windows Defender firewall” and using “Microsoft Security Essentials”. Windows Firewall filters network traffic and protects your PC from unauthorized attacks through your network. Turning off the firewall on your computer makes it vulnerable to malicious viruses and unauthorized access.

Key Takeaways

  • Windows Defender Firewall is a built-in firewall that protects the operating system and user data from network-based threats.
  • You can use the Windows Security app and Windows Defender Firewall in Windows 11 to disable VPN.
  • There are four ways to turn off the firewall in Windows 10: Windows Security Settings, Windows Defender Firewall app, Command Prompt, and PowerShell commands.

What Happens When You Turn Off Firewall?

A firewall filters all data packets entering and leaving your network. It defends your computer from outsider attacks such as hackers and malware programs. Turning off the firewall leaves your network traffic unchecked, and malicious data can corrupt your operating system by entering through the network, putting user privacy and security at stake.

If you are on an organization’s network, turning off the firewall could mean exposing the system network, including all end devices, to danger from outsider attacks.

How To Disable Firewall On Windows

Below are some methods to help you turn off the firewall on Windows:

  • From Windows security in Windows 10 and 11
  • Through Windows Defender firewall in Windows 10
  • From the power shell in Windows 10
  • Using the command prompt in Windows 10

1) From Windows Security In Windows 10 And 11

Firstly, I recommend you disable or switch firewall settings for a specific app from Windows Security settings. To do so:

  1. Go to the “Start menu” > “Windows Settings” > “Update & Security” from the Settings menu.
    how to disable firewall
    Update & Security – Image Credits [Emopulse]
  2. In Update & Security settings, choose the “Windows Security” option.
    how to disable firewall
    Windows Security – Image Credits [Emopulse]
  3. Choose “Windows Security” > “Firewall & network protection.”
  4. how to disable firewall
    Firewall & Network Protection – Image Credits [Emopulse]
  5. A new page will open for Firewall & network protection. Multiple network profiles, such as Domain Network, Public Network, and Private Network, are available on your PC.
    how to disable firewall
    Network Profiles – Image Credits [Emopulse]
  6. Choose the network for which you want to turn off the settings.
    how to disable firewall
    Firewall Setting – Image Credits [Emopulse]
  7. Under “Microsoft Defender Firewall”, toggle the switch to turn off the firewall for that network connection.
    how to disable firewall
    Disable Firewall – Image Credits [Emopulse]

2) Through Windows Defender Firewall In Windows 10

There is another way I tried to turn off the firewall on the computer. Microsoft has developed this through the Windows Defender Firewall application on your Windows operating system to offer an extra layer of protection.

You can access Windows Defender Firewall through the Control Panel.

  1. Open the “Control Panel” by searching for it in the Windows Start Menu.
    Control Panel
    Control Panel – Image Credits [Emopulse]
  2. Go to “System and Security” from the options.
    system and security
    System & Security – Image Credits [Emopulse]
  3. Select “Windows Defender Firewall” from the different menu options.
    windows firewall
    Windows Firewall – Image Credits [Emopulse]
  4. In Windows Defender Firewall, you will again see different network profiles for which you can manage firewall settings. If you are using a Domain Computer, you will also see “Domain Networks” in Windows Defender Firewall.
    windows defender firewall
    Windows Defender Firewall – Image Credits [Emopulse]
  5. Choose “Turn Windows Defender on or off” from the options on the left. This will open a “Customize Settings” page.
    customize settings firewall
    Customize Firewall Settings – Image Credits [Emopulse]
  6. Select your network’s Turn off Windows Defender Firewall (not recommended) setting. 
    turn off firewall
    Disable Windows Defender Firewall – Image Credits [Emopulse]

If, for some reason, you are unable to find the Windows Defender Firewall setting, you can launch it directly from the Run dialog box.

Search “Run” in the Start menu and type in command control firewall. cpl. This will open the Windows Defender Firewall app immediately, and you can follow the steps mentioned above to turn off the firewall for your network.

run dialog
Run Dialog – Image Credits [Emopulse]

3) From The PowerShell In Windows 10

If you are using Windows 10, then I suggest you try PowerShell commands to turn off firewall settings by following these steps:

  1. Go to “Start Menu” from your desktop’s bottom-left.
  2. Type “PowerShell” in the search bar and right-click on the “Windows PowerShell” result. Select “Run as administrator” from the options.
  3. Type “Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False” to turn off the firewall for all networks on your PC.
    power shell
    Disable Firewall On All Networks – Image Credits [Emopulse]
  4. Type this command “Set-NetFirewallProfile -Profile Public -Enabled False” to turn off the firewall for a specific network profile. Only mention the name of the profile you want to turn off the firewall for in this command.
    power shell firewall setting
    Turn Off Firewall For Public Network – Image Credits [Emopulse]

4) Using Command Prompt In Windows 10

In my findings, another way to turn off the firewall for the current network profile on Windows 10 is by using the Command Prompt.

Follow these steps to turn off the firewall with simple commands on Windows 10:

  1. Go to “Start Menu” and search “Command Prompt.”
  2. Right-click on the first result for Command Prompt and choose the “Run as administrator” option.
    command prompt
    Command Prompt – Image Credits [Emopulse]
  3. In the Command Prompt window, type the command “netsh advfirewall to set currentprofile state off“.
    current profile off
    Turn Off Current Network Profile Firewall – Image Credits [Emopulse]
  4. This will turn off the firewall for your current network.
  5. Press Enter to execute the command.
  6. Enter this command: netsh advfirewall set allprofiles state off to disable firewall settings for all networks.
    command prompt commands
    Turn Off All Network Profiles Firewall – Image Credits [Emopulse]

You can enter the commands below in the Command Prompt window to individually turn off the firewall for domain, public and private network profiles.

Domain Network

  • netsh advfirewall set domainprofile state off
turn off domain profile command prompt
Turn Off Domain Network Firewall – Image Credits [Emopulse]

Public Network

  • netsh advfirewall set publicprofile state off
public profile firewall cmd
Turn Off Public Network Firewall – Image Credits [Emopulse]
  • Private Network

netsh advfirewall set privateprofile state off

turn off private firewall
Turn Off Private Network Firewall – Image Credits [Emopulse]

Benefits Of Disabling Firewall In Windows

  • Windows Firewall can interfere with specific applications by blocking them on your computer. This is because it thinks these applications may have malicious intent toward your data. Turning off the firewall removes the hassle of unblocking programs and apps on your computer.
  • You do not have to tweak firewall settings for different apps on your PC as it is turned off.
  • Disabling the firewall on your PC can lead to increased performance as it will not utilize RAM resources while running in the background.
  • Turning off your firewall can help in honey pot testing to attract and identify how cyber threats work.

Drawbacks Of Disabling Firewall In Windows

  • It makes your user data and operating system vulnerable to unauthorized access and viruses.
  • You cannot implement an access control policy if you do not have a firewall. This allows attackers to get access to your system.
  • Disabling the firewall leaks your DNS information and IP address to hackers, so your system has no privacy.
  • Turning off the firewall on your operating system makes it vulnerable to Trojans and malware.

Also check, how to:

Frequently Asked Questions

What is a firewall?

A firewall protects your computer from unauthorized access and viruses. It filters traffic (data packets) entering and leaving your network.

How do I disable firewall on my computer?

Open "Windows Security" by searching it from Start Menu. Select "Firewall & protection" and click on your network. Toggle the option to disable firewall for a specific network.

Why should I disable firewall?

You should only disable Windows firewall when necessary for example, if you need to troubleshoot your internet or test a specific application. Disabling the firewall makes it vulnerable to outsider attacks.

Was this helpful?

Good job! Please give your positive feedback

How could we improve this post? Please Help us.