📎 AI Summary:
The user is seeking assistance with importing Windows Firewall settings from a .wfw file. They have successfully imported the settings manually via gpedit.msc but face issues when attempting to do so through a batch script using the `netsh advfirewall import` command, which reports success but doesn't apply the settings. The user is asking for a command-line solution or registry hack to automate the import process, as manual importing works but scripted methods do not.

thermaltake

New Member
Member details
Joined
Jul 12, 2013
Messages
4
Thread Author #1
Windows Firewall settings were exported to a .wfw file.

The settings take effect if I manually import them through gpedit.msc and click to import the file.

What I really want to have happen is a batch file executes the following: netsh advfirewall import c:\firewall.wfw
For some reason using this command says it executes correctly with an OK... but the settings fail to take effect... this computer is not on a domain... it's odd that manually clicking through allows the file to make the settings take effect... but running the command does not...

Can anyone assist? Is there a registry hack for this?
 

thermaltake

New Member
Member details
Joined
Jul 12, 2013
Messages
4
Thread Author #2
I need to import the wfw file into the gpedit.msc program so it works.... I need a command prompt command that allows me to do that... I can only seem to add them manually with clicking... need a command to do that please