How to migrate WIndows Server 2008 firewall exceptions to a new environment?

6,027

Solution 1

wf.msc allows remote management of Windows Firewall running on other computers. You could connect and then use copy/paste to paste rules to the remote machine.

The easier alternative though is to use Windows Firewall's import/export feature (either via wf.msc or through netsh: "netsh advfirewall export c:\somedir\rules.wfw").

Solution 2

I did an export and import by selecting the rule and clicking copy. I then RDP'd into the other servers, opened Firewall rules and clicked paste. It copied the rule. I also did this with four other servers.

Share:
6,027

Related videos on Youtube

Oscar Cabrero
Author by

Oscar Cabrero

Updated on September 17, 2022

Comments

  • Oscar Cabrero
    Oscar Cabrero over 1 year

    How to migrate Windows Server 2008 (and Windows 7) firewall exceptions to a new environment?

    Specifically:

    • SQL Server
    • Subversion
    • remote access?

    Is if possible to use scripts like powershell?

    Thanks!

  • tobefound
    tobefound about 13 years
    Which of the alternatives did the trick? Didn't understand how to connect remotely using wf.msc...?
  • Mark
    Mark about 9 years
    This is, at most, a partial answer to the question. The question is how to migrate the entire exception set or chunks of it relating to a piece of software.
  • NightOwl888
    NightOwl888 over 8 years
    +1 - This was all I needed.