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
Alejandro85

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
Tookeri

Windows 7 Pro 32
 
 

My System SpecsSystem Spec
13 Sep 2014   #3
Alejandro85

Windows 7 Ultimate x64
 
 

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

Code:
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
andrew129260

Windows 10 Pro
 
 

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

 Automatically backup Windows firewall rules




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
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
Any way to re-load original, default Windows 7 Firewall Rules...?
Hi guys, I'm in a bit of a pickle. My brother, being the brilliant *cough* sarcasm *cough* chap he is, never does any software maintenance on his computer, isn't very careful about what he downloads, and never tells me about anything odd. He simply ignores it all and assumes all will be fine,...
Network & Sharing
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
Backup Windows Live Mail Message Rules
How do you do this? I can backup accounts, messages and contacts, but nowhere do I see how to backup message rules. On another note, is there a quick, free tool for backing up everything in Windows Live Mail? Thanks.
Backup and Restore


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 05:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App