How to Reset Firewall Settings to Default in Windows 10?

One of the major changes in Windows XP Service Pack 2 was the introduction of a new security feature called Windows Firewall that manages the Internet connections on your computer and either allows or blocks access to different servers. If properly configured, Windows Firewall becomes an extremely powerful security guard that prevents hackers from accessing your computer and infecting it with malware or viruses.

When to Reset Windows Firewall?

By default, an average user does not need to manage Windows Firewall thus there is no need to reset Windows Firewall Settings to default. Still, many users like to take control of their privacy and security. They create new Windows Firewall rules and try to fine-tune their network connection to ensure the best security possible. That is totally fine and normal if you know what you are doing. If you went too far with managing Windows Firewall rules, things get really-really messy and cause the programs on your computer to lose access to the Internet and other weird connectivity issues. This leads to the need to reset Windows Firewall in Windows 10 and apply the default Firewall settings.

Luckily for all of us, it is quite easy to reset Windows Firewall or delete all Windows Firewall rules in Windows 10. You can quickly reset Windows Firewall using a command prompt, PowerShell, or Control Panel. In this article, we prepared a complete guide on how to reset Windows Firewall in Windows 10. Although in this article we talk about Windows 10 only (since it is the most popular and the most recent Windows), you can use our guide to delete Windows Firewall rules in Windows 8.1 or Windows 7.

READ ALSO  How to Transfer FSMO Roles Using PowerShell?

Resetting Windows Firewall in Windows 10 – Backup the Rules Before You Go

Important: if you want to reset Windows Firewall settings, make sure you have the Administrator access level. If you do not, Windows would ask you to enter the Administrator password. Remember, you can’t delete Windows Firewall rules without an Administrator account.

Before you reset Windows Firewall in Windows 10, backup all the current rules just in case you ever need to restore them. Backing up Windows Firewall rules implies saving them to a separate file and keep in for later use.

You can quickly backup Firewall settings in Windows 10 using the special command. Launch Command Prompt in elevated mode (Run as Administrator) using the search or any preferred method and paste the following command:

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

reset firewall windows 10

After you execute the command, Windows will put the backup file in the C:Archive folder. Copy the file from there and store it whenever it is convenient for you.

If you do not like using Command Prompt to manage Windows Firewall Settings, you can use the Windows Control Panel.

  1. Launch the Windows Security app using the search or the icon in the notification area. reset firewall windows 10 cmd
  2. Go to Firewall & network protection. Locate the Advanced settings link and click it. This launches the Windows Defender Firewall with Advanced Security window. netsh advfirewall reset windows 10
  3. What you need to backup Windows Firewall settings is in the right sidebar of the window. Click Export Policy and specify where to store your backup file. reset windows firewall to default command line
READ ALSO  Hyper-V: Nested Virtualization on Windows Server 2016

That is it. Your Windows Firewall settings are now securely stored in a separate file. Now you can proceed and reset Windows Firewall settings to default.

Reset Windows 10 Firewall – Control Panel

The easiest way to reset Windows 10 firewall rules to default is from Control Panel and Windows Firewall section. This guide also applies to Windows 7 and Windows 8.

  1. To open the snap, press Win + R and run the command firewall.cpl. reset firewall rules windows 10
  2. In the left sidebar, locate the Restore Defaults link and click it. windows 10 reset firewall rules
  3. In the new window click on the Restore Defaults button to confirm. reset windows 10 firewall
  4. Confirm deletion of settings by clicking Yes. windows 10 reset firewall

This action will reset all Windows Firewall settings, which were 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 the standard system network access rules remain. Now you can add new Windows Firewall rules and configure it up to your desire or just leave it blank.

How to Reset Windows Firewall in Windows 10 – Windows Security

There is another way to reset Firewall in Windows 10. It can save you a few clicks and help avoid navigating the old Control Panel. All you need to do is to launch the Windows Security app and go to the Firewall and network protection section.

windows 10 firewall reset

Hit Restore firewall to default and confirm your decision in the new window.

Resetting Windows Firewall Settings to Default Using Command Prompt or PowerShell

Just like with almost any Windows setting, you can reset Windows Firewall using a simple command in Command Prompt or Windows PowerShell.

READ ALSO  Remote control in Configuration Manager 2012

In case you use Windows Command Prompt (do not forget to launch it with Administrator access), use the following command:

netsh advfirewall reset

windows 10 default firewall rules

If you prefer Windows PowerShell or Windows Terminal, use this command:

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

reset windows firewall powershell

How Do I Reset Windows Firewall in Windows 7?

This part of the guide is specific for Windows 7 or Windows 8 users but also applies to Windows 10.

Our guide is not complete if we do not mention all the ways to reset Windows Firewall settings. It is not the quickest nor easiest, but also does the job.

  1. Hit Win + R on your keyboard and enter the wf.msc command. windows 10 reset firewall to default
  2. In the right-side pane, click Restore Default Policy and confirm the restoration. reset windows 10 firewall rules to default

Done, now your Firewall settings are reset to default.

Keep in mind that after you reset your Windows Firewall settings some applications may stop working or ask you to grant the access again. You need either create a new rule for each program or allow Internet access next time you launch an app. Some programs may require complete reinstallation to properly configure firewall access.

Cyril Kardashevsky

One comment

  1. Thank you, works a treat to restore normality after tinywall has butchered the firewall rules and destroyed browsing the local network!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.