You can manually check the Firewall settings and block/allow connections, but if everything is messed up, you might like to reset the Windows Firewall to its default setting. Here’s how to do it.

1. Reset Windows Firewall Settings to Default

We will use the Windows Firewall’s settings page to reset the Firewall rules.

1. Open Control Panel from the Windows Search.

Control Panel

2. Click System and Security.

System and Security

3. Click on the Windows Defender Firewall.

Windows Defender Firewall

4. Click on the Restore defaults link as shown below.

Restore defaults

5. Click on the Restore Defaults.

Restore Defaults

This will restore the default settings for Windows 11 Firewall and remove all the settings you have configured.

2. Reset Firewall Settings from the Command Prompt

We will use Windows 11’s Command Prompt utility to reset the firewall rules.

1. Open the Windows 11 search and type in Control Panel. Right-click on the Control Panel and select Run as Administrator.

Run as Administrator

2. On the Command Prompt window, type in the command:

netsh advfirewall reset

netsh advfirewall reset

3. After executing the command, you will see an Ok message. This is the success message.

success message

3. Reset Windows Firewall Settings using PowerShell

If the command prompt method fails, you can try PowerShell. Here’s how you can reset the firewall settings from PowerShell.

Reset Windows Firewall Settings using PowerShell

  • Click on Windows search and type PowerShell.
  • Right-click on PowerShell and select Run as administrator.
  • Copy & paste the command into PowerShell and press Enter.
(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()

4. Restore Windows Firewall to Default via Windows Security

You can even rely on the Windows Security app to restore the Windows Firewall settings.

1. Open Windows Security from the Windows Search.

Windows Security

2. Click on the Firewall & network protection.

Firewall & network protection

3. Click the Restore firewalls to default link.

Restore firewalls to default

4. Click on the Restore Defaults option.

Restore Defaults

5. Reset Firewall Settings in Windows 11 Using the Advanced Security Tool

There’s another way to reset firewall settings in Windows 11 computers. You can use the Firewall with advanced security tools to reset all your Firewall settings to their default values.

1. Press the Windows Key + R button. On the RUN dialog box, type wf.msc and press Enter.

wf.msc

2. The RUN command will open Windows Defender Firewall with the Advanced Security tool.

3. Right-click on the Windows Defender Firewall with Advanced Security on the Local computer and select Restore Default Policy.

Restore Default Policy

Restoring the default settings of Windows Firewall is easy, but it will remove all Windows Defender firewall settings you have configured. If you have any doubts, let us know in the comment box below.

LEAVE A REPLY

Please enter your comment!
Please enter your name here