Skip to content
Follow
Windows

How to Disable Windows Firewall on Windows 11

Richard
Written by
Richard
Oct 21, 2021 Updated Jun 19, 2026 3 min read
How to Disable Windows Firewall on Windows 11
How to Disable Windows Firewall on Windows 11

You disable Windows Firewall on Windows 11 by accessing Windows Security and turning off its protection for your network profiles.

Windows Defender Firewall is your PC’s built-in security guard, monitoring and controlling all network traffic to block unauthorized access. It’s essential for protecting you from online threats.

While keeping it enabled is best practice, you might temporarily disable it for specific troubleshooting or when installing alternative security software like some third-party antivirus programs that manage firewall duties themselves. For example, you might need to disable it to test network connectivity issues on your Windows 11 machine.

Remember, disabling your firewall leaves your system exposed. Always re-enable it as soon as you finish your task.

⚡ Quick Answer

Navigate to Windows Security, then Firewall & network protection. Click your active network profile and toggle Microsoft Defender Firewall to Off. Remember to re-enable it as soon as possible.

How to Check if Windows Firewall is Active

You can check your status in Windows Security Center. If the shield icon has a green checkmark, your protection is active. If you see a red ‘X’, your firewall is likely off.

Method 1Using Windows Settings (Standard Method)

You can turn off the Windows Firewall on Windows 11 using the Settings app. This is the easiest way for most people to disable the firewall.

1. Press the Windows key + I on your keyboard to open Settings.

Windows 11 Start menu showing Settings option
windows 11 start settings

2. Go to Privacy & security > Windows Security.

Windows Security settings in Windows 11
windows 11 windows security

3. Click Open Windows Security.

Opening Windows Security in Windows 11
windows 11 open windows security 1

4. Select Firewall & network protection. You’ll see three profiles: Domain profile (for work networks), Private profile (for home networks), and Public profile (for public Wi-Fi).

Firewall and network protection settings in Windows 11
windows 11 firewall and network protection

5. Click your active network and toggle the Microsoft Defender Firewall switch to Off.

Turning off Windows Defender Firewall in Windows 11
windows defender firewall turn off on windows 11

Method 2Using Command Prompt (Advanced)

You can quickly disable the Windows Firewall on Windows 11 using the Command Prompt. This method uses a simple command for faster access.

You can use the netsh advfirewall command to manage settings quickly.

1. Search for cmd in the Start menu, right-click it, and select Run as administrator.

2. To disable the firewall for all profiles, type this command and press Enter:

💻Code
netsh advfirewall set allprofiles state off

3. To turn it back on, use:

💻Code
netsh advfirewall set allprofiles state on

Method 3Using PowerShell

Note: You’ll need admin privileges for this.

1. Right-click the Start button and select Terminal (Admin) or PowerShell (Admin).

2. Run this command to disable the firewall:

PowerShell
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

Method 4Using Group Policy Editor

Windows 11 Pro and Enterprise users can disable the Windows Firewall with the Group Policy Editor. This tool gives you more control over firewall settings.

  1. Press Windows key + R, type gpedit.msc, and hit Enter.
  2. Navigate to: Computer Configuration\Administrative Templates\Network\Network Connections\Windows Defender Firewall\Standard Profile.

3. Double-click Windows Defender Firewall: Protect all network connections and set it to Disabled.

Best Practices: Allowing Apps vs. Disabling Firewall

It’s safer to let specific apps communicate through your Windows Firewall instead of turning it off completely. You can easily add exceptions for programs that need access.

1. Go to Firewall & network protection and click Allow an app through the firewall.

Allowing an app through Windows Firewall on Windows 11
allow an app through firewall windows 11

2. Click Change settings (you’ll need admin privileges) and select Allow another app to add your program.

Adding another app to Windows Firewall exceptions
add another app to windows firewall

Summary

Turning off the Windows Firewall is risky, so always remember to re-enable it as soon as possible after you’re done.

Is it safe to disable Windows Firewall?

No, it’s not safe. Disabling the firewall removes a critical layer of protection, leaving your computer exposed to hackers and malware. Only turn it off temporarily for troubleshooting, and if you need to keep it off for a while, make sure another security program is running.

Can I disable the firewall for specific networks only?

Yes. Windows lets you manage the Domain, Private, and Public profiles separately. You can turn off the firewall for a Private network while leaving it active for Public networks. This way, your data stays protected when you connect to untrusted Wi-Fi hotspots in public places.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Enable or Disable Microsoft Defender in Windows 11
Windows How to Enable or Disable Microsoft Defender in Windows 11
How to Turn On or Off Microsoft Defender Firewall in Windows 11
Windows How to Turn On or Off Microsoft Defender Firewall in Windows 11
How to Reset Local Group Policy in Windows 11
Windows How to Reset Local Group Policy in Windows 11
How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *