Winnt.sif error

M

Matthew Clark

I have been using winnt.sif and a slipstreamed CD for quite awhile now.
I have had SP2 successfully slipstreamed since it was released. I am
trying now to get the firewall stuff on where I had it turned off
before, and open a couple of ports. The winnt.sif keeps erroring out in
line 60, which I am copying the few lines before and after in this post.
Can anyone see what is wrong with my .sif file?

Thanks!

Matthew

Begin File copy
------------------
;Turn on Windows Firewall
[WindowsFirewall]
Profiles = WindowsFirewall.TurnOnFirewall
LogFile = %WINDIR%\WinFirewall.log
LogDroppedPackets = 0
LogConnections = 1


;Type = Standard (Default is 3)
;Mode = Enable Firewall
;Exceptions = Enabled with Exceptions (Default is 1)
;Notifications = Enabled with Notifications (Default is 1)

[WindowsFirewall.TurnOnFirewall]
Type = 1
Mode = 1
Exceptions = 1
Notifications = 1
PortOpenings = WindowsFirewall.VNC
PortOpenings = WindowsFirewall.RPM

[WindowsFirewall.VNC]
Protocol= 6
Port = 5900
Name = VNC Server (TCP 5900) <---- Line 60
Mode = 1
Scope = 0

[WindowsFirewall.RPM]
Protocol= 6
Port = 515
Name = RPM Server (TCP 515)
Mode = 1
Scope = 0


[IEPopupBlocker]
AllowedSites=www.microsoft.com;www.wiu.edu
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes
 
D

Darren Curtis

Did you try removing the Ellipsis (brackets) in the name?

Best Regards,
Darren Curtis, MCSE
Microsoft Enterprise Support Engineer
Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Matthew Clark

I've had one person ask about putting quotes around the name and you
have asked about the ellipsis. I have not done either yet, but what is
really strange, is if you read the ref.chm that MS provides, they say
the following:

Sample
This sample demonstrates one use of the
[WindowsFirewall.portopening_name] section of Unattend.txt.

[WindowsFirewall.WebService]
Protocol= 18
Port = 80
Name = Web Server (TCP 80)
Mode = 1
Scope = 2
Addresses = 192.168.0.5,LocalSubnet

Name
Specifies the friendly name of the port that is used to represent this
entry for Windows Firewall in Control Panel.

Syntax Name = port_name
Value port_name
Example Name = Web Server (TCP 80)

Comments This is a required entry. The friendly name should provide an
indication of why the port is statically opened, such as Web Server (TCP
80) or Telnet Server (TCP 23).
 
M

Matthew Clark

As an update, the quotes did indeed work. Now my problem is that only
the first port got added. Can I add the ports the way I have it listed?
If not, how can I add multiple ports?

Thanks,

Matthew

Begin Code copy
------------------
[WindowsFirewall.TurnOnFirewall]
Type = 1
Mode = 1
Exceptions = 1
Notifications = 1
PortOpenings = WindowsFirewall.VNC
PortOpenings = WindowsFirewall.RPM

[WindowsFirewall.VNC] <---- Got Added
Protocol = 6
Port = 5900
Name = "VNC Server (TCP 5900)"
Mode = 1
Scope = 0

[WindowsFirewall.RPM] <---- Did not get added
Protocol = 6
Port = 515
Name = "RPM Server (TCP 515)"
Mode = 1
Scope = 0
 
P

Patrick J. LoPresti [MVP]

Matthew Clark said:
As an update, the quotes did indeed work. Now my problem is that only
the first port got added. Can I add the ports the way I have it
listed? If not, how can I add multiple ports?

The documentation:

http://www.microsoft.com/resources/...n-us/w2k3tr_u_windowsfirewall_profilename.asp

....says "you may include multiple user-defined port openings. Each
entry references a [WindowsFirewall.portopening_name] section that
defines the port. Each entry must have a unique name."

It is a little unclear what that last sentence means.

I would try this first:

PortOpenings = WindowsFirewall.VNC,WindowsFirewall.RPM

Then this:

PortOpenings.0 = WindowsFirewall.VNC
PortOpenings.1 = WindowsFirewall.RPM

And finally this:

PortOpenings0 = WindowsFirewall.VNC
PortOpenings1 = WindowsFirewall.RPM

If none of these work, you can do what I do: Just script the firewall
configuration after the machine is installed using the "netsh
firewall" command (see http://support.microsoft.com/?id=875357#13).

- Pat
http://unattended.sourceforge.net/
 
M

Matthew Clark

I tried the 0 and 1 first, which did not work. The Comma did work
though. Thanks for the help!

Matthew
As an update, the quotes did indeed work. Now my problem is that only
the first port got added. Can I add the ports the way I have it
listed? If not, how can I add multiple ports?


The documentation:

http://www.microsoft.com/resources/...n-us/w2k3tr_u_windowsfirewall_profilename.asp

...says "you may include multiple user-defined port openings. Each
entry references a [WindowsFirewall.portopening_name] section that
defines the port. Each entry must have a unique name."

It is a little unclear what that last sentence means.

I would try this first:

PortOpenings = WindowsFirewall.VNC,WindowsFirewall.RPM

Then this:

PortOpenings.0 = WindowsFirewall.VNC
PortOpenings.1 = WindowsFirewall.RPM

And finally this:

PortOpenings0 = WindowsFirewall.VNC
PortOpenings1 = WindowsFirewall.RPM

If none of these work, you can do what I do: Just script the firewall
configuration after the machine is installed using the "netsh
firewall" command (see http://support.microsoft.com/?id=875357#13).

- Pat
http://unattended.sourceforge.net/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top