How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (2024)

While firewalls can protect you from malicious online threats, there may be times when it is necessary to disable them for certain tasks or applications. While it's usually not a good idea to disable the firewall for long periods of time, doing so for a few seconds while you troubleshoot a problem is usually safe.

As such, let's explore how to turn off or disable the Microsoft Defender firewall safely and securely in Windows 11.

How Important Is the Microsoft Defender Firewall?

A firewall acts as a shield against unwanted intrusions and prevents external connections from accessing your system without permission. When disabled, your computer becomes vulnerable, and you should take extra precautions while online.

To ensure maximum security while disabling your firewall, always make sure that other protective measures such as antivirus programs are running in the background. Once these have been taken care of, you can disable the firewall on your Windows 11 PC. Here's how to do this:

1. How to Disable the Firewall Using Windows Security

The Windows Security program allows you to disable the firewall in Windows 11. It is the most straightforward way to disable Microsoft Defender Firewall and you don’t need to have any additional tools or software installed. Here's how:

  1. Click on Start and search for “Windows Security”.
  2. Then select the result from the top of the list.
  3. Once you are in Windows Security, click on the Firewall & network protection option.
  4. Select the Public network or Private network profile and turn off the firewall for that selection.
    How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (1)

The UAC prompt will require you to accept it, so make sure your computer is set up as an admin account. If UAC prompts on the screen, click Yes to continue.

Now that you have completed the above steps, disable the firewall for each network profile using the same procedure.

2. How to Disable the Firewall Through Control Panel

If you are running an older version of Windows or prefer to use a more traditional method, you can disable your firewall through the Control Panel. This is a bit more technical than using Windows Security but still easy enough to do. Here’s how:

  1. Open the Control Panel. If you need help with this, check out how to open the Control Panel in Windows 11.
    How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (2)
  2. In the Control Panel, select System and Security and then click Windows Defender Firewall.
  3. From the left pane, select Turn Windows Defender Firewall on or off.
    How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (3)
  4. Then select Turn off Windows Defender Firewall (not recommended) for each network setting.
  5. Click OK to save your changes.

3. How to Disable the Firewall Using Command Prompt

If you are comfortable using the command line, then you can also disable your firewall through the Command Prompt. Here’s how:

Press Win + S on your keyboard to open the Windows search tool. Now type "cmd" in the search field and press Ctrl + Shift + Enter on your keyboard. This will open Command Prompt with admin rights.

Once you are in the Command Prompt, type in the following command and hit Enter:

netsh advfirewall set currentprofile state off

Running the above command will turn off the firewall for the current network profile.

If you wish to disable the firewall for the domain network profile, copy and paste the following command, and hit Enter:

netsh advfirewall set domainprofile state off

Similarly, you can disable the firewall for the private network profile. To do this, copy and paste the following command and hit Enter:

netsh advfirewall set privateprofile state off

For the public network profile, type the following command in the Command Prompt window and press Enter:

netsh advfirewall set publicprofile state off

Alternatively, you can disable the Defender Firewall for all network profiles, such as domain, private, and public, with just one command. To do this, copy and paste the below command and hit Enter:

netsh advfirewall set allprofiles state off

In this way, you can disable the firewall according to your selected network profiles.

4. How to Turn Off the Firewall via PowerShell

Windows PowerShell is an important tool that can be used to manage many aspects of the Windows operating system. You can also use it to disable the Microsoft Defender Firewall.

To do this, open a PowerShell window as an administrator and run the following commands:

How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (4)
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

After running the above command, the firewall will be disabled for all network profiles simultaneously.

5. How to Turn Off the Firewall Using Group Policy Editor

The Group Policy Editor is a powerful system resource that can be used to manage different settings on all Windows computers. With this tool, you can disable your firewall, but it only works with Windows Professional and Enterprise. If you are using Windows Home Edition, you need to activate the Group Policy Editor on Windows Home in order to access it.

To disable firewall settings using the Local group policy editor, follow these steps:

  1. Right-click on Start and select Run from the menu list.
  2. Type gpedit.msc in the dialog box and click OK or press Enter on your keyboard.
  3. Inside the Group Policy Editor window, navigate to the following:
    Computer Configuration > Administrative Templates > Network > Network Connections > Windows Defender Firewall > Standard Profile
  4. On the right side of the window, double-click the policy called Windows Defender Firewall: Protect all network connections.
    How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (5)
  5. Next, choose Disabled from the dialog box that appears.
  6. When you're done making your changes, click Apply > OK.
  7. For the changes to take effect, restart your computer after completing the above steps.

6. How to Turn Off the Firewall Using Registry Editor

Windows also has a method for disabling the firewall that involves editing the registry. It is an advanced feature that should only be used by experienced computer users, as incorrect usage can cause serious damage to your computer.

When using the Registry Editor, it is important not to modify any other settings than those related directly to the firewall. Making unwanted changes could potentially lead to instability within your system, including a decrease in performance or even the complete failure of your operating system. If you're ready to use this method, make sure you back up your Windows Registry and create a restore point on Windows 11 first.

  1. Open the Registry Editor (see how to open the Registry Editor for instructions).
  2. Once you're in, navigate to the following path:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile
  3. Right-click StandardProfile and select New > DWORD (32-bit) Value.
  4. Specify EnableFirewall as the key name.
  5. Double-click it and enter 0 in the Value data field.
    How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (6)
  6. Once you have made the changes, click OK.

When you have completed all the steps above, close the Registry Editor and restart your computer.

Disable the Firewall With Ease on Windows

You may want to disable the firewall for testing, developing applications, or playing online games. However, disabling the firewall can have risks, and you should always exercise caution. In case you need to do it, this guide explains multiple ways to do it, such as via Windows Security, Control Panel, Command Prompt, and more.

  • Windows
  • Windows Defender
  • Windows 11

Your changes have been saved

Email Is sent

Please verify your email address.

You’ve reached your account maximum for followed topics.

Manage Your List

Follow

Followed

Follow with Notifications

Follow

Unfollow

Readers like you help support MakeUseOf. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11 (2024)

FAQs

How to Turn Off or Disable the Microsoft Defender Firewall in Windows 11? ›

Go to Start and open Control Panel. Select System and Security > Windows Defender Firewall

Windows Defender Firewall
Windows Firewall is a security feature that helps to protect your device by filtering network traffic that enters and exits your device. This traffic can be filtered based on several criteria, including source and destination IP address, IP protocol, or source and destination port number.
https://learn.microsoft.com › security › windows-firewall
. Choose Turn Windows Defender Firewall on or off.

How do I disable or enable Windows Defender in Windows 11? ›

Find and open the Microsoft Defender Antivirus folder. Double-click the option called Turn off Microsoft Defender Antivirus. In the dialog that appears, choose the Enabled option and then click OK. Restart your computer to finish applying the settings.

Why can't I turn off Windows Defender? ›

Microsoft Defender can be disabled in Settings, but will turn back on automatically when you restart your computer. If you want to turn off Defender permanently, you'll need to install a different antivirus program. You can also use the built-in Group Policy Editor to permanently turn off Defender.

Is it possible to completely disable Windows Defender? ›

Hit “Manage settings” in the “Virus & threat protection settings”. Scroll to the “Real-time protection” switch. To turn it off temporarily, toggle the switch until it's off. To turn it off permanently, toggle the switch and confirm when prompted with a “Yes”.

How do I remove Microsoft Defender? ›

Go to the Control Panel and search for “Programs and Features.” After locating it, spot Microsoft Defender in the list of installed programs. Then, click on Microsoft Defender and pick the option to uninstall. Do any extra prompts that may appear, making sure a flawless removal process.

Is it OK to disable Windows Defender Firewall? ›

While firewalls can protect you from malicious online threats, there may be times when it is necessary to disable them for certain tasks or applications. While it's usually not a good idea to disable the firewall for long periods of time, doing so for a few seconds while you troubleshoot a problem is usually safe.

How do I stop Windows Defender from blocking apps in Windows 11? ›

Access the start menu select Settings > Privacy and Security tab > Windows Security > Firewall and Network Protection. The option to allow a program through the Firewall. Change Settings. Allow Other Applications and Locate Select the program you want to allow.

Top Articles
Manage the Search Center in SharePoint - SharePoint in Microsoft 365
Can Ignoring Your Creditors Make Debt Go Away? 
Fernald Gun And Knife Show
Dairy Queen Lobby Hours
Fat Hog Prices Today
Libiyi Sawsharpener
Busted Newspaper Zapata Tx
Jailbase Orlando
East Cocalico Police Department
Find All Subdomains
Doublelist Paducah Ky
Konkurrenz für Kioske: 7-Eleven will Minisupermärkte in Deutschland etablieren
Heska Ulite
Nichole Monskey
Love Compatibility Test / Calculator by Horoscope | MyAstrology
Bros Movie Wiki
Restaurants Near Paramount Theater Cedar Rapids
Bx11
Mzinchaleft
Boston Gang Map
Jellyfin Ps5
Sni 35 Wiring Diagram
Weepinbell Gen 3 Learnset
Glenda Mitchell Law Firm: Law Firm Profile
Tyrone Unblocked Games Bitlife
Universal Stone Llc - Slab Warehouse & Fabrication
Japanese Mushrooms: 10 Popular Varieties and Simple Recipes - Japan Travel Guide MATCHA
8005607994
Boston Dynamics’ new humanoid moves like no robot you’ve ever seen
Lexus Credit Card Login
Tokyo Spa Memphis Reviews
Effingham Daily News Police Report
Chelsea Hardie Leaked
10 Best Quotes From Venom (2018)
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
Www.craigslist.com Syracuse Ny
Litter-Robot 3 Pinch Contact & DFI Kit
Crystal Mcbooty
Synchrony Manage Account
Marcus Roberts 1040 Answers
Directions To Cvs Pharmacy
Dwc Qme Database
The Wait Odotus 2021 Watch Online Free
Ehome America Coupon Code
Child care centers take steps to avoid COVID-19 shutdowns; some require masks for kids
John Wick: Kapitel 4 (2023)
25 Hotels TRULY CLOSEST to Woollett Aquatics Center, Irvine, CA
New Starfield Deep-Dive Reveals How Shattered Space DLC Will Finally Fix The Game's Biggest Combat Flaw
4Chan Zelda Totk
Greg Steube Height
Congressional hopeful Aisha Mills sees district as an economical model
Tyrone Dave Chappelle Show Gif
Latest Posts
Article information

Author: Nathanial Hackett

Last Updated:

Views: 6290

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Nathanial Hackett

Birthday: 1997-10-09

Address: Apt. 935 264 Abshire Canyon, South Nerissachester, NM 01800

Phone: +9752624861224

Job: Forward Technology Assistant

Hobby: Listening to music, Shopping, Vacation, Baton twirling, Flower arranging, Blacksmithing, Do it yourself

Introduction: My name is Nathanial Hackett, I am a lovely, curious, smiling, lively, thoughtful, courageous, lively person who loves writing and wants to share my knowledge and understanding with you.