How to disable Firewall in Windows 11 (Best 5 ways)

5 easy ways to disable Firewall in Windows 11 such as using Windows Security app, Control panel, wf.msc, cmd, and regedit.

How to disable Firewall in Windows 11

Windows Defender Firewall is a built-in protection tool in Windows 11 that would block unsafe apps trying to connect internally or externally to internet. It is actually reasonably effective in keeping your system and networking security. By default, this functionality is enabled but you can disable Firewall in Windows 11 using several easygoing methods.

There might be times when you do not want the security to interfere with your work or game, or applications. In such cases, you might want to turn off Windows Defender Firewall in Windows 11. If you are a beginner and want procedures with the steps, you are at the right place.

Methods list

Way-1: From Windows Security app
Way-2: Via Control panel
Way-3: Through Windows Defender Firewall With Advanced Security (wf.msc)
Way-4: Disable Firewall cmd
Way-5: By Registry Editor (Regedit.exe)

 

Disable Firewall in Windows 11

Here is how to disable Firewall in Windows 11 –

Way-1: From Windows Security app

Here are the steps to enable or disable Firewall in Windows 11 easily.

  1. Click on the – Start.
  2. Next, click the gear cog.
how to disable Firewall in Windows 11 (3 easy ways)
  1. This will open Windows Settings; select – Privacy & Security.
  2. On the next Settings page, select Windows Security located in the right pane.
Windows Security
  1. Click on – Firewall & network protection.
Firewall & network protection
  1. Now, Windows Security app appears, you’ll find here 3 networks – 1. Domain network, 2. Private network, and 3. Public network. In case, you are using a domain computer then the first one is for your use otherwise you need to disable firewall for the later two instead.
  2. So, select Domain network link first.
Domain network
  1. Click on the toggle switch under Microsoft Defender Firewall.
disable Firewall in Windows 11
  1. When User account confirmation pop-up prompts, select – Yes.
Turn off Firewall in Windows 11
  1. Come back to Firewall & network protection page again and click on – Private network.
Private network
  1. Turn off the Firewall again.
disable Firewall Private network
  1. In the same way, go to the Public network page and disable firewall for this.
disable Firewall public network windows 11

Way-2: Via Control panel

  1. Press the – Winkey.
  2. Type – control.
  3. Hit – Enter.
  4. When Control panel is up, click – Windows Defender Firewall.
Windows Defender Firewall control panel
  1. On the next Windows, select – Turn Windows Defender Firewall on or off link located in the left pane.
Turn Windows Defender Firewall on or off
  1. Check the option – Turn off Windows Defender Firewall (not recommended) in the Private network settings and Public network settings sections.
  2. Click – OK.
disable Firewall in Windows 11 within private and public network

Way-3: Through Windows Defender Firewall With Advanced Security (wf.msc)

  1. Press – Winkey+R.
  2. Type in wf.msc.
  3. Hit the – Enter or click – OK.
Windows Defender Firewall With Advanced Security in run command
  1. Windows Defender Firewall With Advanced Security will be launched. Make sure that Windows Defender Firewall With Advanced Security on Local Computer is selected.
  2. Go to the – Action pane.
  3. Click – Properties.
  4. The wizard that appears shows Domain profile by default.
  5. In the State section, click on the dropdown for Firewall state.
  6. Choose – Off.
  7. Click on – Apply.
disable firewall
  1. Now, select the Private Profile tab.
  2. Here also, click on the drop-down against “Firewall state” and select “Off”.
  3. Click “Apply”.
  4. At last, go to the Public Profile tab.
  5. Turn off the ‘Firewall state’ in a similar way.

Way-4: Disable Firewall cmd

To disable security features from Command Prompt, here are the steps:

  1. Click the – Search from taskbar.
  2. Type in – cmd.
  3. Right-click on Command prompt that appears under Best match.
  4. Hit – Run as administrator. Alternatively, you can see the methods here – 13 Ways to open Command Prompt as administrator in Windows 11.
how to disable Firewall in Windows 11 Through Command Prompt
  1. Once the elevated command prompt opens up, type or copy-paste the following commands and hit Enter
  2. Disable Firewall in Windows 11 using cmd command –
netsh advfirewall set allprofiles state off
how to disable Firewall in Windows 11 through cmd command
  1. If you come across a Windows Security Alert window; click on Allow access.
  2. After turning off you will get a notification for the same.
  3. Re-enable Firewall in Windows 11 through cmd command –
netsh advfirewall set allprofiles state on
  1. Disable Firewall for current user profile in Windows 11 –
netsh advfirewall set currentprofile state off
  1. Enable firewall in Windows 11 for current user –
netsh advfirewall set currentprofile state on
  1. Disable within Domain Network –
netsh advfirewall set domainprofile state off
  1. Re-enable Firewall within Domain Network –
netsh advfirewall set domainprofile state on
  1. Disable within Private Network –
netsh advfirewall set privateprofile state off
  1. Enable within Private Network –
netsh advfirewall set privateprofile state on
  1. For Public Network (disable)
netsh advfirewall set publicprofile state off
  1. For public network (enable)
netsh advfirewall set publicprofile state on

You can see here as a reference – Disable Windows Firewall via Command on Windows 10.

Way-5: By Registry Editor (Regedit.exe)

If you aren’t able to access Windows Firewall settings anyhow you can use Registry Editor to disable Firewall using the following steps –

  1. Click the Windows Search from taskbar.
  2. Type in – regedit.exe.
  3. Press – Enter.
registry editor search best match
  1. When UAC dialog box shows up, click – Yes.
  2. Copy the below-written string –
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile
  1. Paste into the address bar of the Registry Editor and hit the Enter key.
  2. Go to the right pane and find an entry named – EnableFirewall.
  3. Double click on this value and set Value data 0 to disable the firewall. Click OK.
enable firewall dword
  1. If you have domain environment, then copy the following path –
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile
  1. Here, also open the DWORD value “EnableFirewall” by double-clicking and change the data to 0.
  2. Press Enter and exit the Registry Editor.
  3. Finally, restart your computer to see the effect of modifications.

That’s all!!

>