(Sysprep)

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

[MS_TCPIP parameters]

The [MS_TCPIP parameters] section contains entries for configuring the TCP/IP protocol.

This section can be used only with the [Networking] section.

The parameters in this section are noted as being either global or adapter-specific. Global parameters apply to all network adapters on the computer. To use an adapter-specific parameter, add the entry SpecificTo = adapter to that section of your answer file, as in the example.

Answer File Entries for the [ MS_TCPIP parameters ] Section

Entry Description

DeadGWDetectDefault

Specifies whether the computer detects nonfunctional gateways.

DefaultGateway

Specifies the default gateway addresses.

DHCP

Specifies whether to use DHCP on the network connection that uses the specified adapter.

DHCPClassId

Specifies the DHCP class ID.

DisableDynamicUpdate

Specifies whether to register the A and PTR resource records dynamically.

DNSDomain

Specifies the suffix of the network connection that uses this adapter.

DNSServerSearchOrder

Specifies a list of addresses to use when searching for the DNS server on the network.

DNSSuffixSearchOrder

Specifies the search order for DNS servers.

DontAddDefaultGatewayDefault

Specifies whether the computer uses the default gateway.

EnableAdapterDomainNameRegistration

Specifies whether to register the DNS resource records.

EnableICMPRedirect

Specifies whether this computer uses ICMPRedirect.

EnableLMHosts

Specifies whether this computer uses LMHosts lookup.

EnableSecurity

Specifies whether to enable TCP/IP filtering.

IPAddress

Specifies the IP addresses for the network connection that uses this adapter.

NetBIOSOptions

Specifies the NetBIOS option for the network connection that uses this adapter.

ScopeID

Specifies the computer’s scope identifier if a network that uses NetBIOS over TCP/IP requires it.

SubnetMask

Specifies the subnet mask addresses.

SyncDomainWithMembership

Specifies whether to change the primary DNS suffix.

UseDomainNameDevolution

Specifies whether to enable domain name devolution when the DNS-caching resolver resolves an unqualified query.

WINS

Specifies whether to use Windows Internet Name Service (WINS) on the network connection that uses this adapter.

WINSServerList

Specifies the IP addresses of the WINS servers on the network.

DeadGWDetectDefault

Specifies whether the computer detects nonfunctional gateways.

This is a global parameter.

Syntax
DeadGWDetectDefault = Yes | No
Value Description

Yes

Detects nonfunctional gateways.

No

Does not detect nonfunctional gateways.

Example
[Networking]
[MS_TCPIP parameters]
DeadGWDetectDefault = Yes
Comments

The default value is No.

Use this entry only if the computer offers Routing and Remote Access service of any type. If this is the case, you must set the value to No.

DefaultGateway

Specifies the default gateway addresses.

This is an adapter-specific parameter.

Syntax
DefaultGateway = gateway_address[, gateway_address[, ...]]
Value Description

gateway_address

IP address of default gateway.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DefaultGateway = 192.168.1.1
Comments

None.

DHCP

Specifies whether to use DHCP on the network connection that uses the specified adapter.

This is an adapter-specific parameter.

Syntax
DHCP = Yes | No
Value Description

Yes

Uses DHCP on the network connection that uses this adapter.

No

Does not use DHCP on the network connection that uses the specified adapter.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DHCP = No
Comments

The default value is Yes. If you use the value No, you must specify the IPAddress and SubnetMask entries. You might also need to specify a value for the DefaultGateway entry, if your network configuration requires it.

DHCPClassId

Specifies the DHCP class ID.

This is an adapter-specific parameter.

Syntax
DHCPClassId = string
Value Description

string

String.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DHCPClassId = abc
Comments

None.

DisableDynamicUpdate

Specifies whether to register the A and PTR resource records dynamically.

This is an adapter-specific parameter.

Syntax
DisableDynamicUpdate = Yes | No
Value Description

Yes

Disables dynamic registration of the A and PTR resource records corresponding to the IP addresses of the connection.

No

Dynamically registers the A and PTR resource records corresponding to the IP addresses of the connection.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DisableDynamicUpdate = No
Comments

If you set this entry to Yes, then Setup does not dynamically register the A and PTR resource records corresponding to the IP addresses of this connection.

If this entry does not exist or is set to No, then Setup registers A and PTR resource records containing the full DNS name of the computer and the IP addresses of this connection in the DNS. The full DNS name is a concatenation of the Computer Name and the Primary DNS Suffix of the computer: computer_name.primary_DNS_suffix.

DNSDomain

Specifies the suffix of the network connection that uses this adapter.

This can be an adapter-specific parameter or a global parameter.

Syntax
DNSDomain = DNS_domain_name
Value Description

DNS_domain_name

DNS domain name.

Global example
[Networking]
[MS_TCPIP parameters]
DNSDomain = fabrikam.com

Adapter-specific example

[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DNSDomain = fabrikam.com
Comments

You must use the entry SyncDomainWithMembership = 0 if you use DNSDomainas a global parameter.

DNSServerSearchOrder

Specifies a list of addresses to use when searching for the DNS server on the network.

This entry is an adapter-specific parameter.

Syntax
DNSServerSearchOrder = server_address[, server_address[, ...]]
Value Description

server_address

IP address.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DNSServerSearchOrder = 192.168.1.1, 192.168.1.2
Comments

None.

DNSSuffixSearchOrder

Specifies the search order for DNS servers.

This entry is a global parameter.

Syntax
DNSSuffixSearchOrder = suffix[, suffix[, ...]]
Value Description

suffix

Domain name suffix.

Example
[Networking]
[MS_TCPIP_parameters]
DNSSuffixSearchOrder = server1.fabrikam.com, fabrikam.com
Comments

None.

DontAddDefaultGatewayDefault

Specifies whether the computer uses the default gateway.

This entry is a global parameter.

Syntax
DontAddDefaultGatewayDefault = Yes | No
Value Description

Yes

Uses the default gateway.

No

Does not use the default gateway.

Example
[Networking]
[MS_TCPIP_parameters]
DontAddDefaultGatewayDefault = No
Comments

The default value is Yes.

Use this entry only if the computer offers Routing and Remote Access service. If it does, set the value to Yes.

EnableAdapterDomainNameRegistration

Specifies whether to register the DNS resource records.

This entry is an adapter-specific parameter.

Syntax
EnableAdapterDomainNameRegistration = Yes | No
Value Description

Yes

Registers the DNS resource records.

No

Does not register the DNS resource records.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
EnableAdapterDomainNameRegistration = No
Comments

If you set this entry to Yes and the DisableDynamicUpdate value for the same network connection does not exist, or you set it to No, then the computer attempts to register the following dynamically:

  1. The A and PTR resource records containing the computer name, primary DNS suffix, and the IP addresses of the connection.

  2. The A and PTR resource records containing the IP addresses of the connection, and a name that is a concatenation of the computer name and the connection-specific DNS suffix.

EnableICMPRedirect

Specifies whether this computer uses ICMPRedirect.

This entry is a global parameter.

Syntax
EnableICMPRedirect = Yes | No
Value Description

Yes

Uses ICMPRedirect.

No

Does not use ICMPRedirect.

Example
[Networking]
[MS_TCPIP_parameters]
EnableICMPRedirect = Yes
Comments

The default value is No.

Use this entry only if the computer offers Routing and Remote Access service of any type. If it does, set the value to No.

EnableLMHosts

Specifies whether this computer uses LMHosts lookup.

This entry is a global parameter.

Syntax
EnableLMHosts = Yes | No
Value Description

Yes

Uses LMHosts lookup.

No

Does not use LMHosts lookup.

Example
[Networking]
[MS_TCPIP_parameters]
EnableLMHosts = No
Comments

The default value is Yes.

EnableSecurity

Specifies whether to enable TCP/IP filtering.

This entry is a global parameter.

Syntax
EnableSecurity = Yes | No
Value Description

Yes

Enables TCP/IP filtering.

No

Does not enable TCP/IP filtering.

Example
[Networking]
[MS_TCPIP_parameters]
EnableSecurity = Yes
Comments

The default value is No.

IPAddress

Specifies the IP addresses for the network connection that uses this adapter.

This entry is an adapter-specific parameter.

Syntax
IPAddress = IP_address[, IP_address[, ...]]
Value Description

IP_address

IP address.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
IPAddress = 192.168.1.1, 192.168.1.2
Comments

If you specify more than one IP address, you must specify multiple subnet mask addresses in a one-to-one relationship.

If you specify IPAddress and SubnetMask entries, you must also specify the entry DHCP = No in the answer file.

NetBIOSOptions

Specifies the NetBIOS option for the network connection that uses this adapter.

This entry is an adapter-specific parameter.

Syntax
NetBIOSOptions = 0 | 1 | 2
Value Description

0

Uses NetBIOS setting from the DHCP server.

1

Enables NetBIOS over TCP/IP.

2

Disables NetBIOS over TCP/IP.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
NetBIOSOptions = 1
Comments

The default value is 0.

ScopeID

Specifies the computer’s scope identifier if a network that uses NetBIOS over TCP/IP requires it.

Do not use a scope ID if you enable DNS on the network in which the computer participates.

This entry is a global parameter.

Syntax
ScopeID = scope_ID
Value Description

scope_ID

Scope identifier.

Example
[Networking]
[MS_TCPIP_parameters]
ScopeID = REDMOND
Comments

None.

SubnetMask

Specifies the subnet mask addresses.

This entry is an adapter-specific parameter.

Syntax
SubnetMask = subnet_address[, subnet_address[, ...]]
Value Description

subnet_address

Subnet mask.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
SubnetMask = 255.255.255.0
Comments

If you specify the IPAddress and SubnetMask entries, you must specify the entry DHCP = No in the answer file.

SyncDomainWithMembership

Specifies whether to change the primary DNS suffix.

This entry is a global parameter.

Syntax
SyncDomainWithMembership = 0 | 1
Value Description

0

Does not change the primary DNS suffix.

1

Changes the primary DNS suffix value when the computer joins an Active Directory domain.

Example
[Networking]
[MS_TCPIP_parameters]
SyncDomainWithMembership = 1
Comments

If not present, or if nonzero, the primary DNS suffix value changes when the computer joins an Active Directory (Windows 2000 or Windows Server 2003) domain. The name is the DNS name of the Active Directory domain joined by the computer.

To specify a primary DNS suffix, use the entries SyncDomainWithMembership = 0 and DNSDomain = primary_DNS_suffix.

UseDomainNameDevolution

Specifies whether to enable domain name devolution when the DNS-caching resolver resolves an unqualified query.

This entry is a global parameter.

Syntax
UseDomainNameDevolution = Yes | No
Value Description

Yes

Enables domain name devolution.

No

Does not enable domain name devolution.

Example
[Networking]
[MS_TCPIP_parameters]
UseDomainNameDevolution = No
Comments

The default value is Yes.

WINS

Specifies whether to use Windows Internet Name Service (WINS) on the network connection that uses this adapter.

This entry is an adapter-specific parameter.

Syntax
WINS = Yes | No
Value Description

Yes

Uses WINS on the network connection that uses this adapter.

No

Does not use WINS on the network connection that uses this adapter.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
WINS = Yes
Comments

The default value is No.

WINSServerList

Specifies the IP addresses of the WINS servers on the network.

This is an adapter-specific parameter.

Syntax
WINSServerList = IP_address[, IP_address, ]
Value Description

IP_address

IP address of WINS server.

Example
[Networking]
[params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
WINSServerList = 192.168.1.1, 192.168.1.2 
Comments

This entry requires WINS = Yes in the [MS_TCPIP parameters] section to apply the WINSServerList IP addresses.