Automating SMC Adapter Setup (152456)
The information in this article applies to:
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- MSPRESS Microsoft Windows NT Resource Kit 3.5
- MSPRESS Microsoft Windows NT Resource Kit 3.51
This article was previously published under Q152456 SYMPTOMS
Unattended Setup and Computer Profile Setup (CPS) fail to install the SMC
9332 EtherPower 10/100 PCI Fast Ethernet Adapter.
Following the instructions on "Profiling systems with OEM netcards" in the
Cpsread.txt file in the Windows NT version 3.5 Resource Kit or the Cps.hlp
file in the Windows NT version 3.51 Resource Kit is not sufficient.
CAUSE
The Oemsetup.inf file for the SMC 9332 EtherPower10/100 PCI Fast Ethernet
Adapter is not designed to work with Unattended Setup or Computer Profile
Setup.
RESOLUTION
To resolve this problem, follow the instructions for the kind of Setup you
are doing, either CPS or Unattended.
Computer Profile Setup- Before you run Uplodprf.exe, modify Cps.ini as described in the
following note, which is included in both the Cpsread.txt in the
Windows NT 3.5 Resource Kit and the Cps.hlp in the Windows NT 3.51
Resource Kit:
[Registry]
FindInstalledServicesAt =
SOFTWARE\Microsoft,SOFTWARE\StandardMicrosystemsCorporation
- Run Uplodprf.exe.
- After running Uplodprf.exe, on the Distribution System back up
%Systemroot%\System32\Ntlanman.inf to Ntlanman.bak.
WARNING: Modification of Setup files can cause serious, system-wide
problems before and after Setup and may require you to reinstall Windows NT
to correct them. Microsoft cannot guarantee that any problems resulting
from the modification of Setup files can be solved. Make Setup file
modifications at your own risk.
- On the Distribution System modify %Systemroot%\System32\Ntlanman.inf:
; Original Line below with exclamation point
; set AdapterSrcDir = $(OEMNetDrive)
; Corrected syntax with exclamation point
set AdapterSrcDir = $(!OEMNetDrive)
- On the Distribution system, modify %Systemroot%\System32\Defaults.inf:
[NetworkAdapterData]
!AutoNetOption = SMC9332
!OEMNetOption = YES
!OEMNetDrive = C:\SMC\
!OEMNetInfFile = C:\SMC\oemsetup.inf
- On Distribution System, disable the Read-Only attribute on
%Systemroot%\System32\Oemnad0.inf.
- On the Target system, create a directory called SMC on the partition
where Windows NT will be installed.
- Copy the OEM files to the SMC directory created in the previous step.
These OEM files may be located on the Windows NT compact disc in the
\DRVLIB\NETCARD directory or may be available from the network card
manufacturer.
- Modify \SMC\Oemsetup.inf to avoid dialog boxes, as shown below in steps
a and b.
WARNING: Modification of Setup files can cause serious, system-wide
problems before and after Setup and may require you to reinstall Windows NT
to correct them. Microsoft cannot guarantee that any problems resulting
from the modification of Setup files can be solved. Make Setup file
modifications at your own risk.
- First OEMSETUP.INF modification:
installadapter = +
;; The below IF statement was added to avoid setup dialogs during
CPS/Unattended Setup
ifstr(i) $(!STF_GUI_UNATTENDED) == "YES"
goto installproduct
endif
;; The above IF statement was added to avoid setup dialogs during
CPS/Unattended Setup
- Second Oemsetup.inf modification:
The code fragment below can be found at the end of the installproduct
section.
;; Below lines added to retrieve netcard parameters from answer file during
CPS/Unattended Setup
ifstr(i) $(!STF_GUI_UNATTENDED) == "YES"
Shell $(UtilityInf),AddDefaultNetCardParameters,$(HardParameterKey)
endif
;; Above lines added to retrieve netcard parameters from answer file during
CPS/Unattended Setup
CloseRegKey $(HardNetCardKey)
CloseRegKey $(HardNetRuleKey)
CloseRegKey $(HardParameterKey)
EndForListDo
EndWait
goto successful
updateparameters =+
NOTE: Similar modifications should work for the SMC 8432 and 8434 Ethernet
adapters.
- Run Winntp.exe
For more information, please see the following articles in the Microsoft
Knowledge Base:
143134OEMSETUP.INF Modifications for Automated Windows NT Setup
139897Automating Intel EtherExpress Pro Setup
You can also refer to the "Programmer's Guide" included in the Windows NT
Device Driver Kit (DDK), or contact Microsoft Consulting Services or a
Microsoft Solution Provider. Microsoft Product Support Services, Corporate
Network Systems, does not support the modification of Oemsetup.inf files.
It is recommended that you perform a test run of Winntp.exe to verify
whether your Oemsetup.inf file supports Unattended or Computer Profile
Setup.
Unattended Setup- Copy the \I386 directory from the Windows NT compact disc to your hard
disk drive.
- Expand I386\Ntlanman.in_ to Ntlanman.inf. The Expand.exe file is located
in the %SystemRoot%\System32 directory.
- Rename I386\Ntlanman.in_ to Ntlanman.bk_
WARNING: Modification of Setup files can cause serious, system-wide
problems before and after Setup and may require you to reinstall Windows NT
to correct them. Microsoft cannot guarantee that any problems resulting
from the modification of Setup files can be solved. Make Setup file
modifications at your own risk.
- Modify I386\Ntlanman.inf as follows:
; Original Line below with exclamation point
; set AdapterSrcDir = $(OEMNetDrive)
; Corrected syntax with exclamation point
set AdapterSrcDir = $(!OEMNetDrive)
NOTE: It is not necessary to rename Ntlanman.inf to Ntlanman.in_. Windows
NT Setup does not require the file to be compressed or named with an .in_
extension.
- Modify the [NetworkAdapterData] section in your "Answer File" as
follows:
[NetworkAdapterData]
!AutoNetOption = SMC9332
!OEMNetOption = YES
!OEMNetDrive = C:\SMC\
!OEMNetInfFile = C:\SMC\oemsetup.inf
- Create a directory called SMC on the partition to which Windows NT will
be installed.
- Copy the OEM files to the SMC directory created in the previous step.
These OEM files may be located on the Windows NT compact disc in the
\DRVLIB\NETCARD directory or may be available from the network card
manufacturer.
- Modify \SMC\Oemsetup.inf to avoid dialog boxes as shown in Step 9 in the
above Computer Profile Setup section.
- Run Unattended Setup.
STATUS
Microsoft has confirmed this to be a problem in Windows NT version 3.51. We
are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
The third-party products discussed here are manufactured by vendors
independent of Microsoft; we make no warranty, implied or otherwise,
regarding these products' performance or reliability.
Modification Type: | Major | Last Reviewed: | 12/16/2003 |
---|
Keywords: | kbsetup KB152456 |
---|
|