How to Restore Windows Firewall Default Settings

Written by: Abigail Ivy
Published on:

What restoring Windows Firewall default settings does

Learning how to restore Windows Firewall default settings is useful when rules have become too complex, connectivity problems persist, or security settings were changed by software or troubleshooting steps.

A reset returns the firewall to its built-in configuration so Windows can rebuild a clean baseline.

Windows Firewall, now commonly managed through Microsoft Defender Firewall, protects inbound and outbound network traffic on Windows 10 and Windows 11.

Restoring defaults can fix issues caused by custom rules, third-party security tools, or corrupted policy changes, but it also removes any customizations you added.

When you should reset the firewall

A firewall reset is not a first step for every network problem, but it is a practical repair when the current rule set is no longer trustworthy.

It is especially helpful if you recently uninstalled security software, migrated a PC, or inherited a device with unknown settings.

  • Apps suddenly stop connecting to the internet.
  • Printers, file sharing, or remote access stop working after rule changes.
  • Firewall behavior differs between network profiles, such as Private and Public.
  • Security software left behind policies or exceptions.
  • You want to return to Microsoft’s default baseline before troubleshooting further.

If your organization uses Group Policy, Intune, or another endpoint management platform, a reset may be temporary because centrally managed rules can reapply automatically.

Before you reset: what to know

Restoring defaults is safe in the sense that it does not delete your files, but it can interrupt access to services that rely on custom exceptions.

Back up any important firewall rules if you may need them again.

  • Custom inbound and outbound rules will be removed.
  • Modified notifications and advanced settings may return to defaults.
  • Domain-managed policies may remain controlled by your organization.
  • VPN, remote desktop, gaming, and server apps may need rules recreated.

If you are troubleshooting a specific app, note the port numbers, executable paths, or service names before resetting.

That makes it easier to restore only the rules you actually need.

How to restore Windows Firewall default settings from Windows Security

The simplest method is through the Windows Security interface.

This is the preferred approach for most home users because it is straightforward and uses the built-in management console.

  1. Open Start and search for Windows Security.
  2. Select Firewall & network protection.
  3. Scroll down and choose Restore firewalls to default.
  4. Click Restore defaults or Yes when prompted.

Windows may ask for administrator permission.

After the reset, the system returns to its default firewall rules for each profile, including Domain, Private, and Public networks.

How to restore Windows Firewall default settings from Control Panel

Older administrative workflows still rely on the classic Control Panel.

This path is useful on systems where you are already working inside legacy configuration tools.

  1. Open Control Panel.
  2. Select System and Security.
  3. Choose Windows Defender Firewall.
  4. In the left pane, click Restore defaults.
  5. Select Restore defaults again to confirm.

This method performs the same type of reset, but the navigation reflects the older Windows interface.

If both Control Panel and Windows Security are available, either method is acceptable.

How to reset the firewall with Command Prompt or PowerShell

Administrators often prefer the command line because it is faster, scriptable, and suitable for remote or repeatable maintenance.

The reset command is the same for Command Prompt and PowerShell.

netsh advfirewall reset

To use it:

  1. Open Command Prompt or PowerShell as an administrator.
  2. Run netsh advfirewall reset.
  3. Wait for the confirmation message that indicates the policy has been reset.

This command clears active firewall rules and restores the default configuration.

It is especially useful in Windows recovery workflows, scripted support, and remote troubleshooting sessions.

What to expect after the reset

After restoring Windows Firewall defaults, some apps may immediately prompt you for access again.

That is normal, because the system is rebuilding a clean set of permissions based on current activity.

  • Network discovery may be turned off until enabled again.
  • File and printer sharing may require new exceptions.
  • Remote Desktop and remote assistance may need new inbound rules.
  • Game launchers, local servers, and developer tools may ask for access.

If you manage multiple devices, compare behavior with a known-good system running the same Windows version.

That can help you determine whether the issue was caused by firewall rules or by something deeper, such as DNS, driver problems, or router filtering.

How to verify the firewall is working correctly

Once you restore Windows Firewall default settings, verify that protection is active and the expected profile is in use.

This step matters because a reset is only useful if the firewall is actually enforcing the default policy.

  • Open Windows Security and confirm Microsoft Defender Firewall is on for each profile.
  • Check whether your device is connected to a Private or Public network.
  • Test a previously blocked app to see whether Windows prompts for permission.
  • Use a website, remote connection, or local service to confirm the original issue is gone.

If problems remain after the reset, the cause may be outside the firewall.

Common examples include router ACLs, antivirus web protection, broken network adapters, or incorrect proxy settings.

How to recreate only the rules you need

Many users reset the firewall and then want to add back only essential exceptions.

The goal is to keep the configuration minimal while still allowing trusted software to function.

  • Allow only applications you recognize and actively use.
  • Prefer app-based rules over broad port openings when possible.
  • Document custom rules with the app name, port, and reason for approval.
  • Review rules again after software updates, since executables can change paths.

For enterprise environments, use centralized rule deployment where possible so settings remain consistent across devices.

Microsoft Defender for Endpoint, Group Policy, and Intune can reduce configuration drift and make future troubleshooting easier.

Common mistakes to avoid

People often assume a firewall reset will fix every network issue, but that is not always true.

Avoid these mistakes to save time and reduce risk.

  • Resetting before documenting important custom rules.
  • Re-enabling too many broad exceptions after the reset.
  • Ignoring organization-managed policies that override local settings.
  • Confusing firewall issues with VPN, DNS, or proxy problems.

When in doubt, test one change at a time.

That makes it easier to confirm whether the firewall was actually the source of the problem.

Related Windows tools that can affect firewall behavior

Several Windows components interact with firewall policy and can influence results even after a reset.

Knowing these dependencies helps when troubleshooting persistent access issues.

  • Windows Security for day-to-day firewall management.
  • Local Group Policy Editor for advanced local policy control on supported editions.
  • Services such as the Windows Defender Firewall service and network location awareness.
  • Bitdefender, Norton, McAfee, or other third-party security suites that may add their own filtering layers.

If a third-party suite is still installed, check whether it is controlling network filtering independently.

In that case, restoring Windows defaults may not fully change behavior until the external product is configured or removed.

Quick reference: fastest ways to reset the firewall

If you need the shortest path, use the method that matches your access level and comfort with Windows tools.

  • Windows Security: Firewall & network protection > Restore firewalls to default.
  • Control Panel: System and Security > Windows Defender Firewall > Restore defaults.
  • Command line: netsh advfirewall reset.

Each method restores the standard Windows firewall baseline.

Choose the one that best fits your troubleshooting workflow, then verify connectivity and reapply only the rules that are truly necessary.