How to Disable Windows Firewall on Windows 11
Disabling Windows Firewall on Windows 11 involves turning off its protection for specific network types.
Windows Defender Firewall is your computer’s main defense against online dangers, controlling what goes in and out of your PC.
You can temporarily turn off the firewall for private or public networks through Windows Security, for example, if you are installing new security software that will manage this task.
This process can help when troubleshooting network issues or if another program takes over firewall duties.
However, disabling your firewall leaves your computer open to viruses and hackers, so it’s crucial to re-enable it as soon as you finish your task.
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 disable the Windows Firewall on Windows 11 through the Settings app. This standard method involves a few clicks to turn off the firewall for your network connections, making it a clear approach for most users.
1. Press the Windows key + I on your keyboard to open Settings.

2. Go to Privacy & security > Windows Security.

3. Click Open Windows Security.

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

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

Method 2Using Command Prompt (Advanced)
You can disable the Windows Firewall on Windows 11 quickly using the Command Prompt. This advanced method is faster for those familiar with command-line tools and allows for direct management of the firewall’s status.
You can use the netsh advfirewall command to manage settings quickly.
- Search for cmd in the Start menu, right-click it, and select Run as administrator.
- To disable the firewall for all profiles, type this command and press Enter:
netsh advfirewall set allprofiles state off
3. To turn it back on, use:
netsh advfirewall set allprofiles state on
Method 3Using PowerShell
Keep in mind: You’ll need admin privileges for this.
- Right-click the Start button and select Terminal (Admin) or PowerShell (Admin).
- Run this command to disable the firewall:
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
Method 4Using Group Policy Editor
Windows 11 Pro and Enterprise users can disable the Windows Firewall using the Group Policy Editor. This tool offers more control over system settings, including the ability to turn off the firewall for specific network profiles or the entire system.
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
Instead of disabling your Windows Firewall entirely, allowing specific apps to communicate through it is much safer. You can easily add exceptions for programs that need internet access. This ensures your computer remains protected while still letting necessary applications function.
1. Go to Firewall & network protection and click Allow an app through the firewall.

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

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?
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.
No comments yet — be the first to share your thoughts!