Skip to content
Follow
Windows

How to Reset Default Firewall Settings in Windows 11

Richard
Written by
Richard
Jan 30, 2026 Updated Jul 13, 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 returns the firewall to its original, out-of-the-box configuration.

The Windows Defender Firewall is a security feature that blocks or allows programs to access your network. Resetting it can fix problems where custom rules might be stopping important apps or services from working correctly.

For instance, if you cannot connect to an online game or network drives after making changes, a firewall reset might solve the issue. You can find this option within the Windows Security app, under Firewall & network protection.

⚡ Quick Answer

You can reset your Windows 11 firewall by opening Windows Security, navigating to Firewall & network protection, and selecting Restore firewalls to default. Confirm the action in the pop-up window to revert to the original firewall settings.

What is Windows Firewall?

Windows Firewall acts like a security guard for your computer, blocking unwanted access from the internet or your network.

Method 1Reset Firewall Using the Windows Security App

You can reset your Windows 11 firewall to its original factory settings using the Windows Security app. This method restores your firewall to how it was when Windows 11 was first installed. It’s a helpful first step if you’re experiencing network problems.

  1. Click the Start button in the bottom-left corner of your screen.
  2. Click Settings (the gear icon).
Windows 11 Start Menu with Settings
windows 11 start menu settings updated
  1. In the Settings window, click Privacy & security on the left side. Then click Windows Security.
Windows Security button in Settings
Windows Security button in Settings
  1. Click the Open Windows Security button.
Open Windows Security button
Open Windows Security button
  1. In the Windows Security app, click on Firewall & network protection. You can also open this directly by clicking here.
Firewall & network protection section
Firewall & network protection section
  1. Scroll down and click Restore firewalls to default.
Restore firewalls to default link
Restore firewalls to default link
  1. When a pop-up appears, click Restore defaults.
  2. Click Yes if asked to confirm.
Restore defaults button
Restore defaults button

Windows 11’s firewall now reverts to its original settings. This action ensures the computer uses standard firewall rules recommended by Microsoft, offering the default protection level.

Method 2Reset Firewall Using Advanced Security

If you need more granular control when resetting your firewall, the Windows Defender Firewall with Advanced Security tool is the way to go. This feature lets you see and change more settings to get your firewall back to its default, offering a deeper way to manage your computer’s protection.

  1. Press Windows key + R on your keyboard to open the Run box.
  2. Type wf.msc and press Enter.
  3. In the window that opens, click on Windows Defender Firewall with Advanced Security on Local Computer on the left side.
  4. On the right side, find and click Restore Default Policy.
  5. Confirm any pop-ups that appear.
Restore default policy in Advanced Security
Restore default policy in Advanced Security

Method 3Reset Firewall Using Command Prompt

For those who prefer using commands, resetting the Windows 11 firewall with Command Prompt is a quick way to restore its default settings. This method requires administrator rights. A single command, `netsh advfirewall reset`, resets the firewall, making the process very efficient.

Prefer commands? This method is quick and direct. One command does all the work for you.

  1. Right-click the Start button and select Windows Terminal (Admin).
  2. If needed, click the down arrow at the top and select the Command Prompt tab.
  3. Type the following command and press Enter:

This command immediately resets your Windows 11 firewall to its default settings. This action restores all firewall rules and configurations to the factory defaults, ensuring proper network protection without custom changes.

Method 4Reset Firewall Using PowerShell

You can also reset your Windows 11 firewall using PowerShell, a powerful command-line tool that needs administrator access. This method is helpful because PowerShell lets you precisely manage and reset the Windows Defender Firewall right back to its default state.

The PowerShell command line offers another method to reset firewall settings. This method is useful because PowerShell directly interacts with Windows Defender Firewall, allowing precise control over its configurations for users needing a command-line approach to restore default security rules.

  1. Open Windows Terminal (Admin) again.
  2. Choose the PowerShell tab.
  3. Type this command and press Enter:
💻Code
(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()

What happens? PowerShell will reset your firewall settings back to default immediately.

Summary

You can reset your Windows 11 firewall using the simple Windows Security app, the more detailed Windows Defender Firewall with Advanced Security, or command tools like Command Prompt and PowerShell. The Windows Security app offers the easiest way to restore your firewall to its default settings.
  • The Windows Security app is the easiest way to reset your firewall.
  • Advanced Security gives you more control if you need it.
  • Command Prompt and PowerShell are for people comfortable with typing commands.
  • Resetting your firewall fixes problems caused by wrong settings.
  • Following these steps keeps your PC safe from threats online.

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.

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. Access the reset option through Windows Security → Firewall & network protection → Advanced settings → Restore defaults → Yes.

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.

📚 Related Tutorials

How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11
How to Reset Your Security Key on Windows 11
Windows How to Reset Your Security Key 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 *