How To Disable Windows Firewall In Windows 10

Introduction

 
Windows Firewall is a shielding feature in the Windows Family. The Windows Firewall is designed to protect from unauthorized access to your system and this feature also permits authorized communications to and from your system.
 
As per Wikipedia, "Windows Defender Firewall was first included in Windows XP operating system and Windows Server 2003. Before September 2017, it was generally known as Internet Connection Firewall and later on, it was renamed Windows Defender Firewall".
 
Without turning off (disabling) the Windows Defender Firewall, the user can also allow apps or features through Windows Defender Firewall. In specific conditions, you have to turn off (disable) the Windows Defender Firewall, but remember you should turn it on again after completing the work.
 
This tutorial will show you various ways on, how to disable Windows Defender Firewall In Windows 10.
 

Method 1. Using Command Prompt (Admin)

 
By using the Command Prompt (Admin), the user can easily turn on or off the Windows Defender Firewall. Follow the below instructions to proceed.
 
Step 1
 
From the Search, type the Command Prompt and right-click on it and select "Run as Administrator".
 
Step 2
 
To turn off (disable) the Windows Defender Firewall for different profiles, type the command below in the Command Prompt (Admin).
 
1) For all Profile/Network Types
 
Netsh advfirewall set allprofile state off
 
Command Prompt's Command
 
2) For Private Network Only
 
Netsh advfirewall set privateprofile state off
 
Command Prompt's Command
 
3) For Public Network Only
 
Netsh advfirewall set publicprofile state off
 
Command Prompt's Command
 
4) For domain Network Only
 
Netsh advfirewall set domainprofile state off
 
Command Prompt's Command
 
Note:
 
1) To turn on (enable) the Windows Defender Firewall, type the below command in command prompt.
 
Netsh advfirewall set allprofile state on 
 
Command Prompt's Command
 
2) The user can also check the status of the Windows Defender Firewall by using the below command.
 
Netsh advfirewall show allprofiles
 

Method 2. Through Windows PowerShell (Admin)

 
By using the Windows PowerShell, the user can easily (disable) turn off the Windows Firewall. Follow the below instructions to proceed.
 
Step 1
 
Open Windows PowerShell (Admin). (Alternatively, you can press the "Windows + X" key and click on "Windows PowerShell (Admin)" to open it.)
 
Step 2
 
To turn off (disable) the Windows Firewall for different profiles, type the command below in the Windows PowerShell (Admin).
 
1) For all Profile/Network Types
 
Set-NetFirewallProfile -Enabled False
 
Windows PowerShell's Command
 
2) For Private Network Only
 
Set-NetFirewallProfile -Profile Private -Enabled False
 
Windows PowerShell's Command
 
3) For Public Network Only
 
Set-NetFirewallProfile -Profile Public -Enabled False
 
Windows PowerShell's Command
 
4) For Domain Network Only
 
Set-NetFirewallProfile -Profile Domain -Enabled False
 
Windows PowerShell's Command
 
Note:
 
To turn on (enable) the Windows Defender Firewall, type the following command in Windows PowerShell (Admin), "Set-NetFirewallProfile -Enabled True".
 

Method 3. Using Control Panel

 
By using the Control Panel, the user can also disable the Windows Firewall for private as well as public networks. Follow the instructions to proceed.
 
Step 1
 
Open Control Panel.
 
Step 2
 
Click on "System and Security" option.
 
click on system and security option
 
Step 3
 
Click on "Windows Defender Firewall" option.
 
Click on "Windows Defender Firewall" option.
 
Step 4
 
Click on "Turn Windows Defender Firewall on or off".
 
Click on "Turn Windows Defender Firewall on or off".
 
Step 5
 
Now, check (select) the "Turn off Windows Defender Firewall (not recommended)" option of both the public and private network settings.
 
select the turn off option
 

Method 4. Through Windows Defender Security Center

 
The user can also disable the Windows Defender Firewall for all types of networks by using the Windows Defender Security Center. Follow the instructions to proceed.
 
Step 1
 
From the Search, type the "Windows Defender Security Center" and click on it.
 
Step 2
 
"Windows Defender Security Center" window will appear on the screen and click on the "Firewall & network protection".
 
Click on "Firewall & network protection".
 
Step 3
 
Now, choose the network on which firewall that you want to turn off. (like, click on the "Public Network (Active)").
 
choose the network
 
Step 4
 
Disable the "Windows Defender Firewall" option.
 
Disable the "Windows Defender Firewall" option
 
Step 5
 
"User Account Control" Confirmation will appear on the screen and click on the "Yes" button to proceed.
 

Conclusion

 
By following any of the above methods, you can disable (turn off) the Windows Defender Firewall in Windows 10.
 
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.
 
Thanks for reading this article.


Similar Articles