The information in this article applies to:
- Microsoft Windows NT Workstation versions 3.5 and 3.51
- Microsoft Windows NT Server versions 3.5 and 3.51
- Microsoft Resource Kit for Windows NT version 3.5
SUMMARY
When you run Unattended or Computer Profile Setup (CPS), by default, Client
Services for NetWare (CSNW) is not installed. However, you can accomplish
automated installation of CSNW by modifying setup files.
MORE INFORMATION
To automatically configure CSNW when you use an answer file with Windows NT
Setup, modify the TXTSETUP.SIF, NTLANMAN.INF, AUTOEXEC.NT, and SYSTEM:
WARNING: Modification of INF files may 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 INF files can be solved. Make INF modifications at your
own risk. Corporate Network Systems does not support the modification of
INF files. For more information on INF files, refer to the Programmer's
Guide included in the Windows NT DDK or contact Microsoft Consulting
Services or a Solution Provider.
- Copy the \I386 directory from the Windows NT compact disc to your hard
drive.
- Expand NTLANMAN.IN_, AUTOEXEC.NT_, and SYSTEM._ using the EXPAND.EXE
command.
The EXPAND.EXE file is located in the %SystemRoot%\SYSTEM32 directory.
- Make a backup copy of TXTSETUP.SIF and rename NTLANMAN.IN_,
AUTOEXEC.NT_, and SYSTEM._.
- Add the following to the [Files] section of the TXTSETUP.SIF file:
;;; Added line below. <your_name>, <today's_date>
nwcfg.dll = dx,,,2,0,0
NOTE: The text ";;; Added line below. <your_name>, <today's_date>" is an
optional comment that Microsoft recommends you add for tracking and
easier troubleshooting in the future.
- Add the following to the [ServiceData] section of the NTLANMAN.INF file:
;;; Added line below. <your_name>, <today's_date>
ServiceData_5 = "OEMNSVNW.INF","NWWKSTA",11,NWWKSTA
NOTE: The ServiceData_5 line must immediately follow the ServiceData_4
line.
- Add the following to end of the AUTOEXEC.NT file:
REM Install netware redirector
lh %SystemRoot%\system32\nw16
lh %SystemRoot%\system32\vwipxspx
- Run Registry Editor (REGEDT32.EXE) on another Windows NT system running
CSNW.
- From the HKEY_LOCAL_MACHINE subtree, go to the following key:
\SYSTEM\CurrentControlSet\Control\Print\Providers
- Choose the Save Key option from the Registry menu to save the
Providers Key to a file (for example: A:\PROVIDE.TMP).
- Choose the OK button.
- Make sure the HKEY_LOCAL_MACHINE window is highlighted by selecting it.
- Choose the LOAD HIVE option from the Registry menu.
- In the Load Hive dialog box, specify SYSTEM file that was expanded in
Step 2 and choose the OK button:
- When prompted for Key Name, specify "Template System" (without
quotes) and choose the OK button.
- Go to the key:
\Template System\CurrentControlSet001\Control\Print\Providers
- Choose the Restore option from the Registry menu and specify the file
saved in Step 9 above (for example: A:\PROVIDE.TMP).
- Choose the OK button.
- Select the Template System key.
- Choose the Unload Hive option from the Registry menu.
- Run Unattended Setup.
For details on running Unattended Setup refer to the "Unattended
Installation" section in Chapter 3 or the Windows NT Resource Kit.
To automatically configure CSNW using computer profile setup (CPS):
- Upload the master system (must have CSNW installed) to the distribution
server.
- Modify the [ServiceData] section of %SYSTEMROOT%\SYSTEM32\DEFAULTS.INF
on the distribution server to appear as follows.
NOTE: DEFAULTS.INF lines in the following example that do not fit on one
line in this article but should be on one line in the DEFAULTS.INF file,
have several parts to it and are labeled as such to help you identify
and modify the correct lines. Be sure to remove the line labels if you
copy this example to the DEFAULTS.INF file:
line 1: [ServiceData]
line 2, part 1: !ServiceInfList =
line 2, part 2: {"OEMNSVSV.INF","OEMNSVWK.INF","OEMNSVNB.INF",
line 2, part 3: "OEMNSVRP.INF", "OEMNSVNW.INF"}
line 3, part 1: !ServiceOptionList = {"SRV","WKSTA","NETBIOS",
line 3, part 2: "RPCLOCATE","NWWKSTA"}
line 4: !ServiceBbList = {"3","2","5","11","11"}
line 5, part 1: !ServiceNameList = {"LanmanServer",
line 5, part 2: "LanmanWorkstation","NetBIOS","RPCLOCATOR","NWWKSTA"}
- Run WINNTP.EXE on the target system.
For details on uploading the master system to the distribution server or
running WINNTP.EXE from the target system read "Preinstalling Windows NT
Using CPS" in Volume 1 of the Windows NT Resource Kit.
|