Miscellaneous Question

How to push / Import the Firewall settings (ExportedFile.wfw) through msi in Windows 10?

11/03/2016 1114 views
Hi All
Can any one tell me "how to push the Firewall settings (ExportedFile.wfw) through msi"?... We have Windows 10 and I have a task to create an msi which can push / Import all the firewall settings which is already been exported in a .wfw file .... Can anyone Please help me on this Issue?

Thank you in advance ...

0 Comments   [ + ] Show comments


Community Chosen Answer


you can either use the command line or powershell...

here is a link for the powershell option,
the command line netsh advfirewall import ...

Please make sure you read the documentation for the above command.

Answered 11/04/2016 by: Pressanykey
Red Belt

All Answers

I must ask... why? Surely using a GPO is the best way to go...

Answered 11/03/2016 by: Pressanykey
Red Belt

  • hi Phil !!!
    you are right but exported wfw file from a reference system and import it to 15 different images of windows 10 is much more easier in the firewall settings through MSI ... one MSI run and everything done. we need to put about 110 IP address in the scope in GPO plus other ports and programs is much of a hassle every time we built a new image of windows 10 .... thats why we decided to import firewall settings through msi ... is there any way we can do that?
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ