How To Reset Windows Security Or Windows Defender Firewall Settings

If the windows security app or windows defender firewall is not working as expected on your computer, if it is crashing when you try to open it, then you can try resetting it to the default state. By doing so the details regarding the app will be erased and it will be in a clean state. By doing so, you can get rid of the problem. The repair or reset can be done in various ways. Below are a few methods mentioned in detail to perform a windows defender firewall reset.

Method 1: Reset the Windows Security App Through The Taskbar


Step 1: In the windows search bar, type windows security

Step 2: Right-click on Windows security and click on app settings


App Settings


Step 3: Scroll down and click on the reset button




Step 4: In the confirmation pop up click on reset again

Step 5: Else if you want to stop the app and its process immediately then click on the terminate button




Step 6: Once the reset is done all its related details will be erased. Now check if it is working fine.


Method 2: Restore All Settings Within The Windows Defender Firewall Using Control Panel


Step 1: Open the run prompt using Windows + R keys together

Step 2: Type control in the run prompt and hit enter. This will open the control panel




Step 3: In the view by drop down select category




Step 4: Click on system and security




Step 5: Select windows defender firewall option




Step 6: On the left side, click on restore defaults


Restore Default


Step 7: Then click on restore defaults button


Restore Defaults


Step 8: In the confirmation page click on yes. This will remove all windows defender firewall settings that you have configured for all network locations.


Method 3: Reset The Windows Security Using Windows PowerShell


Step 1: Press the Windows + X keys together. From the appeared list click on Windows PowerShell (Admin)




Step 2: A user account control window will open, click on yes.

Step 3: In the PowerShell window copy and paste the below code and then hit enter

Get-AppxPackage Microsoft.Windows.SecHealthUI | Reset-AppxPackage


Powershell Command


Step 4: Reset-AppxPackage will reset the app to its original settings. Wait for the execution to complete and it will reset the Windows security app

Step 5: Restart the computer and then check for the changes.


Method 4: Reset The Windows Defender Firewall Using Command Prompt


Step 1: Open the command prompt as an administrator. To do that, type cmd in the windows search bar then hold Ctrl + Shift keys together and hit enter

Step 2: A user account control window will appear, click on yes

Step 3: Copy the below command and paste it in the command prompt then hit enter

netsh advfirewall reset

Reset Firewal


Step 4: This will reset the firewall settings to its default state

Step 5: Restart the computer and see for the changes.

That’s it! I hope the above information is helpful. Let us know which of the above method worked for you. Thank you!!