If Windows 11 Firewall has been changed too many times, is blocking the wrong apps, or is behaving unpredictably, resetting it can restore the default protection rules and clear out custom changes. There are several ways to do this, from simple graphical tools to command-line methods.
This guide shows five practical ways to reset Firewall settings on Windows 11, along with when each method makes sense and what to watch out for before you begin.
1. Reset Firewall Settings from Windows Security
For most users, the easiest option is the built-in reset inside Windows Security. This returns the firewall configuration to its default state without needing command-line tools.
- Open Start and search for Windows Security.
- Select Windows Security from the results.
- Choose Firewall & network protection.
- Scroll down and select Restore firewalls to default.
- Confirm the action when Windows asks for permission.
2. Use Control Panel to Restore Defaults
Windows 11 still includes the classic Control Panel firewall page, and it offers a direct restore option. This is useful if you prefer the older interface or are already working in Control Panel for other network settings.
- Open Control Panel.
- Select System and Security.
- Open Windows Defender Firewall.
- In the left pane, click Restore defaults.
- Select Restore defaults again to confirm.
3. Reset the Firewall with Command Prompt
If the Windows interface is not opening correctly, Command Prompt can reset the firewall quickly. This is a good option when you need a direct fix or you are working on a system where the graphical tools are limited.
- Right-click the Start button and choose Terminal (Admin) or Command Prompt (Admin).
- If Windows Terminal opens, make sure you are in an elevated session.
- Type the following command: netsh advfirewall reset
- Press Enter.
- Wait for the message confirming the reset.
4. Reset Firewall Rules with PowerShell
PowerShell can also return the firewall to default behavior. This is useful if you are already using PowerShell for system maintenance or want a method that works well in scripts and admin workflows.
- Open Windows Terminal as Administrator or launch PowerShell with elevated rights.
- Enter the command: (New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()
- Press Enter.
- Close the window once the command completes.
5. Reinstall or Reapply Firewall Policy Through Group Policy or Security Software
On some PCs, especially work-managed systems, the Windows firewall may be controlled by Group Policy or third-party security software. In those cases, a normal reset may not stick because another tool restores the old rules.
- If your PC is managed by an organization, check whether Group Policy is enforcing firewall rules.
- If you use antivirus or internet security software with its own firewall component, review that app’s settings.
- Look for an option to restore the software firewall to defaults or disable its firewall module temporarily for testing.
- If a policy is being pushed from a domain or management tool, contact your IT administrator before making changes.
What to Do After Resetting the Firewall
After a reset, check whether the issue you were troubleshooting is gone. If not, the problem may be caused by something other than the firewall, such as a router setting, DNS issue, broken network adapter driver, or application-specific network permission.
- Reopen any app or game that was blocked and test it again.
- Recreate only the firewall exceptions you actually need.
- Check whether the problem affects both private and public networks.
- If you use remote desktop, file sharing, or a game launcher, confirm those features still work after the reset.
Which Reset Method Should You Use?
For most people, Windows Security or Control Panel is the simplest choice. Use Command Prompt or PowerShell if the interface is unavailable or you want a faster admin-level reset. If a third-party firewall or group policy is controlling the system, you may need to change that tool instead of relying only on Windows Firewall settings.