Windows Defender Firewall not remembering allowed apps or not allowing to delete uninstalled apps
Why won't these apps stick in the allowed apps, and how do I fix it?
Simply Press win + x keys select Powershell (admin) from the options , copy the below cmd and right click anywhere in the PS window the cmd will append to the prompt , press enter.
(New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()
Here are also four different methods to make this reset:
1. How to reset Windows Firewall to its default settings (all Windows versions)
First, you need to open the Windows Firewall. One way to do that is to open the Control Panel, go to System and Security, and click or tap Windows Defender Firewall.
In the Windows Defender Firewall window, click or tap the Restore Defaults link, on the left side of the window.
You are informed about what it means to restore the default settings for the Windows Firewall. To go ahead, click or tap Restore Defaults.
Windows tells you that it is going to delete all settings of Windows Defender Firewall that you have made since Windows was installed. Click or tap Yes to proceed.
You are returned to the Windows Defender Firewall window, and all the firewall rules are now reset to their initial values, as they were when you first installed Windows.
2. How to reset the Windows Defender Firewall to its default settings, with Windows Security (Windows 10 only)
In Windows 10, you can restore the Windows Defender Firewall to its default settings, from the Windows Security app. In the search box on the taskbar, enter the "firewall & network protection" and click or tap the search result with the same name.
This opens the Windows Security app, at its "Firewall & network protection" section with settings. On the bottom, you find the link for "Restore firewalls to default." Click or tap on it.
A new window is opened with an explanation of what this does, and how it is going to remove all Windows Firewall settings. Click or tap the Restore defaults button.
Windows 10 asks for your confirmation as the action cannot be reversed. Press Yes to complete the reset.
You are returned to the Windows Security app, and all the firewall rules are now reset to their initial values.
3. How to reset the Windows Firewall to its default settings from the Command Prompt (all Windows versions)
You can reset the Windows Defender Firewall to its default settings using the Command Prompt, also known as CMD. Open the Command Prompt as administrator, and run the following command: netsh advfirewall reset
Press Enter on your keyboard, and the Windows Firewall is reset immediately. You only receive a text message saying OK. :) The same command can be run in PowerShell too.
4. How to reset the Windows Firewall to its defaults, using PowerShell (all Windows versions)
Open PowerShell as administrator, and run the following command: (New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()
Press Enter on your keyboard, and the Windows Defender Firewall is reset immediately, without any additional confirmation.
No comments:
Post a Comment