Windows firewall is a security feature that keeps your device safe and protected from different threats and other malicious online attacks. However, sometimes it might happen when your Windows defender will not work in the way it should. Possibly your system got attacked by some kind of malicious program or ransomware infections.
In such a case, you may want to restore or reset the Windows Firewall Settings due to having some problems with the device. This article will show how you can reset the built-in firewall configuration to default on your computer.
What happens if you reset firewall settings?
When you reset your Windows Firewall settings to their default states, this also removes the conditions that you have superimposed on certain apps. As a result, those applications might stop working or prompt providing them with the appropriate permissions.
Restore or Reset Windows Firewall Settings
This article will show five different ways using which you can delete the Microsoft Defender Firewall settings and restore them to the default states. Let’s take a look at the below solution.
1] Through the Settings app
Follow the below steps to reset Windows Firewall through the Settings app –
- Click on the Start button and select the gear ‘Settings’ icon.
- Select Update & Security > Windows Security.
- Under Protection areas, select the Firewall & network protection option.
- Scroll down and select the Restore firewalls to default link.
- Inside the Restore defaults window, click the Restore defaults button.
- When a confirmation window popup, select the Yes button.
2] Using Control Panel
To reset Microsoft Defender Firewall via Control Panel, use the below steps –
- Open Control Panel.
- Select System and Security > Windows Defender Firewall.
- From the left navigation pane, click on the Restore default link.
- Next click Restore default > Yes.
3] Through Advanced Security
To restore the default firewall settings through the advanced security, use the below steps –
- Click on the Start button and type Windows Defender Firewall with Advanced Security.
- Then select the top result to open it.
- From the left end of the screen, right-click on Windows Defender Firewall with Advanced Security on Local Computer and select the Restore Default Policy option.
- If a warning message popups on the screen, ignore it and click on the Yes button.
- Now click on the OK button and exit the window.
4] Using Windows PowerShell
Follow the below steps to reset firewall settings using the PowerShell command, use the below steps –
- Open PowerShell as an administrator.
- In the PowerShell window, type the following command:
(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()
- Press the Enter key to reset the Windows Firewall settings. This will delete the current firewall settings and restore them to their original settings.
5] Through Command Prompt
Use the following steps to restore Windows 10 firewall settings to the default using the command prompt –
- Open Command Prompt as an administrator.
- In the command prompt window, type the below command:
netsh advfirewall reset
- Press the Enter key to reset Windows 10 firewall settings.
Once you complete the steps, it will delete all the changes you made and reset them to their default settings. If you know any other strategy to reset Windows Firewall Settings, let us know in the comment box.
Next Read: