Skip to content
Follow
Windows

How to Reset Default Firewall Settings in Windows 11

Richard
Written by
Richard
Aug 6, 2025 Updated Sep 15, 2026 4 min read
How to Reset Default Firewall Settings in Windows 11
How to Reset Default Firewall Settings in Windows 11

Resetting default firewall settings in Windows 11 clears all custom rules and returns Microsoft Defender Firewall to its original factory state in just a few clicks. This fix removes broken or overly strict rules that block apps from connecting to the internet.

Advertisement

You lose any custom rules you added previously, but your PC gets a completely fresh security setup to solve stubborn connection problems.

⚡ Quick Answer

Open Windows Security, go to Firewall & network protection, and click Restore firewalls to default. Confirm the reset in the pop-up window. This action restores your firewall settings to their original configuration.

Advertisement

Why Reset Your Firewall?

Resetting Windows Firewall settings puts your computer’s protection back to its original factory state. You should reset your firewall if you accidentally blocked a safe app, changed security rules by mistake, or notice that your internet connection is acting strange due to blocked traffic. This fixes broken rules and gets your security working right 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 1Using the Windows Security App

Resetting Windows Firewall settings through the Windows Security app is the fastest way to restore your default security rules without using advanced tools. You use this built-in menu to clear out any custom changes you made and put all network protection settings back to how they were when you first set up your PC.

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

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

  1. Click the Open Windows Security button.
Open Windows Security button in Settings app
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
Windows 11 Security app showing Firewall and network protection section.

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

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

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

Method 2Using Windows Defender Firewall with Advanced Security

Resetting Windows Firewall settings using Windows Defender Firewall with Advanced Security gives you deeper control over your network rules. You use this management console when you want to restore default policies while viewing detailed inbound and outbound traffic rules for your programs and connections.

  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
Restore default policy using Advanced Security in Windows

Method 3Using Command Prompt

Run a quick command in Command Prompt to reset the firewall.

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

This command resets the firewall to its default settings.

Method 4Using PowerShell

Run the reset command using PowerShell instead.

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

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

Summary

Resetting Windows Firewall settings can be done quickly using either the simple Windows Security app or the advanced management tool. Both options restore your original security rules and fix blocked apps, so you just pick the method that matches your comfort level with Windows settings.

Advertisement
  • 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 get your security back on track.

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

What does resetting the Windows Firewall do?

Resetting Windows Defender Firewall restores all security settings to their default state, resolving configuration errors and network access problems.

Is it safe to reset firewall settings?

Resetting the firewall to its default state is a safe troubleshooting step when apps can't connect to the network, network file sharing stops working, or you want to remove all user-defined rules and start fresh. However, this process doesn't remove any of the system default firewall rules.

How do I fix my firewall from blocking the internet?

Check your device firewall first Windows firewall settings: Search and open Windows Defender Firewall Check “Allow an app through firewall”. That should do the trick if a Windows firewall is blocking incoming connections.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips 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.

Advertisement

📚 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 Reset Windows Security App in Windows 11
Windows How to Reset Windows Security App 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
How To Reset Microsoft Edge To Default Settings On Windows 11
Browsers How To Reset Microsoft Edge To Default Settings On Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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