Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Automatically backup Windows firewall rules

07 Sep 2014   #1

Windows 7 Ultimate x64
Automatically backup Windows firewall rules

I'm setting up my computer so that it back up automatically. For most files I have no problem, but now I want to include my entire firewall configuration in it.

Manually, I can just open the firewall advanced configuration and click the link to export the config, which works greatly, but now, how to do so automatically?

My System SpecsSystem Spec
07 Sep 2014   #2

Windows 7 Pro 32

My System SpecsSystem Spec
13 Sep 2014   #3

Windows 7 Ultimate x64

Thanks, handy link. In the end I used the following command:

netsh advfirewall export c:\temp\test.wfw
In the backup pre-events, then backup the resulting file, and deleted in a post-backup event. The bad part is that the task needs to be run under an administrator user as netsh requires elevation, but not so problem anyway.
My System SpecsSystem Spec

15 Sep 2014   #4

Windows 10 Pro

Thanks for posting the solution for you in the thread itself :)
My System SpecsSystem Spec

 Automatically backup Windows firewall rules

Thread Tools

Similar help and support threads
Thread Forum
Windows7 Pro Firewall automatically DELETE's new Rules after reboot?
Not quite sure but... I am creating new Inbound and Outbound rules in windows firewall and when I turn off the computer and start it up again the next day the newly created rules are automatically deleted? I tried google searches and youtube but there seems to be NOTHING around that can offer...
System Security
Windows 7 Firewall rules not working anymore
The firewall's advanced rules all of a sudden don't work anymore. If I tell the firewall to block all incoming connections it does, and Windows says the firewall is working. But all rules, old and new, regarding a particular application, don't work anymore. If I tell the firewall to ...
System Security
windows firewall rules
Hello. Im attending college and all students have admin rights on windows 7 pc's. Some people are abusing this by accessing others machines and wreaking havoc:mad:. It started out as a bit of fun but the joke is getting old. What rules in Windows firewall can be used to block unwanted access given...
System Security
How to write a new rules in windows firewall
can any one tell me how to write a new rules in windows firewalls ... and how do i change my port no 80 to some other no ?? thanks in advance friends
System Security
Windows 7 default firewall rules
So my problem is that I deleted several entries in the windows firewall. Now when I open the 'Services' applet, nothing shows and I get the following error message: One or More ActiveX controls could not be displayed because either: 1. Your current security settings prohibit running ActiveX...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:27.
Twitter Facebook Google+