Restore or reset Windows Firewall settings to defaults

There may be times you may find that your Windows Firewall in Windows 10/8/7 may not be working the way it should. Maybe you were infected with malware and the malware changed the firewall settings – or maybe you yourself tried to manually configure the firewall settings yourself, but messed up somewhere. In any case, should you wish, you can always restore or reset Windows Firewall settings to defaults.

In this post, we will see how you can restore or reset Windows Firewall settings to defaults in Windows 10/8/7.

Reset Windows Firewall settings to defaults

A firewall is software or hardware that checks information coming from the Internet or a network, and then either blocks it or allows it to pass through to your computer, depending on your firewall settings. It can help prevent hackers or malicious software from gaining access to your computer through a network or the Internet. A firewall can also help stop your computer from sending malicious software to other computers.

To restore Windows Firewall default settings, open Control Panel and click open Security applet. Here on the left side, you will see a link Restore defaults.

restore windows firewall defaults

Click on it. You will be taken to a window which will allow yout to restore the default firewall settings. Click on the Restore defaults button. Restoring the default settings will reset all the firewall settings that you may have configured for all network locations.

Restore or reset Windows Firewall

You will be asked to reconfirm. Click on Yes.

confirm restore

The Windows Firewall settings will be restored to default values.

The Windows Firewall has built up on & polished further, the already improved Windows Vista firewall, in Windows 7/8/10. The default firewall is now quite a powerful one and allows you to block or open Ports, access manage the advanced firewall settings, including configuration of filtering for outbound connections, through its Control Panel, Management Console, Netsh utility, or the Group Policy Editor.

The netsh advfirewall firewall command-line context is available in Windows Vista onwards. This context provides the functionality for controlling Windows Firewall behavior that was provided by the netsh firewall context in earlier Windows operating systems.

The netsh firewall command-line context might be deprecated in a future version of the Windows operating system, and so Microsoft recommends that you use the netsh advfirewall firewall context to control firewall behavior.

You can also use the netsh advfirewall command line to reset or restore firewall settings to default policy settings and values using netsh advfirewall reset command.

Typing netsh advfirewall reset ? will give you information of what it does.

netsh advfirewall reset

To restore the firewall settings, open an elevated command prompt, type the following and hit Enter:

netsh advfirewall reset

The command will restore the Windows Firewall with Advanced Security policy to the default policy and return all Group Policy settings to Not Configured and delete all connection security and firewall rules.

Once the operation is completed, you will see ‘OK‘.

These links may also interest you:

  1. Reset Windows Security settings to default values
  2. Windows Firewall has blocked some features of this app
  3. Windows Firewall service does not start
  4. Repair Windows Firewall with Windows Firewall Troubleshooter
  5. Troubleshoot Windows Firewall with Advanced Diagnostics, Tools
  6. Import, Export, Restore Default Firewall Policy.
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.