Restore Default Windows Defender Firewall Settings in Windows 10  

Page 1 of 3 123 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
    15 Jan 2018
    Designer Media Ltd


    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.

    This will not affect any configured group policies for Windows Firewall.

    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:	831 
Size:	92.0 KB 
ID:	111369
    Click image for larger version. 

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

Name:	Windows_Firewall_with_Advanced_Security.jpg 
Views:	2096 
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:	599 
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:	588 
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: 10238
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:	499 
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: 10427
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:	588 
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: 10238
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:	397 
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

    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: 10328
Size:  5.7 KB

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

    Steve
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 34,461
    64-bit Windows 10 Pro build 18290
    Thread Starter
       23 Jan 2017 #2

    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

    Thanks, Brink, but I've already twice set all policies to not-configured and rebooted.
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 34,461
    64-bit Windows 10 Pro build 18290
    Thread Starter
       23 Jan 2017 #4

    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

    I'd disabled AV. No other firewall. Cannot disable Windows firewall.
      My ComputerSystem Spec

  6. Brink's Avatar
    Posts : 34,461
    64-bit Windows 10 Pro build 18290
    Thread Starter
       24 Jan 2017 #6

    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

    Stopped firewall service, restarted, and firewall returned unchanged.
      My ComputerSystem Spec

  8. Brink's Avatar
    Posts : 34,461
    64-bit Windows 10 Pro build 18290
    Thread Starter
       24 Jan 2017 #8

    You'll also need to disable it after stopping it.
      My ComputersSystem Spec

  9.    24 Jan 2017 #9

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

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


 
Page 1 of 3 123 LastLast

Tutorial Categories

Restore Default Windows Defender Firewall Settings in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
How to Restore Default Apps for File Type Associations in Windows 10 A default app is the program that Windows uses automatically when you open a particular file type or protocol. Default app associations for file extensions are a per user...
How to Add or Remove 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,...
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...
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...
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?
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:17.
Find Us