Reset Firewall Settings to Default in Windows 11
If you are having problems with Remote Desktop, unable to download Apps, unable to access certain Websites or Files, the problem might be due to change or corruption in Windows Firewall Settings on your computer.
Another common reason to Reset Windows Firewall Settings would be to undo changes made to Firewall Settings and open ports left by malware on your computer.
Backup Firewall Settings
Before Resetting Windows Firewall, you may want to take a backup of the current Firewall Settings on your computer.
Type Command Prompt > right-click on Command Prompt and select Run As Administrator option.
On Command Prompt screen, type netsh advfirewall export “C:\Archive\firewall-config.wfw” and press the Enter key.
After the Command is executed, you will find the Backup File at C:\Archive folder. You can copy the file from this location and store on Desktop or any other location.
1. Troubleshoot Windows Firewall
Start by using the built-in Windows Firewall Troubleshooter to see if it can find and fix problems with Windows Firewall on your computer.
Go to Settings > System (left-pane) > Troubleshoot (right-pane) > Other Troubleshooters (right-pane) > scroll down in the right-pane and click on the Run button located next to Incoming Connections.
Follow the next on-screen instructions to troubleshoot problem with incoming connections on your computer.
2. Reset Windows Firewall Using Windows Security
Perhaps the quickest way to Reset Windows Firewall on your computer is by using Windows Security App.
Open Windows Security App from the System Try > click on Firewall & Network Protection.
On the next screen, scroll down and click on Restore firewall to default option.
On the confirmation pop-up, click on Yes to confirm.
3. Reset Windows Firewall Using Control Panel
The Control Panel in Windows 10/11 can still be used to Reset Windows Firewall settings on your computer.
Right-click on the Start button and click on Run. In the Run Command window, type firewall.cpl and click on OK.
On Windows Defender Firewall screen, click on Restore Defaults option.
On the next screen, click on Restore Defaults button. On the confirmation pop-up, click on Yes to confirm.
4. Reset Windows Firewall Using Settings App
Go to Settings > Privacy & Security (left-pane) > Windows Security (right-pane) > scroll down in the right-pane and click on Firewall & Network Protection tab.
On the next sccreen, scroll down and click on Restore Firewalls to default option.
This will take you to the Control Panel’s Restore default settings page from where you can reset the firewall. Now click on Restore defaults and then click Yes on the dialog box to reset Windows Firewall.
5. Reset Windows Firewall Using Command Prompt
If you like using Command Prompt, you can Reset Windows 10 Firewall by using a single command.
On the Command Prompt screen, type netsh advfirewall reset.
This single command is enough to Reset Windows 10 Firewall to default settings.
6. Reset Windows Firewall Using PowerShell
Type Powershell in the search bar > right-click on Windows PowerShell App and click on Run As Administrator option.
On the PowerShell screen, type (New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults() and press the Enter key.
Once the Command is executed, Windows Firewall on your computer will be Reset to Default Settings.
- How to Disable Startup Programs in Windows 11
- How to Disable Startup Sound in Windows 11/10