3

I setup a couple of Outbound Rules in Windows 10 Defender Firewall on one PC. I like to copy these rules to another PC. The rules block a couple of programs from accessing the internet. These programs are installed in the same directories on both PCs and it should be a 1:1 copy.

How can I copy or export/import those firewall rules?

What I tried already:

There is a function "Export List" which exports the rules to a text file. But I did not see any corresponding Import list function.

There are also functions on the root level in the menu Action to export and import policies. But it seems that exports and imports everything and this is not what I want.

Edgar
  • 421

1 Answers1

2

Based on the comment from @Moab and this answer to another question

Import Export specific Windows Firewall Rule

I exported the following registry keys on the source PC.

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules

This exported all rules. Then I edited that file in notepad to keep only the entries which I wanted to transfer. And then I added them to the registry of the destination PC.

All done, it works.

Edgar
  • 421