Re: windows firewall config settings exportable?
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 10/13/04
- Next message: jim: "RE: many problems"
- Previous message: BRIAN: "STALLED UPDATE W/ WINDOWS 98, PLEASE HELP"
- In reply to: elmurado: "Re: windows firewall config settings exportable?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 02:16:50 +0200
elmurado wrote:
> Thanks Torgeir. Is there any way of 'grabbing' those settings?
> ie do they exist somewhere in a form which can be captured.
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
To a file:
netsh.exe firewall show config verbose = ENABLE >fw_cfg.txt
> Another question, is there a way of using runas on the firewall
> or is it impossible because it is a service?
It might work to run netsh.exe with runas.
For the GUI configuration, this might work with runas:
control.exe firewall.cpl
-- 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/scriptcenter/default.mspx
- Next message: jim: "RE: many problems"
- Previous message: BRIAN: "STALLED UPDATE W/ WINDOWS 98, PLEASE HELP"
- In reply to: elmurado: "Re: windows firewall config settings exportable?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|