Page 1 of 2 12 LastLast
    Restore Default Windows Defender Firewall Settings in Windows 10

    Restore Default Windows Defender Firewall Settings in Windows 10

    How to Restore Default Windows Defender Firewall Settings in Windows 10
    Published by Category: Security System
    26 Sep 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 25,194

    Show Printable Version 


    How to Restore Default Windows Defender Firewall Settings in Windows 10

    information   Information
    Starting with Windows 10 build 16193, Windows Firewall has been renamed to Windows Defender Firewall.

    Windows Firewall can help prevent hackers or malicious software from gaining access to your PC through the Internet or a network.

    Over time of allowing apps through the firewall and setting rules, you may need or want to completely reset Windows Firewall to default. Restore defaults would include turning on Windows Firewall for all network profiles, reset notification settings to default, remove all added apps and features that you allowed and denied, and reset Windows Firewall with Advanced Security settings to default.

    This tutorial will show you how to completely reset and restore Windows Firewall settings to default in Windows 10.

    You must be signed in as an administrator to restore default Windows Firewall settings.

    warning   Warning
    Restoring default settings will remove all Windows Firewall settings that you have configured for all network locations since Windows was installed. This might cause some apps to stop working until allowed through the firewall again.


    CONTENTS:
    • Option One: To Restore Default Windows Defender Firewall Settings in Control Panel
    • Option Two: To Restore Default Windows Defender Firewall Settings in Command Prompt
    • Option Three: To Restore Default Windows Defender Firewall Settings in Windows Defender Security Center
    • Option Four: To Restore Default Windows Defender Firewall Settings in PowerShell


    EXAMPLE: Windows Defender Firewall settings
    Click image for larger version. 

Name:	Windows_Firewall_Customize_Settings.jpg 
Views:	159 
Size:	92.0 KB 
ID:	111369
    Click image for larger version. 

Name:	Windows_Firewall_Alllowed_Apps.jpg 
Views:	200 
Size:	112.1 KB 
ID:	111370
    Click image for larger version. 

Name:	Windows_Firewall_with_Advanced_Security.jpg 
Views:	407 
Size:	216.0 KB 
ID:	111371





    Restore Default Windows Defender Firewall Settings in Windows 10 OPTION ONE Restore Default Windows Defender Firewall Settings in Windows 10
    To Restore Default Windows Defender Firewall Settings in Control Panel

    1. Open the Control Panel (icons view), and click/tap on the Windows Firewall icon.

    2. Click/tap on the Restore defaults link on the left side. (see screenshot below)

    Click image for larger version. 

Name:	Windows_Firewall_Restore_defaults-1.jpg 
Views:	155 
Size:	117.6 KB 
ID:	111372

    3. Click/tap on the Restore defaults button. (see screenshot below)

    Click image for larger version. 

Name:	Windows_Firewall_Restore_defaults-2.png 
Views:	151 
Size:	70.0 KB 
ID:	111373

    4. Click/tap on the Yes to confirm. (see screenshot below)

    Name:  Windows_Firewall_Restore_defaults-3.jpg
Views: 1364
Size:  51.9 KB

    5. When finished, you can close the Windows Firewall control panel window if you like.





    Restore Default Windows Defender Firewall Settings in Windows 10 OPTION TWO Restore Default Windows Defender Firewall Settings in Windows 10
    To Restore Default Windows Defender Firewall Settings in Command Prompt

    Note   Note
    To see more usage options for the Netsh AdvFirewall Firewall command, see: Netsh AdvFirewall Firewall Commands - TechNet


    1. Open an elevated command prompt.

    2. Enter the command below into the elevated command prompt, and press Enter. (see screenshots below)

    netsh advfirewall reset

    Click image for larger version. 

Name:	netsh_advfirewall_reset_command.png 
Views:	127 
Size:	39.4 KB 
ID:	111375

    3. When finished, you can close the elevated command prompt if you like.





    Restore Default Windows Defender Firewall Settings in Windows 10 OPTION THREE Restore Default Windows Defender Firewall Settings in Windows 10
    To Restore Default Windows Defender Firewall Settings in Windows Defender Security Center

    Note   Note
    This option is only available starting with Windows 10 build 15007.


    1. Open the Windows Defender Security Center, and click/tap on the Firewall & network protection icon

    2. Click/tap on the Restore firewalls to default link. (see screenshot below)

    Name:  Windows_Defender_Security_Center.jpg
Views: 1386
Size:  63.4 KB

    3. Click/tap on the Restore defaults button. (see screenshot below)

    Click image for larger version. 

Name:	Windows_Firewall_Restore_defaults-2.png 
Views:	151 
Size:	70.0 KB 
ID:	111373

    4. Click/tap on the Yes to confirm. (see screenshot below)

    Name:  Windows_Firewall_Restore_defaults-3.jpg
Views: 1364
Size:  51.9 KB

    5. When finished, you can close the Windows Defender Security Center and Windows Firewall control panel window if you like.





    Restore Default Windows Defender Firewall Settings in Windows 10 OPTION FOUR Restore Default Windows Defender Firewall Settings in Windows 10
    To Restore Default Windows Defender Firewall Settings in PowerShell

    1. Open an elevated PowerShell.

    2. Enter the command below into the elevated PowerShell, and press Enter. (see screenshots below)

    (New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults()

    Click image for larger version. 

Name:	Windows_Firewall_Restore_defaults-PowerShell.png 
Views:	91 
Size:	47.7 KB 
ID:	111376

    3. When finished, you can close the elevated PowerShell if you like.


    That's it,
    Shawn


  1.    23 Jan 2017 #1
    Join Date : May 2015
    Posts : 27
    windows 8.1

    Tried all three restore options. (New-Object -ComObject HNetCfg.FwPolicy2).RestoreLocalFirewallDefaults() did not work in elevated PowerShell.

    I've set all Group Policies to not-configured. After rebooting I still get message that Group Policy is preventing restoration:

    Name:  FWerror.PNG
Views: 1511
Size:  5.7 KB

    I'd greatly appreciate any help on this, or on how to remove firewall altogether.

    Steve
      My ComputerSystem Spec
  2.    23 Jan 2017 #2
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    Hello Steve,

    Double check to see if you may have any group policies enabled that could be preventing your from resetting Windows Firewall.

    Group Policy Editor - Quickly View Enabled Policies in Windows - Windows 7 Help Forums
      My ComputersSystem Spec
  3.    23 Jan 2017 #3
    Join Date : May 2015
    Posts : 27
    windows 8.1

    Thanks, Brink, but I've already twice set all policies to not-configured and rebooted.
      My ComputerSystem Spec
  4.    23 Jan 2017 #4
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    Do you have any 3rd party Firewall or AV software installed that could have disabled Windows Firewall?
      My ComputersSystem Spec
  5.    24 Jan 2017 #5
    Join Date : May 2015
    Posts : 27
    windows 8.1

    I'd disabled AV. No other firewall. Cannot disable Windows firewall.
      My ComputerSystem Spec
  6.    24 Jan 2017 #6
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    Stopping and disabling the Windows Firewall service would be another effective way to disable it.

    Services - Start, Stop, and Disable in Windows 10
      My ComputersSystem Spec
  7.    24 Jan 2017 #7
    Join Date : May 2015
    Posts : 27
    windows 8.1

    Stopped firewall service, restarted, and firewall returned unchanged.
      My ComputerSystem Spec
  8.    24 Jan 2017 #8
    Join Date : Oct 2013
    Posts : 25,194
    64-bit Windows 10 Pro build 17040
    Thread Starter

    You'll also need to disable it after stopping it.
      My ComputersSystem Spec
  9.    24 Jan 2017 #9
    Join Date : May 2015
    Posts : 27
    windows 8.1

    Thanks, Brink. Firewall's disabled. I get this, but none of the links work:

    Name:  FW.PNG
Views: 1503
Size:  10.3 KB
      My ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Tutorial Category
Customization Restore Default File Type Associations in Windows 10
How to Restore Default Apps for File Extension Type Associations in Windows 10 A default app is the program that Windows uses automatically when you open a particular file type or protocol. This tutorial will show you how to restore the...
Tutorials
Customization New Context Menu - Restore Default Items in Windows 10
How to Restore Default New Context Menu Items in Windows 10 The New context menu allows users to quickly create a new item in the current location. The default New context menu items include to create a new Library, Folder, Shortcut, Bitmap...
Tutorials
Solved How to change Windows 10 default to not turn off System Restore
Does anyone have a solution to change the Win 10 default from turning off System Restore. This action gives me a problem when backing up an image. My restore points are gone when I recover the image due to being turned off. Any and all...
Backup and Restore
Update from Windows 7 changes Firewall Settings?
I've been finding computers on our network that have password protected sharing turned on suddenly. One of them just upgraded (automagically) to Windows 10. If that's going to happen, what are the "rules"? Another example, cross subnet File...
Network and Sharing
Anyone know how to Restore the Default Windows 10 Start Menu?
I have decided to go default with some of my Windows 10 settings. So does anyone know how to Restore the Default Windows 10 Start Menu?
Backup and Restore
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:19.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums