• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Windows Firewall Settings - Backup and Restore


Brink

Administrator
Administrator
mvp
Posts
23,100
Windows Firewall Settings - Backup and Restore
This tutorial will show you how to backup and restore all the Advanced settings, Allowed apps, notification settings, and on/off setting for Windows Firewall in Vista, Windows 7, and Windows 8.
Published by Brink
#1
ByLine
How to Backup and Restore All Windows Firewall Settings
Synopsis
This tutorial will show you how to backup and restore all the Advanced settings, Allowed apps, notification settings, and on/off setting for Windows Firewall in Vista, Windows 7, and Windows 8.
How to Backup and Restore All Windows Firewall Settings


information   Information
Windows Firewall is software that checks information coming from the Internet or a network, and then either blocks it or allows it to pass through to your computer, depending on your firewall settings.

This tutorial will show you how to backup and restore all the Advanced settings, Allowed apps, notification settings, and on/off setting for Windows Firewall in Vista, Windows 7, and Windows 8.

You must be signed in as an administrator to be able to do the steps in this tutorial.


EXAMPLE: All Windows Firewall settings

Windows_Firewall_Notification_Settings.png

Windows_Firewall_Allowed_Apps.png

Windows_Firewall_Advanced_Settings.png






OPTION ONE
Backup and Restore Windows Firewall Settings in Advanced Settings


1. Open the Control Panel (Icons View) in Vista/Windows 7 and Windows 8/8.1, and click/tap on the Windows Firewall icon.

2. In the left pane, click/tap on Advanced settings. (see screenshot below)
Windows_Firewall.png

3. If prompted by UAC, then click/tap on Yes (Windows 7/8) or Continue (Vista).

4. Do step 5 or step 6 below for what you would like to do.


5. To Export (backup) All Windows Firewall Settings
A) Either click/tap on Action (menu bar) and Export Policy, or click/tap on Export Policy in the right Actions pane. (see screenshot below step 7)​
B) Navigate to where you want to export and save the .wfw file to, type in a name (ex: WindowsFirewallSettingsBackup), and click/tap on Save. (see screenshot below)​
Export_Windows_Firewall_with_Advanced_Security-1.png

C) Click/tap on OK, and go to step step 7 below. (see screenshot below)​
Export_Windows_Firewall_with_Advanced_Security-2.png


6. To Import (restore) All Windows Firewall Settings
A) Either click/tap on Action (menu bar) and Import Policy, or click/tap on Import Policy in the right Actions pane. (see screenshot below step 7)​
B) Click/tap on Yes to confirm. (see screenshot below)​
Import_Windows_Firewall_with_Advanced_Security-1.png

C) Navigate to where you saved the .wfw file at from step 5, select the .wfw file (ex: WindowsFirewallSettingsBackup.wfw), and click/tap on Open. (see screenshot below)​
Import_Windows_Firewall_with_Advanced_Security-2.png

D) Click/tap on OK, and go to step step 7 below. (see screenshot below)​
Import_Windows_Firewall_with_Advanced_Security-3.png


7. When finished, you can close Window Firewall with Advanced Security if you like.


Windows_Firewall_with_Advanced_Security.png






OPTION TWO
Backup and Restore Windows Firewall Settings in Command Prompt


1. Open an elevated command prompt.

2. Do step 3 or step 4 below for what you would like to do.


3. To Export (backup) All Windows Firewall Settings
A) In the elevated command prompt, copy and paste the command below, and press Enter. (see screenshot below)​

Code:
netsh advfirewall export "%userprofile%\Desktop\WindowsFirewallSettingsBackup.wfw"
Export_Windows_Firewall_Settings.png
B) You can now move the WindowsFirewallSettingsBackup.wfw file on your desktop to where you would like to keep it saved at. Go to step 5 below.​

4. To Import (restore) All Windows Firewall Settings
A) In the elevated command prompt, type the command below, press Enter, and go to step 5 below. (see screenshot below)​
netsh advfirewall import "Full path of .wfw file"
Note   Note
Substitute Full path of .wfw file in the command above with the actual full path of where you saved the .wfw file to in step 3 above.
Note   Note

For example:​
netsh advfirewall import "%userprofile%\Desktop\WindowsFirewallSettingsBackup.wfw"
Import_Windows_Firewall_Settings.png

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




That's it,
Shawn


 
Last edited by a moderator:

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone