Windows

How to Reset Default Firewall Settings in Windows 11

Richard
Written by
Richard
Aug 6, 2025 Updated Apr 3, 2026 2 min read
How to Reset Default Firewall Settings in Windows 11

This article explains how to restore Microsoft Defender Firewall to its default settings in Windows 11.

Why Reset Your Firewall?

The Windows Firewall protects your device by filtering network traffic and blocking unauthorized access. If someone or something has changed your firewall settings and caused problems, you can easily restore the original settings. This helps keep your computer safe again.

On Windows 11, you can use the Windows Security app to view and manage your firewall. You can turn it on or off anytime.

Method 1: Using the Windows Security App

This is the easiest way to reset your firewall. Here’s how:

  1. Click on Start and select Settings from the Start menu.
windows 11 start menu settings updated

  1. In the Settings app, click Privacy & security and then click the Windows Security tile.
Windows Security button in Settings app for firewall management

  1. Click the Open Windows Security button.
Open Windows Security button in Settings app

  1. In the Windows Security app, select Firewall & network protection or use this shortcut: Firewall & network protection
Click Firewall and network protection in Windows Security

  1. Click on the Restore firewalls to default link at the bottom.
Restore firewalls to default link in Windows Security app

  1. In the pop-up window, click Restore defaults to restore the firewall settings.
Restore defaults button for Windows Firewall settings

  1. Click Yes when asked if you want to reset the firewall to default.

Method 2: Using Windows Defender Firewall with Advanced Security

This method gives you more detailed options. Here’s what to do:

  1. Open Windows Defender Firewall with Advanced Security (type wf.msc in the search box).
  2. On the left side, select Windows Defender Firewall with Advanced Security on Local Computer.
  3. On the right side under Actions, click Restore Default Policy to restore the firewall to its defaults.
Restore default policy using Advanced Security in Windows

Method 3: Using Command Prompt

This method uses the command line. Here’s how:

  1. ⚠️ Admin Required: Open Command Prompt as administrator and select the Command Prompt tab.
  2. Type and run this command:
💻Code
netsh advfirewall reset

This command resets the firewall to its default settings.

Method 4: Using PowerShell

PowerShell is another way to reset your firewall. Here’s how:

  1. ⚠️ Admin Required: Open PowerShell as administrator and select the PowerShell tab.
  2. Type and run this command:
💻Code
(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()

That’s it! Your firewall is now reset to default.

Summary

What You Learned: You now know four different ways to reset your Windows Defender Firewall to its default settings in Windows 11.

  • Windows Security App: The easiest method. Just click a few buttons.
  • Advanced Security: Offers more detailed options for advanced users.
  • Command Prompt: A quick method using a simple command (requires admin rights).
  • PowerShell: Another command-line option (requires admin rights).

Why This Matters: Resetting your firewall helps protect your computer from unauthorized access and threats. If unwanted changes were made to your firewall, these methods let you quickly fix the problem and restore your security.

Choose whichever method you feel most comfortable with. All four methods work well and will get your firewall back to normal.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2464 articles → Twitter

📚 Related Tutorials

How to Backup and Restore Microsoft Defender Firewall in Windows 11
Windows How to Backup and Restore Microsoft Defender Firewall in Windows 11
How to Turn On or Off Microsoft Defender Firewall in Windows 11
Windows How to Turn On or Off Microsoft Defender Firewall in Windows 11

Leave a Reply

Your email address will not be published. Required fields are marked *