Unattended Setup Disables EnableDHCPFlag on Second AdapterID: Q177267
|
When you perform an unattended installation on a system that is multihomed and the answer file (Unattend.txt) has the parameter DHCP = YES in the TCP/IP parameters section, only the first adapter will receive an IP address. The second adapter will be set to use a static IP address in which the IP address and subnet mask are blank.
This is caused by the EnableDHCPFlag in Oemnxptc.inf being set to 0 (zero),
which means off, for the second adapter.
To work around this problem, modify the Oemnxptc.inf file on the
distribution share so that it checks to see if STF_GUI_UNATTENDED is set to
YES.
[InstallOption]
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set InstallFromRas = $($6)
set EnableDHCPFlag = $($7)
set InstallList = $($8)
ifstr(i) $(EnableDHCPFlag) == ""
set EnableDHCPFlag = 0
Debug-Output "DHCP Phase 1 Flag :"$(EnableDHCPFlag)
Debug-Output "DHCP Phase 1 Adapter :"$(EnableDHCPForThisAdapter)
endif
ifstr(i) $(InstallList) == ""
set InstallList = {"1","1","0","0","0","0","0","0"}
[InstallOption]
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set InstallFromRas = $($6)
set EnableDHCPFlag = $($7)
set InstallList = $($8)
ifstr(i) $(EnableDHCPFlag) == ""
set EnableDHCPFlag = 0
;**************modified code begins here****************
Ifstr(i) $(!STF_GUI_UNATTENDED) == YES
set EnableDHCPFlag = 1
endif
;**************Modifications end here******************
Debug-Output "DHCP Phase 1 Flag :"$(EnableDHCPFlag)
Debug-Output "DHCP Phase 1 Adapter :"$(EnableDHCPForThisAdapter)
endif
ifstr(i) $(InstallList) == ""
set InstallList = {"1","1","0","0","0","0","0","0"}
Microsoft has confirmed this to be a problem in the Microsoft Windows NT version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: unattend two NIC
Keywords : kbsetup kbbug4.00 ntsetup NTSrvWkst
Version : WinNT:4.0
Platform : winnt
Issue type : kbbug
Last Reviewed: January 27, 1999