Windows NT 4.0 - Installation
and Maintanance
Using Unattended Installations
1) Have the NT i386 directory somewhere that you can get to from the computer,
either on CD, or over the network. Both of these ways are documented below.
2) Use the file Unattend.txt or some variant.
Make sure to edit each file for each machines unique computer name.
(if you do not use DHCP, you have to make sure to include different IP addresses)
3) Run setup from the directory that holds the files. (use Winnt.exe if you are
in a 16-bit envoronment (ie: Dos) or run winnt32.exe if you are in a 32-bit environment
(makes sense, doesn't it?)
WINNT /u:answer-filename /s:sourcepath /t:destination
Or you can use "WINNT32 /u:answer-filename /s:sourcepath /t:destination" if you are running windows
-
Key:
-
-
/u
-
-
Indicates unattended setup mode.
-
-
answer-filename
-
Is the location of the unattended installation answer file. (here I use
Unattend.txt)
-
-
/s
-
Indicates that the installation files are located on a drive other than
the CD-ROM. (optional)
-
-
sourcepath
-
Is the path of the distribution files.
-
-
/t
-
Indicates that the temporary installation file is to be placed on a drive
other than the default. (optional)
-
-
destination
-
Indicates the path to the directory where the Windows NT files are to be
installed to.
I am also considering the usage of an unattended installation boot disk,
where the files are kept on an NT Server machine.
Back to the top
Using a Bootdisk with a CD-ROM install
When you don't have network access, or can't make
a network bootup disk; then this is a great alternative.
Autoexec.bat
@Echo off
Echo -------------------------------------------------
Echo WINDOWS NT AUTOMATED INSTALL DISK
Echo
CD-ROM Version
Echo
Eric Thern 1/7/98
Echo -------------------------------------------------
Echo Loading the CD-ROM Drivers
LOADHIGH A:\DRIVERS\MSCDEX.EXE /D:CD1 /L:H
ECHO PRESS 'Y' then 'ENTER'
lock c:
Echo Windows NT Workstation Unattended Installation
PATH=H:\i386
Echo Running Unattended Setup:
winnt /u:A:\unnatend.txt /s:H:\i386 /t:C:\winnt
Config.sys
DEVICE=A:\DOS\HIMEM.SYS /TESTMEM:OFF
DEVICE=A:\DOS\EMM386.EXE NOEMS
DOS=HIGH,UMB
FILES=20
LASTDRIVE=Z
DEVICEHIGH=A:\DRIVERS\TAISATAP.SYS /D:CD1 /L:H
Unattend.txt
[Unattended]
OemPreinstall = no
NoWaitAfterTextMode = 1
NoWaitAfterGUIMode = 1
FileSystem = LeaveAlone
ExtendOEMPartition = 0
ConfirmHardware = no
NtUpgrade = no
Win31Upgrade = no
TargetPath = \WINNT
OverwriteOemFilesOnUpgrade = yes
[UserData]
FullName = "Distributed Computing"
OrgName = "SUNY Potsdam"
ComputerName = Dunn210-NT1
ProductId = "000-0000000"
[GuiUnattended]
OemSkipWelcome = 1
OemSkipEULA = yes
OEMBlankAdminPassword = 1
TimeZone = "(GMT-05:00) Eastern Time (US & Canada)"
[Display]
BitsPerPel = 16
XResolution = 1024
YResolution = 768
VRefresh = 75
AutoConfirm = 1
[Network]
DetectAdapters = ""
InstallProtocols = ProtocolsSection
InstallServices = ServicesSection
JoinDomain = ACADEMIC
[ProtocolsSection]
TC = TCParamSection
[TCParamSection]
DHCP = yes
[ServicesSection]
STCPIP = STCPIPParamSection
[STCPIPParamSection]
Back to the top
Using a Bootdisk with a network install
Windows NT Server has a utility that makes network boot disks for you.
In the administrative tools, there is "Network Client Administrator."
This is a great utility to get the initial disk image, however, if you
have a ethernet card that is not on the small list, then you have to work
with the configuration files yourself.
For the SMC card, I had to configure the settings manually on the disk.
I used a utility for the card to set it from "automatic" to "BNC" so that it
knew exactly what type of connection type was needed.
Back to the top
Autoexec.bat
@Echo off
Echo Press 'y' then 'Enter'
lock c:
Echo -------------------------------------------------
Echo WINDOWS NT AUTOMATED INSTALL DISK
Echo NETWORK TCP/IP Version
Echo Eric Thern 1/7/99
Echo -------------------------------------------------
path=a:\net
a:\net\net initialize
a:\net\netbind.com
a:\net\umb.com
a:\net\tcptsr.exe
a:\net\tinyrfc.exe
a:\net\nmtsr.exe
a:\net\emsbfr.exe
a:\net\net start
path=a:\net
net use z: \\APOLLO\images
echo Running Unattended Setup...
Path=z:\i386
winnt /u:A:\unnatend.txt /s:z:\i386 /t:C:\winnt
Back to the top
config.sys
DEVICE=A:\NET\HIMEM.SYS
DEVICE=A:\NET\EMM386.EXE NOEMS
BUFFERS=35,0
files=44
DOS=UMB
lastdrive=z
DOS=HIGH
device=a:\net\ifshlp.sys
Back to the top
Protocol.ini (For the SMC card)
[network.setup]
version=0x3110
netcard=SMCPWR,1,SMCPWR,2
transport=tcpip,TCPIP
lana0=ms$w13ew,1,tcpip
[SMCPWR]
drivername=SMCPWR$
SLOT=16
SIA_MODE=BNC
[protman]
drivername=PROTMAN$
PRIORITY=MS$NDISHLP
[tcpip]
NBSessions=6
DefaultGateway0=137 143 110 254
SubNetMask0=255 255 248 0
IPAddress0=137 143 104 79
DisableDHCP=1
DriverName=TCPIP$
BINDINGS=SMCPWR
LANABASE=0
Back to the top
System.ini (For the SMC Card)
[network]
filesharing=no
printsharing=no
autologon=yes
computername=DUNN210-NT1
lanroot=A:\NET
username=thern18
workgroup=ACADEMIC
reconnect=no
dospophotkey=N
lmlogon=0
logondomain=ACADEMIC
preferredredir=full
autostart=full
maxconnections=8
[network drivers]
netcard=smcpwr.dos
transport=tcpdrv.dos,nemm.dos
devdir=A:\NET
LoadRMDrivers=yes
[Password Lists]
*Shares=a:\net\Share000.PWL
THERN18=A:\NET\THERN18.PWL
Back to the top
Protocol.ini (For the 3Com Card)
Back to the top
System.ini (For the 3Com Card)
[network]
filesharing=no
printsharing=no
autologon=yes
computername=DUNN210-NT1
lanroot=A:\NET
username=thern18
workgroup=ACADEMIC
reconnect=no
dospophotkey=N
lmlogon=0
logondomain=ACADEMIC
preferredredir=full
autostart=full
maxconnections=8
[network drivers]
netcard=elnk3.dos
transport=tcpdrv.dos,nemm.dos
devdir=A:\NET
LoadRMDrivers=yes
[Password Lists]
*Shares=a:\net\Share000.PWL
THERN18=A:\NET\THERN18.PWL
Back to the top
Back to the Index