Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
Hi,
It is stated in the netsh help that you can dump the firewall settings in
order to load
them via the script command.
However, when i try to dump the netsh firewall config it does not produce
anything.
Does one know which command does work ?
I tried
netsh firewall dump > c:\mydump.txt but without success.
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
Bruno wrote:
> Hi,
> It is stated in the netsh help that you can dump the firewall settings in
> order to load
> them via the script command.
> However, when i try to dump the netsh firewall config it does not produce
> anything.
> Does one know which command does work ?
> I tried
> netsh firewall dump > c:\mydump.txt but without success.
Hi
You can display the settings like this (in a command prompt):
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
Thanks, but if i make a netsh.exe firewall show config > c:\myconfig.txt
will this be in the right format to import it via the netsh exec
c:\config.txt command ?
Brgds
bruno
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:%23xcBoNPGFHA.3648@TK2MSFTNGP10.phx.gbl...
> Bruno wrote:
>
>> Hi,
>> It is stated in the netsh help that you can dump the firewall settings in
>> order to load
>> them via the script command.
>> However, when i try to dump the netsh firewall config it does not produce
>> anything.
>> Does one know which command does work ?
>> I tried
>> netsh firewall dump > c:\mydump.txt but without success.
> Hi
>
> You can display the settings like this (in a command prompt):
>
> netsh.exe firewall show config
>
> For a more detailed listing:
>
> netsh.exe firewall show config verbose = ENABLE
>
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/s [...] fault.mspx
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
The dump command isn't supported by the firewall context. Unfortunately the
netsh engine always lists dump as an option even when its not.
Windows Firewall encourages the use of application exceptions over port
exceptions. Such exceptions are stored using the full path to the
application. As such the excepted applications must be in the exact same
path for a dump to be easy to migrate. There were some other complications
which prevented us from supporting this option.
--
David
Microsoft Windows Networking
This posting is provided "AS IS" with no warranties, and confers no rights.
"Bruno" <Bruno@discussions.microsoft.com> wrote in message
news:121A5859-80EB-4C2F-8930-8B0F2B1388D3@microsoft.com...
> Hi,
> It is stated in the netsh help that you can dump the firewall settings in
> order to load
> them via the script command.
> However, when i try to dump the netsh firewall config it does not produce
> anything.
> Does one know which command does work ?
> I tried
> netsh firewall dump > c:\mydump.txt but without success.
>
> Any help appreciated
>
> Brgds
>
> bruno
Archived from groups: microsoft.public.windowsxp.security_admin (More info?)
Thanks,
now what is the alternative that i could use to export / import all the
settings from one pc to another ?
would the use of sysocmgr allow the import with the netfw.inf file ?
Is there another way to do so easily (i know you can script the whole thing,
but is there a command line ?)
Brgds
bruno
"David Beder [MSFT]" <dbeder@online.microsoft.com> wrote in message
news:%23mfrvGYGFHA.1836@tk2msftngp13.phx.gbl...
> The dump command isn't supported by the firewall context. Unfortunately
> the netsh engine always lists dump as an option even when its not.
>
> Windows Firewall encourages the use of application exceptions over port
> exceptions. Such exceptions are stored using the full path to the
> application. As such the excepted applications must be in the exact same
> path for a dump to be easy to migrate. There were some other complications
> which prevented us from supporting this option.
>
> --
> David
> Microsoft Windows Networking
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> "Bruno" <Bruno@discussions.microsoft.com> wrote in message
> news:121A5859-80EB-4C2F-8930-8B0F2B1388D3@microsoft.com...
>> Hi,
>> It is stated in the netsh help that you can dump the firewall settings in
>> order to load
>> them via the script command.
>> However, when i try to dump the netsh firewall config it does not produce
>> anything.
>> Does one know which command does work ?
>> I tried
>> netsh firewall dump > c:\mydump.txt but without success.
>>
>> Any help appreciated
>>
>> Brgds
>>
>> bruno
>
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.