Method 1: Reset Firewall Settings Using Windows Security
Windows Security is the built-in antivirus program protecting your system from malware, viruses, and threats. You can use it to reset the firewall settings on Windows 11.
Step 1: Press the Windows key, search Windows Security, and click to open it.
Step 2: Select Firewall & network protection from the left sidebar and click on Restore firewalls to default.
Step 3: Approve the UAC prompt > click Restore defaults > select Yes when prompted to reset it.
Method 2: Use the Control Panel to Reset Firewall Settings
If you can’t open Windows Security, use the Control Panel app to reset the firewall settings on Windows 11.
Step 1: Press the Windows + R shortcut to open the Run dialog, type control, and press Enter.
Step 2: Switch View by to Large icons and select Windows Defender Firewall.
Step 3: Click Restore defaults from the left sidebar and approve the UAC prompt.
Step 4: Select Restore defaults and click on Yes when prompted to reset the firewall settings.
Method 3: Configure Advanced Security to Reset Windows Firewall
Besides the Control Panel, you can use the Windows Defender Firewall with Advanced Security utility app to set up inbound/outbound security rules or reset the firewall on Windows 11.
Step 1: Open the Run dialog (press the Windows + R shortcut), type wf.msc, and press Enter.
Step 2: Right-click Windows Defender Firewall with Advanced Security on Local Computer from the left sidebar and select Restore Default Policy.
Step 3: Click Yes when prompted to reset all firewall settings.
Method 4: Reset Windows 11 Firewall Settings With Command Prompt
Command Prompt is another nifty alternative to quickly reset the Windows 11 firewall settings by executing a single command.
Step 1: Press the Windows key > search Command Prompt > click on Run as administrator.
Step 2: Approve the UAC prompt, copy-paste the below command, and press Enter to reset the firewall settings.
netsh advfirewall reset
Method 5: Use Windows PowerShell to Reset Firewall Settings
If you prefer using Windows PowerShell instead of Command Prompt, follow these easy steps to reset the firewall settings on your Windows 11 PC.
Step 1: Press the Windows key > search Windows PowerShell > select Run as administrator.
Step 2: Approve the UAC prompt > copy-paste the below command > press Enter to reset all firewall settings.
(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()
Was this helpful?
Last updated on 11 July, 2024
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.