windows 10 firewall default

How to Reset Firewall Settings to Default in Windows 10


Built-in Windows Firewall is an important part of all versions of Windows operating system (starting from Windows XP SP2) and, when properly configured, allows to get the full control of all network activity on the computer and helps to protect your computer from hackers and malware programs. You can Reset Firewall Settings on your Windows 10.

Sometimes users create too many firewall rules and then get entangled in it. After they can get various problems with the network access of system and applications. But in that case you can delete all created Windows Firewall rules and restore it to default settings.

How to Reset Firewall Settings in Windows 10?

Tip. Before you reset Windows 10 Firewall configuration, we strongly recommend you to save the current settings. You can restore your configuration if necessary using this backup. To backup current Firewall settings, open Command prompt in elevated mode and execute the following command:

netsh advfirewall export "C:\Archive\firewall-config.wfw"

netsh advfirewall reset

The same thing you can do using GUI snap Windows Firewall with Advanced Security. Just click on the Export Policy link to save the existing firewall rules to the *.wfw file.

how to reset firewall in windows 10

The easiest way to reset Windows 10 firewall rules to initial defaults is from Control Panel with item Windows Firewall. To open the snap, press Win + R and run the command firewall.cpl, or press Win + X and follow to Control Panel -> Windows Firewall.

READ ALSO  How to protect your Microsoft Word/Excel/PowerPoint documents

restore windows 10 firewall.cpl

restore windows 10 firewall

Click the Restore Defaults item in the left pane.

In a new window click on Restore Defaults button.

reset windows 10 firewall restore

Confirm deletion of settings by clicking Yes.

reset windows 10 firewall restore defaults

This will reset all Windows Firewall settings, which was made after installing Windows, including rules and exceptions for all ports and programs. After that in the list of firewall rules you will find only standard system network access rules remain.

reset windows 10 firewall

Keep in mind that after you reset your Windows Firewall settings, some applications, that you were previously allowed to access, might stop working (Remote Desktop (RDP) access at the default setting also does not work). To provide network access for such applications you have to manually re-create firewall rules or need to reinstall the entire programs.

Also you can restore the Windows Firewall default settings using Command prompt. Open elevated cmd.exe and execute the following:

netsh advfirewall reset

netsh advfirewall reset cmd

You can restore Windows Firewall default settings using PowerShell. Open Powershell session and execute the following command:

(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()

Reset Firewall Settings powershell


You may also like:

How to Convert ESD to WIM File on Windows 10 In this tutorial we will show you how to convert ESD to WIM file using Command Prompt. ESD file is a new thing within Windows 10 OS, that Microsoft is...
Sysprep Windows 10 Machine: Step by Step Guide In this article we will show you how to use PowerShell and Windows System Preparation Tool to prepare a highly customized, personal Windows 10 install...
Integrate WSUS Offline Updater with MDT 2013 to De... In this article we will show you how to install updates offline gained using WSUS Offline Updater, inside MDT 2013 task sequences to deploy fully patc...
Capture Windows 10 Image using MDT 2013 In this article we are going to show you how to capture Windows 10 image using Microsoft Deployment Toolkit 2013 (MDT 2013). Later you can use such im...
System Restore Point in Windows 10: How to Enable,... Today we will show you how to enable, create and perform a system restore point in Windows 10. Let’s get started here by clicking on Start menu. Go to...