Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversBack To SchoolAmazon USBack-to-school picks: upgrade before the busy seasonAmazon US: study, desk and setup picks worth checking.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
THEGEEKSCLUB

How to Turn Off Firewall in Windows

Learn how to turn off the firewall in Windows 10 and 11 with this step-by-step guide. Explore methods like Windows Security, Control Panel, PowerShell, and Group Policy.

How to Turn Off Firewall in Windows
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Windows Firewall, also known as Microsoft Defender Firewall, is a critical component of your computer’s security system. It helps protect your device from unauthorized access and potential threats from the internet. However, there may be instances where you need to temporarily disable the firewall, such as troubleshooting network issues or configuring specific applications. This guide provides detailed instructions on how to turn off the firewall in Windows 10 and 11.

Why Disable the Firewall?

Disabling the firewall can expose your computer to various security risks, including unauthorized access and malware attacks. Therefore, it is advisable to turn off the firewall only when necessary and to re-enable it as soon as possible. If you need to allow a specific application through the firewall, consider creating an exception instead of disabling the entire firewall.

Method 1: Turn Off Firewall Using Windows Security (Recommended)

For Windows 10 and 11

  1. Open Windows Security:
    • Click on the Start menu and type Windows Security in the search bar.
    • Select Windows Security from the search results.
  2. Navigate to Firewall & Network Protection:
    • In the Windows Security window, click on Firewall & network protection.
  3. Select Your Network Profile:
    • You will see three network profiles: Domain network, Private network, and Public network.
    • Click on the active network profile (it will be labeled as “Active”).
  4. Turn Off Microsoft Defender Firewall:
    • Under the Microsoft Defender Firewall section, toggle the switch to Off.
    • If prompted by User Account Control, click Yes to confirm.

Repeat these steps for each network profile if you wish to disable the firewall for all networks.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Shopping ad
Afaartcci Rechargeable Wireless Mouse, Silent Bluetooth Mouse (Black)
  • 【Dual Mode Wireless Bluetooth Mouse】: Switch easily between two devices—connect one via Bluetooth (BT5.2/3.0) and the other using a 2.4G USB receiver. No drivers needed; just plug and play. Enjoy a reliable connection up to 33 feet. Note: You can't use both modes simultaneously; the USB receiver is stored in the mouse.
  • 【Rechargeable Wireless Mouse】: Equipped with a 500mAh lithium-ion battery, it charges in 2 hours for over 7 days of use and 30 days on standby. The mouse sleeps after 5 minutes of inactivity to save power and can be woken with any click.
  • 【Colorful LED Breathing Light】: Features 7 colorful LED lights that change randomly, adding a fun atmosphere to your workspace.
  • 【Portable Mouse】Compact size (4.4 x 2.3 x 1.1 inches) makes it easy to fit in your laptop bag. Lightweight and ergonomic, it's perfect for travel. Contact us anytime for support.
  • 【Wide Compatibility】: Works with laptops, PCs, tablets, and smartphones across various operating systems, including Android, Windows, and Mac. Ideal for home, office, and travel.

Method 2: Turn Off Firewall Using Control Panel

For Windows 10

  1. Open Control Panel:
    • Press Windows + R to open the Run dialog box.
    • Type Control Panel and press Enter.
  2. Navigate to Windows Defender Firewall:
    • In the Control Panel, click on System and Security.
    • Click on Windows Defender Firewall.
  3. Turn Windows Defender Firewall On or Off:
    • In the left pane, click on Turn Windows Defender Firewall on or off.
  4. Disable the Firewall:
    • Under both the Private network settings and Public network settings sections, select Turn off Windows Defender Firewall (not recommended).
    • Click OK to save the changes.

Note: Disabling the firewall can leave your computer vulnerable to unauthorized access. Ensure you have alternative security measures in place.

Method 3: Turn Off Firewall Using PowerShell

For Windows 10 and 11

  1. Open PowerShell as Administrator:
    • Press Windows + X and select Windows PowerShell (Admin).
    • If prompted by User Account Control, click Yes.
  2. Disable the Firewall:
    • In the PowerShell window, type the following command and press Enter:

powershell

CopyEdit

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

Shopping ad
Windex Electronic Cleaning Wipes, Anti-Static & Ammonia-Free, 25 Count
  • What You'll Get: One pack of 25 Windex Electronic Pre-Moistened Cleaning Wipes
  • Electronic Wipes: with a gentle formula that safely removes dust, fingerprints, and smudges from electronics, leaving behind only our famous streak-free shine
  • Anti-static Cloths: ideal for cleaning and wiping down all of your house, everyday, and handheld electronics
  • Ideal For: computer screens, tv screens, screens, laptops, monitors, phone screens, car screens, iPad screens, e-readers, cameras, tablets, televisions, and more
  • Convenience: available in a flat pack that is easy to store anywhere and preserves moisture; simply use a wipe to clean any surface and discard the wipe once it gets dirty or dries out

This command disables the firewall for all network profiles. To re-enable the firewall, use the following command:

powershell

CopyEdit

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Shopping ad
Sale
Acer USB C Hub, 7 in 1 Multi-Port Adapter for Laptop/Mac Type C Devices
  • [7-in-1 Multi-port USB C Hub] Acer USBC adapter macbook is made of Aluminum material, expands a USB-C port to 7 ports (1*HDMI 4K@30HZ, 2*USB 3.1, 1*USB-C, 1*Type-C PD charging, 1*MicroSD card slot, 1*SD card slot). The USB hub expands your work from home, office, or on the go. 📌Note: Please connect the power supply with the PD port to provide sufficient power for the USB C hub dongle .
  • [4K USB-C to HDMI Adapter] This USB C to hdmi adapter can mirror or extend your screen with an HDMI port. You can use USBC hub to directly stream 4K@30Hz or full HD 1080P video to HDTV, monitors, and projector, which also bring an immersive 3D resolution experience. 📌Note: USB-C devices should support USB Type-C DP Alt Mode(Video transmission function), and 📌NOT for 4K@60Hz and 2K@144Hz.
  • [100W Power Delivery] The USB C multiport adapter features Type C fast charge PD port to provide up to 100W of high-speed charging for laptops. Get your USB C devices charged, No Worry about the power while using the other functions. Ideal for MacBook Pro/Air and other USB-C devices. 📌Ensure your laptop's USB-C port supports PD protocol and use a 65W+ charger for best performance.
  • [Efficient 5Gbps Data Transfer] Two high-speed USB-A 3.1 ports and one USB-C port enable fast data transfer up to 5Gbps. The USBC dongle can expand your work efficiency either from home or the office. 📌Note: ONLY Support Data Transfer, NOT Support video/audio.
  • [Wide Compatibility] The USB C dongle adapter crafted with a high-quality aluminum housing for enhanced durability and heat dissipation. USB hub for laptop is for MacBook Pro, MacBook Air, Acer, XPS, Laptops and Works on Windows, ChromeOS, Linux, Mac OS X 10.5 or higher. 📌Please turn on the Samsung DeX Mode on the Samsung Galaxy Tablet before you use it.

Using PowerShell provides a quick and efficient way to manage firewall settings, especially for advanced users and system administrators.

Method 4: Turn Off Firewall Using Group Policy Editor (Windows Pro and Enterprise)

Shopping ad
WGK 15.6 inch Portable Monitor 1080P FHD Travel Display HDMI/USB-C Compatible with Laptops, Desktops, Phones, PS, Mac, Xbox, Switch, and Other Gaming Devices Includes Stand and Speakers VESA
  • 15.6" FHD Portable Monitor - Featuring a 1920*1080P resolution, 178°FULL viewing angle, HDR, and Low Blue Light Super Clear IPS A-grade screen, this WGK portable screen for laptop enhanced visual experience, reduces eye strain and fatigue.
  • Easy-use dual Type-C ports-plug and play. Portable displays come with 2 USB-C ports and 1 Mini HDMI port, and if your device has a Thunderbolt 3/4 or full-featured USB-C port, all you need is a USB-C to USB-C cable.
  • Monitor with built-in stand - Weighs only 2.7 pounds, so it's easier to carry. Portable gaming monitor with built-in stand is easy to adjust to your favorite viewing angle. Two built-in speakers provide an amazing viewing and gaming experience.VESA Mountable
  • Multiple Display Modes - Copy Mode/Extended Mode/Second Screen Mode. During meetings, it can copy the content of your laptop and share it with others as a second screen; at work, it can be used as a second extended screen to improve work efficiency. In life, adjusting to HDR mode takes images to the next level, and you can switch screen views between horizontal and vertical modes Low blue light technology ensures a comfortable viewing experience
  • Wide range of compatibility - Enjoy hassle-free plug-and-play functionality with the portable monitor. it is compatible with all devices equipped with HDMI and USB Type-C ports like laptops, PS, XBOX, SWITCH game consoles, No app or driver installation required.

For Windows 10 and 11 Pro/Enterprise Editions

  1. Open Group Policy Editor:
    • Press Windows + R to open the Run dialog box.
    • Type gpedit.msc and press Enter.
  2. Navigate to Firewall Settings:
    • In the Group Policy Editor, go to:

nginx

CopyEdit

Computer Configuration > Administrative Templates > Network > Network Connections > Windows Defender Firewall > Standard Profile

  1. Disable the Firewall:
    • In the right pane, double-click on Windows Defender Firewall: Protect all network connections.
    • Select Disabled and click Apply, then OK.

To re-enable the firewall, repeat these steps and select Enabled instead of Disabled.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Shopping ad
Sale
Acer USB Hub 4 Ports, Multiple USB 3.0 Hub, USBA Splitter for Laptop/PC 2FT
  • 【4 Ports USB 3.0 Hub】Acer USB Hub extends your device with 4 additional USB 3.0 ports, ideal for connecting USB peripherals such as flash drive, mouse, keyboard, printer
  • 【5Gbps Data Transfer】The USB splitter is designed with 4 USB 3.0 data ports, you can transfer movies, photos, and files in seconds at speed up to 5Gbps. When connecting hard drives to transfer files, you need to power the hub through the 5V USB C port to ensure stable and fast data transmission
  • 【Excellent Technical Design】Build-in advanced GL3510 chip with good thermal design, keeping your devices and data safe. Plug and play, no driver needed, supporting 4 ports to work simultaneously to improve your work efficiency
  • 【Portable Design】Acer multiport USB adapter is slim and lightweight with a 2ft cable, making it easy to put into bag or briefcase with your laptop while traveling and business trips. LED light can clearly tell you whether it works or not
  • 【Wide Compatibility】Crafted with a high-quality housing for enhanced durability and heat dissipation, this USB-A expansion is compatible with Acer, XPS, PS4, Xbox, Laptops, and works on macOS, Windows, ChromeOS, Linux

Method 5: Turn Off Firewall Using Command Prompt

For Windows 10 and 11

  1. Open Command Prompt as Administrator:
    • Press Windows + X and select Command Prompt (Admin).
    • If prompted by User Account Control, click Yes.
  2. Disable the Firewall:
    • In the Command Prompt window, type the following command and press Enter:

cmd

CopyEdit

netsh advfirewall set allprofiles state off

This command disables the firewall for all network profiles. To re-enable the firewall, use the following command:

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi
Img 20201029 2213301 (3)
Written by

Ankur Mehta

Happy Go Lucky Geek!

More from this author ↗
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.