Skip to content
Follow
Windows

How to Reset Default Firewall Settings in Windows 11

Richard
Written by
Richard
Jan 30, 2026 Updated Aug 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 clears out custom rules and restores the built-in security setup to factory defaults. The Windows Defender Firewall is a security tool built into Windows 11 that blocks or lets apps connect to your local network and the internet.

You need to reset this security feature when custom rules stop your games, printers, or apps from working properly. You can finish the entire reset in just five clicks through the Windows Security app.

⚡ 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

The built-in Windows Security app handles the job fastest for most users. This restores the security software to its fresh-install state. Network troubleshooting often benefits from this helpful first step.

  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
Windows 11 Security app showing Firewall and 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. Standard rules recommended by Microsoft take over again, restoring baseline protection levels.

Method 2Reset Firewall Using Advanced Security

Power users needing finer control over specific rules should turn to the Windows Defender Firewall with Advanced Security tool. This feature lets you inspect and modify granular settings to rebuild your security configuration.

  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

Command-line fans can wipe the slate clean using a single terminal command. Administrative privileges are mandatory here. Typing `netsh advfirewall reset` accomplishes the task rapidly.

Terminal workflows offer speed and direct execution. One line of text handles the complete reversion.

  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:

Executing this command immediately reverts your Windows 11 firewall to factory defaults. Custom configurations disappear entirely, reinstating standard network protection.

Method 4Reset Firewall Using PowerShell

PowerShell provides another command-line avenue requiring administrative access. Administrators gravitate toward this tool for programmatic control over Windows Defender Firewall configurations.

The PowerShell environment directly interfaces with firewall APIs. Scripting enthusiasts benefit from this granular approach to restoring default security rules.

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

PowerShell triggers an instantaneous reversion of all firewall properties back to their baseline states.

Summary

Restoring your Windows 11 firewall involves the Windows Security app, the Windows Defender Firewall with Advanced Security snap-in, or terminal environments like Command Prompt and PowerShell. The built-in Windows Security app handles the job fastest for most users.
  • 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?

Reverting the firewall to baseline parameters serves as a reliable troubleshooting step when network connectivity fails or user-defined rules interfere with apps. System default rules remain completely untouched during this process.

What does resetting the Windows Firewall do?

Windows Defender Firewall resets eliminate configuration errors by restoring factory security settings. Navigate through Windows Security → Firewall & network protection → Advanced settings → Restore defaults → Yes to complete the procedure.

How do I fix my firewall from blocking the internet?

Inspecting firewall configurations begins by searching for Windows Defender Firewall and opening the Allow an app through firewall menu. This resolves blocking behavior affecting 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 Restore Windows Firewall Settings to Default
Windows How to Restore Windows Firewall Settings to Default
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 Set Windows Terminal to Open with Command Prompt on Windows 11
Windows How to Set Windows Terminal to Open with Command Prompt 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 *