WiseCleaner Think Tank

Encounter difficult computer problems?
All about maintenance and optimization of your Windows System.

Home > Think Tank > How to Reset Firewall Settings in Windows Defender

How to Reset Firewall Settings in Windows Defender

Jun 10, 2026

The Windows Defender Firewall helps protect your computer by controlling incoming and outgoing network traffic. It blocks unauthorized access while allowing trusted apps and services to communicate over the internet or local network.

Sometimes, however, firewall settings may become misconfigured due to software changes, incorrect rules, network problems, or troubleshooting attempts. In such cases, resetting the firewall to its default settings can resolve connectivity issues and restore proper protection. This guide explains how to reset Windows Defender Firewall settings safely in Windows.

Method 1: Reset Firewall Settings Using Windows Security

The easiest way to reset the Windows Defender Firewall is through the Windows Security interface.

1. Click the Start menu, type Windows Security, and open the app.

2. Inside Windows Security, select Firewall & network protection from the left-hand menu.

3. Scroll down and click Restore firewalls to default. Windows will open a settings page that allows you to return the firewall configuration to its original state. 
Restore firewalls to default

4. Click the Restore defaults button.
Restore defaults

5. A confirmation prompt will appear explaining that all Windows Defender Firewall settings will be deleted and reset. Click Yes to confirm.

Method 2: Reset Firewall Settings Through Control Panel

If you prefer using the classic Control Panel interface, you can reset the firewall there as well.

1. Press Win + R, type control, then press Enter to open Control Panel.

2. Change the View by option in the top-right corner to Large icons or Small icons. Click on Windows Defender Firewall.
Click on Windows Defender Firewall

3. In the left panel, click Restore defaults.
Restore defaults

4. On the next screen, click Restore defaults again and when Windows asks for confirmation, select Yes.

Method 3: Reset Windows Defender Firewall Using Command Prompt or Powershell

Advanced users can reset the firewall instantly using a command.

1. Click the Start menu, type cmd, then right-click Command Prompt and select Run as administrator.

Type the following command and press Enter:

netsh advfirewall reset
Type the following command and press Enter:

3.You can also use the following command in PowerShell:

(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()
use the following command in PowerShell:

Conclusion

If apps stop connecting to the internet, or firewall settings seem broken after software installation or configuration changes, performing a firewall reset is often one of the simplest troubleshooting steps to try. Whether you use Windows Security, Control Panel, or Command Prompt, the process only takes a few minutes.

Latest
How to Enable or Disable Notification Badges in Windows 11 TaskbarHunt Down and Delete Duplicate Files in Windows 11 Without Third-Party ToolsNotepad++ Asking to Save Every Time? Fix the Session Snapshots in 2 Minutes
Read more >>
Recommend
Understanding Windows Power Plans: Balanced, Battery Saver, High Performance, and Ultimate PerformanceHow to Pause Windows Update for 100 YearsShould I enable or disable Trim of SSD?
Read more >>
Hottest
How to Install a macOS in VMware Workstation PRO 17How to Enable Task Manager Option in Taskbar Menu on Windows 11How to Fix Office Application Error 0xc0000142
Read more >>

wisecleaner uses cookies to improve content and ensure you get the best experience on our website. Continue to browse our website agreeing to our privacy policy.

I Accept