WiseCleaner Think Tank

Encounter difficult computer problems?
All about maintenance and optimization of your Windows System.

Home > Think Tank > How to Disable Firewall on Windows 11

How to Disable Firewall on Windows 11

Jun 18, 2026

Windows Defender Firewall is a built-in security feature that helps protect your computer from unauthorized access and malicious network traffic. While keeping the firewall enabled is strongly recommended, there may be situations where you need to temporarily disable it for troubleshooting, testing network connections, or resolving software conflicts. This guide explains several ways to disable the firewall in Windows 11.

Method 1: Disable Firewall Using Windows Security

This is the easiest method for most users.

1. Click on Start and search for Windows Security, then click Open.

2. Navigate to the Firewall & network protection.
Navigate to the Firewall & network protection

3. You will see your active network profiles: Domain network, Private network, and Public network. Click on the active network profile, toggle Microsoft Defender Firewall to Off. Repeat this process for each active network profile to completely disable the firewall.
toggle Microsoft Defender Firewall

Method 2: Disable Firewall Using Control Panel

Control Panel provides another straightforward way to manage firewall settings.

1. Press Win + R, type control, and press Enter to open the Control Panel.

2. Navigate to the System and Security > Windows Defender Firewall.

3. Click Turn Windows Defender Firewall on or off from the left panel. 
Click Turn Windows Defender Firewall on or off

4. Under both Private network settings and Public network settings, select Turn off Windows Defender Firewall (not recommended).
Turn off Windows Defender Firewall (not recommended)

5. Click OK to save your changes.

Method 3: Disable Firewall Using Command Prompt

Advanced users can use Command Prompt to quickly disable the firewall.

1. Click on Start and search for Command Prompt. Right-click it and select Run as administrator.

2. In the Command Prompt window, type the following command and press Enter to disable it for all network profiles.

netsh advfirewall set allprofiles state off
disable it for all network profiles

If you want to disable it for the public network profile, type the following command and press Enter:

netsh advfirewall set publicprofile state off

If you want to disable it for the private network profile, type the following command and press Enter:

netsh advfirewall set privateprofile state off

If you want to disable it for the domain network profile, type the following command and press Enter:

netsh advfirewall set domainprofile state off

To re-enable the firewall later, use the same command with on instead of off:

netsh advfirewall set allprofiles state on

Method 4: Disable Firewall Using PowerShell

For advanced users who prefer the command line:

1. Click on Start and search for PowerShell. Right-click it and select Run as administrator.

To disable the firewall for all profiles, run:

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
Disable Firewall Using PowerShell

To re-enable the firewall:

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True

Method 5: Disable Firewall Using Group Policy Editor

This method is available in Windows 11 Pro, Enterprise, and Education editions.

1. Press Win + R. Type gpedit.msc and click OK

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
Windows Defender Firewall: Protect all network connections

4. Select Disabled, then click Apply and OK.
Select Disabled

Conclusion

The Windows Defender Firewall is your first line of defense against network-based attacks. Only disable it when absolutely necessary, and always turn it back on as soon as your task is complete. If you're troubleshooting a specific application, consider creating an allow rule for that application.

Latest
How to Install WMIC in Windows 11How to Reset Firewall Settings in Windows DefenderHow to Enable or Disable Notification Badges in Windows 11 Taskbar
Read more >>
Recommend
Understanding Windows Power Plans: Balanced, Battery Saver, High Performance, and Ultimate PerformanceHow to Pause Windows Update for 100 YearsShould I enable or disable Trim of SSD?
Read more >>
Hottest
How to Install a macOS in VMware Workstation PRO 17How to Enable Task Manager Option in Taskbar Menu on Windows 11How to Fix Office Application Error 0xc0000142
Read more >>

wisecleaner uses cookies to improve content and ensure you get the best experience on our website. Continue to browse our website agreeing to our privacy policy.

I Accept