How to Import and Export Windows Firewall Settings in Windows Server 2016?

If you are in the process of migrating from one Windows server to another and wanted same firewall setting, you need to add all the rules manually or you can import/export the rule on windows server 2016 using the below steps.

Step 1 : Export Firewall Rules

  1. Go to Start >> Administrative Tools >> Windows Firewall and Advanced Security.





  2. Right, Click on Windows Firewall and Advanced Security and select Export Policy.



  3. Save the Exported policy rule file on your server.



  4. Once you save the rule file, it will generate a pop-up saying Policy successfully exported.

Step 2 : Import Firewall Rules 

  1. First of all, you will need to share the firewall rule file to the Destination server where you are looking to export your firewall rules.

  2. Go to Windows Firewall and Advanced Security of your Destination server.

  3. Right, Click on Windows Firewall and Advanced Security and select Import.



  4. Once you import the policy, it will ask that you overwrite all the current rules. Please be sure that you wish to overwrite the current rule. Select the yes button to proceed with the import.



  5. Select the file which we have imported from the source server.



  6. It will give the below pop-up once the file is imported.

          This is it. We are done with firewall import/export.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Fix :: Error 126 while starting remote desktop service, the specified module could not be found

Problem Statement Could not connect to Windows VPS Error Message Remote Desktop can't connect...

How to enable MS SQL server access in php?

The Microsoft Drivers for PHP are the PHP extensions that allows for reading and writing of SQL...

How to Setup Remote Desktop Service License in Windows Server in 2012 and 2016 OS?

You can connect the Windows server using RDP with 2 users at the same time. We required Remote...

How to Setup Web Deploy in Windows Server?

To deploy your ASP.NET and PHP applications to an IIS web server, web deploy is the best tool...

How To Synchronize Windows VPS Clock With Internet Time Server?

Sometimes your Windows VPS may get drift away from the correct time by as many as a few seconds...