(Winbom)

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

[WinPE.Net]

The [WinPE.Net] section contains entries for controlling the settings that Windows Preinstallation Environment (Windows PE) uses to connect to a network. Unless you run the factory -winpe command, Setup ignores all entries in this section.

Note

  • Windows PE is licensed to OEMs for use in preinstalling Windows onto new computers. The Windows PE for Corporations toolkit is available for enterprise customers; for more information, contact your account manager.

Answer File Entries for the [WinPE.Net] Section

Entry Description

Gateway

Specifies the IP address of an IP router. Configuring a default gateway creates a default route in the IP routing table.

IPConfig

Specifies the IP address that Windows PE uses to connect to a network.

StartNet

Specifies whether to start networking services.

SubnetMask

Specifies a 32-bit value that enables the recipient of IP packets to distinguish the network ID and host ID portions of the IP address.

Gateway

Specifies the IP address of an IP router. Configuring a default gateway creates a default route in the IP routing table.

Syntax
Gateway =###.###.###.###
Value Description

###.###.###.###

IP address of the default gateway.

Example
[WinPE.Net]
Gateway = 172.16.0.155 
Comments

None.

IPConfig

Specifies the IP address that Windows PE uses to connect to a network.

Syntax
IPConfig = DHCP | ###.###.###.###
Value Description

DHCP

Specifies Dynamic Host Configuration Protocol.

###.###.###.###

Specifies a static IP address.

Example
[WinPE.Net]
IPConfig = 172.16.0.144
Comments

The default value is DHCP. The value is ignored if the value of the StartNet entry is No.

StartNet

Specifies whether to start networking services.

Syntax
StartNet = Yes | No
Value Description

Yes

Starts networking services.

No

Does not start networking services.

Example
[WinPE.Net]
StartNet = No
Comments

The default value is Yes.

SubnetMask

Specifies a 32-bit value that enables the recipient of IP packets to distinguish the network ID and host ID portions of the IP address. Typically, subnet masks use the format 255.x.x.x.

Syntax
SubnetMask =###.###.###.###
Value Description

###.###.###.###

Subnet mask, typically in the form 255.x.x.x.

Example
[WinPE.Net]
SubnetMask = 255.255.255.0
Comments

This entry is required if the value of the IPConfig entry is ###.###.###.###. This entry is ignored if the value of the IPConfig entry is DHCP.