sodcalculator

10 Tech How-To

How to Disable Firewall on Windows (All Versions)

Guide 10-57407 · Updated · Step by step

Disabling the Windows Firewall stops Windows from filtering incoming and outgoing network traffic, which can help when troubleshooting connectivity issues or using certain software that requires open ports. This guide walks you through disabling the firewall on Windows 10 and Windows 11, covering both the modern Settings app and the classic Control Panel method. You’ll need administrator access to your PC to make these changes.

What You’ll Need

  • An administrator account on the Windows PC.
  • If you’re on a work or school computer, you may need permission from your IT department.

Step-by-Step

Using the Windows Security App (Windows 10 & 11)

  1. Open the Start menu and type Windows Security, then press Enter.
  2. In the Windows Security window, click on Firewall & network protection in the left sidebar (or the shield icon on the main page).
  3. You’ll see three network profiles: Domain network, Private network, and Public network. Click on the profile that is currently active (the one labeled “Active”).
  4. Under the Microsoft Defender Firewall section, toggle the switch to Off. A User Account Control prompt may appear—click Yes to confirm.
  5. Repeat steps 3–4 for each network profile you want to disable the firewall on. If you only want to disable it for your current network, just toggle that one off.

Using the Control Panel (All Windows Versions)

  1. Press Windows key + R, type control, and press Enter to open the Control Panel.
  2. Click on System and Security (if your view is by Category) or directly on Windows Defender Firewall (if your view is by Large/Small icons).
  3. In the left pane, click Turn Windows Defender Firewall on or off.
  4. For each network location (Private and Public), select Turn off Windows Defender Firewall (not recommended).
  5. Click OK to save the changes.

Common Mistakes

  • Disabling the firewall for all profiles when you only need it for one—this leaves your PC unprotected on every network, including public Wi-Fi.
  • Forgetting to re-enable it after troubleshooting—always turn the firewall back on once you’ve fixed the issue.
  • Not checking if a third-party firewall is installed—if you have a separate security suite (like Norton or McAfee), Windows Firewall may already be off, and disabling it again won’t help.
  • Disabling the firewall to make a game or app work without checking if the app just needs a port opened—a more secure approach is to allow the app through the firewall instead.

Tips

  • Before disabling the firewall, try allowing the specific app or port through the firewall instead. This keeps your system protected while solving the connectivity issue.
  • If you’re troubleshooting a network issue, disable the firewall temporarily and test. If the problem goes away, you know the firewall is the culprit—then re-enable it and configure an exception.
  • When re-enabling, turn the firewall back on for all profiles to ensure full protection.
  • For advanced users, you can use the command line: type netsh advfirewall set allprofiles state off in an elevated Command Prompt to disable all profiles at once.

Troubleshooting

If you can’t disable the firewall or the option is grayed out:

  • You’re not an administrator—log in with an account that has admin rights, or ask your system administrator to make the change.
  • Group Policy restrictions—on managed PCs, the firewall settings may be locked by your organization. Contact your IT department.
  • Third-party security software—if you have another antivirus/firewall installed, it may override Windows Firewall. Open that software’s settings to disable its firewall.
  • The toggle turns back on automatically—this can happen if Windows detects no other firewall is active. Re-enable it and instead try adding an exception.

Frequently Asked Questions

Is it safe to disable Windows Firewall?

No, it leaves your PC more vulnerable to network threats. Only disable it temporarily for troubleshooting, and re-enable it as soon as possible.

Why can’t I turn off the firewall?

Most likely you don’t have administrator privileges, or your PC is managed by an organization that has locked the setting via Group Policy.

Will disabling the firewall speed up my internet?

No, the firewall has negligible impact on speed. If you’re experiencing slow internet, look elsewhere (ISP, router, Wi-Fi signal).

Do I need to disable the firewall for gaming?

Usually not. Instead, add the game as an allowed app or open the specific ports it needs. Disabling the firewall entirely is overkill and risky.

How do I re-enable the firewall?

Follow the same steps and toggle the switch back to On, or in Control Panel select Turn on Windows Defender Firewall.

Does disabling the firewall affect other users on my PC?

Yes, the firewall is a system-wide setting, so it affects all user accounts on the computer.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →