3 ways to turn off Windows 10 firewall

Windows Firewall is responsible for ensuring the safety of your Windows computer. It will filter and prevent malicious data streams from attacking your computer. However, sometimes you still need to turn off the firewall to perform certain functions. The 3 ways to turn off the Win 10 firewall below will help you in such situations.

Table of Contents of the Article

Method 1: Turn off firewall on Windows 10 using Control Panel

In fact, this method can still be applied to Windows 11, Windows 7 and Windows 8. The steps are as follows:

Step 1 : Press the Win button on the keyboard or click the Start button to open the Start Menu, then type Control Panel to search and open the control panel.

3 ways to turn off Windows 10 firewall
Open Control Panel

Step 2 : Click on System and Security . If you don't see System and Security, click on the drop-down menu at View by and select Category to see it.

3 ways to turn off Windows 10 firewall
Click System and Security

Step 3 : Click Windows Defender Firewall (or Windows Firewall).

3 ways to turn off Windows 10 firewall
Click Windows Defender Firewall

Step 4 : Click Turn Windows Firewall on or off in the left sidebar (Tip: You can also access the firewall settings screen by executing the control firewall.cpl command in CMD or Run).

3 ways to turn off Windows 10 firewall
Click Turn Windows Firewall on or off

Step 5 : Here, click to select Turn off Windows Firewall (not recommended) to turn off the firewall on Windows 10. You can turn off the firewall for both private and public networks or just turn it off for one network depending on your needs.

3 ways to turn off Windows 10 firewall
Select Turn off Windows Firewall

Step 6 : Click OK to save settings.

Method 2: How to turn off Windows 10 firewall using Windows Security

Basically this method can be used for both Windows 10 and Windows 11.

Step 1 : Press the Win button on the keyboard or click the Start button to open the Start Menu, then type Windows Security to search and open Windows protection software.

3 ways to turn off Windows 10 firewall
Find and open Windows Security

Step 2 : Click on Firewall & network protection.

3 ways to turn off Windows 10 firewall
Click on Firewall & network protection

Step 3 : Click on each network you want to disable the firewall for among the three networks Domain network, Private network and Public network or click on all three if you want to disable them all.

3 ways to turn off Windows 10 firewall
Click on Domain network, Private network and Public network

Step 4 : After clicking on the network you want to turn off, turn the switch in the Microsoft Defender Firewall section from On to Off , repeat for all three networks if you want to turn off all three.

3 ways to turn off Windows 10 firewall
Switch the switch in the Microsoft Defender Firewall section from On to Off

So you have turned off the firewall on Windows 10. To turn the firewall back on, just do from step 1, to step 4 select On instead of Off.

Method 3: Turn off Windows 10 firewall with command

Those of you who are familiar with cmd and commands or those of you who like to feel like a hacker can use the command to turn off the firewall on Windows 10. Here's how:

Step 1 : Press the Win button on the keyboard or click the Start button to open the Start Menu , then type cmd to search and open the Command Prompt window . Remember to open it as admin.

3 ways to turn off Windows 10 firewall
Search for and open the Command Prompt window

Step 2 : To turn off the firewall, enter the following command into Command Prompt and press Enter:

netsh advfirewall set allprofiles state off
3 ways to turn off Windows 10 firewall
Enter the command into Command Prompt

Step 3 : If you want to reactivate, just enter the following command into Command Prompt and press Enter:

netsh advfirewall set allprofiles state on

Some other commands to turn on and off the firewall on Win 10 that you may need:

  • netsh advfirewall set currentprofile state off - Turns off firewall for current user
  • netsh advfirewall set currentprofile state on - Turn on firewall for current user
  • netsh advfirewall set domainprofile state off - Turn off firewall on Domain network
  • netsh advfirewall set domainprofile state on - Turn on firewall on Domain network
  • netsh advfirewall set publicprofile state off - Turn off firewall on Public network
  • netsh advfirewall set publicprofile state on - Enable firewall on Public network
  • netsh advfirewall set privateprofile state off - Turn off firewall on Private network
  • netsh advfirewall set privateprofile state on - Enable firewall on Private network

Good luck!

Leave a Comment

Build a PipeWire Output Toggle Script That Moves Active Audio

Build a PipeWire Output Toggle Script That Moves Active Audio

Switch Debian audio between named PipeWire outputs with a pactl script that updates the default sink and reroutes streams already playing.

Restore Bluetooth Headset Microphone Input on Ubuntu 24.04

Restore Bluetooth Headset Microphone Input on Ubuntu 24.04

Get your Bluetooth headset mic working by selecting the right input, using a hands-free audio profile, and checking Ubuntu’s PipeWire route.

Fix Flatpak Apps Not Respecting GTK Themes in Ubuntu 24.04

Fix Flatpak Apps Not Respecting GTK Themes in Ubuntu 24.04

Learn why Flatpak apps may ignore Ubuntu 24.04 GTK themes and follow safe steps to check theme extensions, refresh Flatpak apps, and diagnose portal issues.

How to Dual-Boot Ubuntu 24.04 and Windows 11 With BitLocker Enabled

How to Dual-Boot Ubuntu 24.04 and Windows 11 With BitLocker Enabled

Install Ubuntu 24.04 alongside Windows 11 with BitLocker safely. Compare separate-drive and shared-drive paths, recovery keys, partitioning, and boot checks.

How to Fix Nvidia Drivers Not Loading After a Kernel Update on Ubuntu

How to Fix Nvidia Drivers Not Loading After a Kernel Update on Ubuntu

Diagnose NVIDIA driver failures after an Ubuntu kernel update. Check DKMS and Secure Boot, rebuild the matching module, enroll a MOK, and verify the fix.

How to Fix Ubuntu 24.04 Wi-Fi Disconnecting After Suspend

How to Fix Ubuntu 24.04 Wi-Fi Disconnecting After Suspend

Fix Ubuntu 24.04 Wi-Fi drops after suspend with checks for NetworkManager, radio blocks, updates, power saving, and drivers—then verify each resume.

Fix High CPU Usage by Tracker-Miner-3 in Ubuntu GNOME

Fix High CPU Usage by Tracker-Miner-3 in Ubuntu GNOME

Learn why tracker-miner-fs-3 uses high CPU in Ubuntu GNOME and how to check indexing, exclude folders, update Ubuntu, or safely rebuild the search index.

Fix “No Bootable Device Found” After Installing Debian on UEFI

Fix “No Bootable Device Found” After Installing Debian on UEFI

Fix Debian’s UEFI boot error by checking boot mode, the EFI System Partition, GRUB files, and firmware boot order—without reinstalling Debian first.

Outlook Inbox Repair Tool

Outlook Inbox Repair Tool

The Outlook Inbox Repair Tool fixes corrupted PST files quickly so you can recover emails and restore normal Outlook function. Follow these exact steps to run scanpst.exe without data loss.

Adobe PDF Installer Offline

Adobe PDF Installer Offline

Get the Adobe PDF Installer Offline to install Acrobat Reader on any PC without needing internet during setup. Follow these exact steps for the full standalone package.