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 built-in firewall configuration to default on your computer.
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 it to the default. 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. Through 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 popup on the screen, ignore it and click on the Yes button to confirm it.
- 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 it to the original settings.
5. Through Command Prompt
Use the following steps to restore Windows 10 firewall settings to the default using 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 it to the default settings. If you know any different strategy to reset Windows Firewall Settings, please let us know in the comment box.