如何配置XP_SP2无人参与安装 Windows 防火墙?
不知下面的内容与你说的是不是有关呢?
使用 Unattend.txt 应答文件来配置 Windows 防火墙
使用安装管理器创建 Unattend.txt 文件,或者修改现有的 Unattend.txt 文件。
添加用户定义的 Windows 防火墙部分和项以便将程序、服务、静态端口以及 ICMP 消息添加到 Windows 防火墙例外列表中。有关详细信息,请参阅“Windows 预安装参考”中的 [WindowsFirewall] 主题。以下示例展示了如何将部分和项添加到 Unattend.txt 文件的一种方法:
[WindowsFirewall]
Profiles=WindowsFirewall.Standard
LogFile = %windir%\pfirewall.log
LogSize = 4096
LogDroppedPackets = 1
LogConnections = 1
[WindowsFirewall.Standard]
Type = 3
Mode = 1
Exceptions = 1
Notifications = 1
MulticastBroadcastResponse = 1
AllowedPrograms = WindowsFirewall.RemoteAssistance
Services = WindowsFirewall.RemoteDesktop
PortOpenings = WindowsFirewall.WebServer
IcmpSettings = WindowsFirewall.EchoRequest
[WindowsFirewall.RemoteAssistance]
Program = %WINDIR%\System32\Sessmgr.exe
Name = "Remote Assistance"
Mode = 1
Scope = 2
Addresses = 192.168.0.5,LocalSubnet
[WindowsFirewall.RemoteDesktop]
Type = 2
Mode = 1
Scope = 2
Addresses = 192.168.0.5,LocalSubnet
[WindowsFirewall.WebServer]
Protocol= 6
Port = 80
Name = "Web Server (TCP 80)"
Mode = 1
Scope = 2
Addresses = 192.168.0.5,LocalSubnet
[WindowsFirewall.EchoRequest]
Type = 8
Mode = 1