windows 10 firewall default

How to Reset Windows 10 Firewall Settings to Default

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.

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.

Tip. Before you reset your Windows 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 rules, open Command prompt in elevated mode and execute the following command:

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

netsh command promt

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.

advanced security local computer

The easiest way to reset 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 fix blurry fonts in Windows 10

firewall cmd

firewall restore defaults

Click the Restore Defaults item in the left pane.

In a new window click on Restore Defaults button.

firewall restore default settings

Confirm deletion of settings by clicking Yes.

restore defaults confirmation

This will remove all your 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.

firewall advanced security

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

advfirewall cmd

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

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

firewall powershell

You may also like:

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...
How to Convert Windows ESD File to Windows WIM Fil... In this tutorial we will show you how to convert ESD file to Windows WIM file using Command Prompt. ESD file is a new thing within Windows 10 OS, that...
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...
How to perform a RAM Check in Windows 10 RAM is the part of computer hardware, which is often the cause of many system problems. If your computer frequently hangs, blue screen of death (BSOD)...
How to Fix Windows 10 Flashing Screen Today we are going to show you how to fix the flashing screen issue when you just upgraded to Windows 10. This is a really annoying thing and we want ...