NetAdapters选项,用于设置网络适配器:
键名:adapter instance
键值:
如:Adapter1=params.Adapter1
params.adapter instance选项,与NetAdapters配合使用:
键名:InfID
键值:
如:[params.Adapter1]
INFID=*
NetClients选项,用于设置网络客户端:
键名:network client name
键值:
如:MS_MSClient=params.MS_MSClient
NetServices选项,用于设置网络服务端:
键名:network service name
键值:
如:MS_SERVER=params.MS_SERVER
NetProtocols选项,用于设置网络协议:
键名:protocol name
键值:
键名protocol name包括:MS_TCPIP、MS_NWIPX、MS_PPTP、MS_L2TP、MS_DLC、MS_AppleTalk、MS_NetBEUI、MS_NetMon、MS_ATMLANE、MS_ATMUni、MS_ATMArps、MS_STREAMS,如下设置:MS_TCPIP=params.MS_TCPIP
选项,用于设置MS_TCPIP协议参数,选项名为"params.MS_TCPIP":
键名:DNS
键值:Yes |No
设置是否安装DNS。
键名:UseDomainNameDevolution
键值:Yes | No
默认值是:"Yes" ,指定当DNS无法进行域名解析时是否进行域名转向。
键名:EnableLMHosts
键值:Yes | No
默认值是:"Yes",指定是否使用LMHosts查找。
键名:AdapterSections
键值:[,, …]
指定一系列包含网络协议参数的选项。每个选项均有一个指定的"SpecificTo"值,这个"SpecificTo"值即在选项[NetAdapters]中已定义的网络适配器名。
如:
[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1
params.MS_TCPIP.Adapter1选项,配合[params.MS_TCPIP]选项进行设置:
键名:SpecificTo
键值:
指定在本选项中的参数只针所定义的网络组件。如果"SpecificTo"缺省,则本选项中的参数设置普遍适用于安装中被定义的网络协议。如:
SpecificTo=Adapter1
键名:DHCP
键值:Yes | No
默认值是:"Yes",指定是否在网络联接中使用Dynamic Host Configuration Protocol(DHCP)。
键名:IPAddress
键值:[, [, …]]
指定IP地址。
键名:SubnetMask
键值:[, [, …]]
指定子网掩码。
键名:WINS
键值:Yes | No
默认值是"No",指定是否在网络联接中使用WINS。
键名:NetBIOSOptions
键值:0 | 1 | 2
默认值是:"0","0"表示从DHCP Server获得NETBIOS设置,"1"表示在TCP/IP协议上绑定NETBIOS,"2"表示不在TCP/IP协议上绑定NETBIOS。
最后,给出一个unattend.txt实例:
[Unattended]
Unattendmode = FullUnattended
TargetPath = WINNT
Filesystem =ConvertNTFS
[UserData]
FullName = "童建平"
OrgName = "雄鹰黑客网"
ComputerName = "eagle"
[GuiUnattended]
TimeZone = "210"
AdminPassword =chinahacker
AutoLogon = Yes
AutoLogonCount = 1
[Branding]
BrandIEUsingUnattended = Yes
[URL]
Home_Page=http://chinahacker.6to23.com
Help_Page=file:///E:/homepage/index.html
[LicenseFilePrintData]
AutoMode = "PerServer"
AutoUsers = "5"
[FavoritesEx]
Title1 = "雄鹰黑客网.url"
URL1 = "http://chinahacker.6to23.com"
[Display]
BitsPerPel = 16
XResolution = 1024
YResolution = 768
VRefresh =60
[Components]
accessopt=Off
calc=Off
cdplayer=Off
cluster=Off
deskpaper=Off
LicenseServer=Off
mousepoint=Off
mswordpad=On
paint=On
pinball=Off
rec=Off
solitaire=Off
templates=Off
TSClients=Off
vol=On
[Networking]
InstallDefaultComponents = YES
[Identification]
JoinWorkgroup =hacker
[NetAdapters]
Adapter1=params.Adapter1
[params.Adapter1]
INFID=*
[NetClients]
MS_MSClient=params.MS_MSClient
[NetServices]
MS_SERVER=params.MS_SERVER
[NetProtocols]
MS_TCPIP=params.MS_TCPIP
[params.MS_TCPIP]
DNS=No
UseDomainNameDevolution=No
EnableLMHosts=Yes
AdapterSections=params.MS_TCPIP.Adapter1
[params.MS_TCPIP.Adapter1]
SpecificTo=Adapter1
DHCP=No
IPAddress=192.168.0.1
SubnetMask=255.255.255.0
WINS=No
NetBIOSOptions=0