Microsoft KB Archive/177565

= PRB: Unattended Installation Fails If Using IBM Token Ring 16/4 /A NIC =

Article ID: 177565

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q177565



SYMPTOMS
During an unattended installation of Windows NT 4.0 on a system with an IBM Token Ring 16/4 /A network interface card, the following error occurs:

Badly formed setup script command ""

After the error occurs, if you manually step back through the network options and reset all choices, the setup process still does not continue.

If you go through a manual installation and allowing Windows NT to autodetect the card, it works fine. The problem only occurs when you do an unattended installation.



CAUSE
There is a script error in the Oemnadtm.inf file that shipped with Windows NT. This script error causes only unattended installations to fail.



RESOLUTION
To resolve the problem and allow setup to complete an unattended installation, follow these steps:

 Expand the oemnadtm.in_ file from the I386 share to anywhere on the local hard drive by typing the following at a command prompt:

expand \oemnadtm.in_ \oemnadtm.inf   Open the Oemnadtm.inf file in notepad, search for the following section:

ifstr(i) $(!STF_GUI_UNATTENDED) == "YES" NetworkAddress = "" goto WriteNetworkAddr endif   Add the word "set", without the quotes, to the second line of this section, so it reads as follows:

ifstr(i) $(!STF_GUI_UNATTENDED) == "YES" Set NetworkAddress = "" goto WriteNetworkAddr endif  Save the file. Rename the file to Oemnadtm.in_ (its original name). Do not compress the file, simply rename it. Copy the modified file back to the <server\share> directory.</li></ol>

After the file has been modified and copied back to the share, unattended setup will install the card with no errors.

Additional query words: unattend NICS tokenring 16/4A MCA Unattended Setup

Keywords: kbprb kbsbk kbsetup KB177565

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.