Sunteți pe pagina 1din 19

Micro,soft'

Operating System

Deployment Guide
Aulomat¡ng Windows NT Setup
fr, witldoÉ, wttuw.Nr,fiawkdo@b1o, d M|Dos a,é EsÉtaÉd
¿aqwt@ ñ ¡hé urtd ,dros dndar d\.t coúire'
ottÉt t¡ád.ñ.tb d tadeiú* @ñt¡oned héÉtn ñdy be he ¡Édéña*É at thd¡ Éspedtire asne6
M¡c@tt cotpantú. Oné ¡tiú@ft w.y . Rédttud, ta/A 980s2.ü9e . usA
Aulomal¡ng fhis deploymenl guido provides inlornation, lips, and l cls lhat will help
Wndows NT Sétup you aulomale the Microsoil@ Windows NT@ s€lup process. I is designed
fo r lnlo rmalio n Systems profession als lh al a re taskgd wilh insta ting e her
Windows NT Workstalion or Windows NT Server on many computers. You
should use l¡is guide iñ conjunclion wilh Parl 1 ol the Windows Nf
Wof,stalion Bosource Kil.
Microso,l Wndows NT includes ma¡y tools ánd lealu€s thát can bá used
lo aulomate lhe selup process. Yoo will lind delailed informalion and
€xampl€s ol héss iool6 iñ lhe lollou/ing five chaplersl
. G€lllng sianod
. Ths Wndows NT Worktatioñ 4.0 Selup Script (UNAÍTEND.Dü Fit6
. Conligüing Machin+Specilic lñlormation
. Applicálion Plennslallalion (SYSD IFF.EXE)
. Custom¡¿ng Windows NT
CONTENTS

CHAPTER I GETTING STARTED. ................9


What l\,4jcrosoft Windows Nf Deployment Tools Can Do 9
What l\,,licrosolt Windows NT Deployment Toois Cannol Do 9
Tools lJsed with Windows NT Deploymeni 10
Selup l\,lañager - Creaiing a Windows NT 4.0 Selup Script File
(UNATTEND.TXT) 10
System Difference fool: SYSDIFF.EXE 10
Windows NT Registry Tools 10

Clienl Coñnectiv¡ty Software 11

Windows Nf Selupr WINNT.EXE and WINNT32.EXE 11


WINNT.E)G and WrNNT32.E)G comrnand line parameters..................1 I
Steps to Automalinq W¡ndows NT Deployment 11

Step 1 - Build the Windows NT selup script file (UNATTEND.TXT). 11


Slep 2 - Build pre-installaijon packages using lhe Sysiém Difference tool
(SYSDIFF,EXE), 12
Step 3- Create process to configure machine-specific information. 12
Step 4 - Build process to automate your dislribulion method. 12
Building the Distribution Server 12
Copylhe Wiñdows Nf Source Files 12
Copy Custom Files lJsiñg tho $OE¡¡$ Direclory 12
Struclure of the Disfibution share Poinl 13
Converting Short Filenames lo Long Frlenames 14
Using Disk Dup¡ication to Dislribute Window§ NT
lnstallatioñ Pelormance Considerations 16
Optimizing Cliénl Connectivily Sofiware 16
Oplimizing the Character lvlode Soiup Phase 16
Decreasing lhe Number of Files Copied During Setup 17
RemovingPeerWebServices....................................................................17
Bemoving Third-Party Providéd Nelwork Adapter Drivers 17

CHAPTER 2 THE W|NDOWS NT WORKSTATION 4.O SETUP


scRtPT FrLE (UNATTEND.TXT)..............................,.....,.......,..,...19
lnlroduction 19
UNATTEND.TXT Fils Format and Reference 19
Descriplion of L,NAfiEND.TXT Fle ParameterE 20
lUnaitendedl 20
OemPreinstall 2A
NoWailAflerTextMode 20
NoWailAftelGui[,4odé 21
FileSystem 21
ExlendOemParlilion 21
ConlirmHardware 22
Ntl.Jpgrade 22
Win3lupgradé
Overudt6OemFilesonLlpgrado 23
TargetPath 23
ComputérTypé 24
KeyboardLayout 24
lMassStorageDrivers] 24
<mass slorage driver description> 24
lDisplayDrjversl 25
<display ddver description> 25
lKeyboardDriversl 26
<keyboad driver descriplioñ>
lPointingD€vlceDriversl
<pointing devico driver description> 26
[OEMBootFiles] 27
TXTSETU P,OEM 27
<halfile name> 27
<scsi driverfile name> 27
IOEM-Adsl 27
Bann6r 27
Logo 27
Backqround 2A
lGuiUnatiendedl 28
OemSkipwelcorñe
OEI\¡BlankAdminPassword 28
Tlñezono 29
29
DetachedProgram 30
Arguments 30
IUserData] 30
FullName 30
orgName 30
ComputerName 31
ProducllD 31

lLicenseFilePinlDatal 31

31

[Display]
ConfigureAlLogon 32
BitsPerPel 32
Xresolution 32
Yresolution
Vréfrésh 33
FIaqs
Autooonfirm
lnstallDriver 34
lnfFil6 34
lnfoption 34
IModem] 35
lnslalll\,,lodem 35
[<ñodem parameler section>] 35
<COL pod number.
lNetworkl
Attendéd 36
Jo¡nWorkgroup 36
JoinDorñain
CreateComputerAccounl
lnstallDC 37
DetectAdapl€rs
lnslallAdapters
lnslallProtocols
lnstallServicos 38
lnstalllntemetseruer 38
OoNollnstalllntálñetserver
[<Detect Adaptec Section>] 38
Detectcounl 38
LimitTo 39
<Nelcard lñf opl¡on> 39
[<lñslall Adapl€rs Section>] 39
<Nelcard lnf oplion> 39
knelcard parameter secl¡o»] 40
[<Protocols Section>] 40
NBF 40
NWLNKIPX 40
TC 40
DLC 41
RASPPTP 41
STREAII,,lS 41

[<NetBeui Paramelers>] 41
[<lPX Paramelers>] 42
{<Tcpip Parametérs>l 42
DHCP 42
ScopelD 42
[<DLC Paramélers>] 44
[<BASPPTP PaÉmelers>] 44
[<STREAMS Paramelers>]
[<Seruic6s Seclion>]
SNI\¡P 44
RAS 44
NWWKSTA
NETMON 45
STCPIP 45
SAP
TCPPHINT
DHCP 46
DNS 46
wtNs 47
[<NétWaré Client Parameters>] 47
lDefaullLocation 47
I Def aultscriploptions 47
[<Snmp Parameter$] 47
Accept-CommuñityName 48
Send_Aulhenticalion 48
48
Limit_Hosl 48
Community-Namé 48
Traps 4A
Contact_Name 49
Location 49
Service 49
[<RasParameler$] 49
Portsectioñs 49
DialoutProtocols 50
Dial¡nProlocols 50
NetBEUlClientAccoss 50
TcplpClienlAccess 50
USeDHCP 50
StatlcAddressBegin 50
StaticAddressEnd
ExcludeAddress
CllenlcanRequestlPAddress 51
lpxcl¡énlAcc€ss 51
AulomaticN€t\ivorkNumbers 51
NetworkNumbérFrom 52
AssignSameNellvorkNumber 52
ClientscanRequesllpxNodeNumber 52
[<port sect¡on name>] 52
PortName 52
DgvlceType 52
PorlUsage
[<NETMON Parameter§>] 53
f<STcPlP Param€l€r$l 53
f<SAP Parameters>l 53
FTCPPRINT Parameler$l 53
[<DHCP Paramelér$] 53
[<DNS Parameter$] 53
kWINS Parameler$l 54
[<inlernei inf omaiion server seclion>] 54
INSiAIIINETSÍP 54
tnstallADMlN 54
lnstallFTP 54
FfPRool 54
54

tn§raIGoPHER 55
GopherRoot
lnstallDir
lnstallWSSAlüP
IN§IAIIHTMLA 56
GuestAccountName 56
GuestAccountPassword 56
Sample UNATTEND.TXT Files 56
Sample 2 58
Configu ng Network Adapters and Selup lñlormation Files for Aulomaled
lnstallation
Building lhe Windows Nf Seiup Script Nobvod( Adapters Seclion
Example I ........................ ..........---...-.....-.....61
Example 2........................ ................................62
Example 3 -...................... ................................62
Detémlning Nelwork Adaplers Parañélgrs in the UNATTEND.fXÍ 63
OveMew of a Nelwork Component .lNF thal Supports Unatiended
lnslallatlon 63
SettingParamete¡sforNetworkAdapterCards.........................................64
Veri8ing and Testi¡g Component .INIs........................................-..........64
Ve tylng the OEM File for STF_GUI UNATTENDED 65
lnstallation of Network Adaplers Drivers Not Supplied on the Windows NT
4.0 RetailcD 67
Bypassing the "Currenl Nelcard Parameters Are Not Verifiably Correct"
Llessagé 67
Network Adapteroplion Name 68
Driver Supplied in the \1386 Directory 68
Drivers Supplied ln lhe \DRVLIB\NETCARD\X86 and \1386\DBVLIB.NIC
Diréclories 70
OEM lnstall Optlons lhal Can be Used with UNATTEND.ÍXT 73
TXTSETUP.SIF Entdos for Retail-Supplied Filss that Work with OEM
opiions in the UNATTEND.TXT 74
Third-Party Video Display D vérs and Display Settings 78
oplions for Microsoft-Suppued Video Drivers (Párt oi 1386/Aulo-Delecl6d)78
Oplions for OEM-Supplied Video Drivérs 79
TXfSETUP.OEM and loEltlBootFilesl 80
ÍXTSETUP.OE[, File: Foínal and Sample 80
Eror ¡ressages When Working with TXTSETUP.OEi,I a4

CI.IAPTER 3 COiIFIGURING MACHINE.SPECIFIC INFORMATIONST


Create Unique S€tup Scdpt Files for Each Compulet 87
I\,4odify the [rachine-Specific Settings Afterlhe Charactor 1\,4ode Podioñ oi
windows Nf 4.0 Setup 87
Edil¡ng the Windows NT 4.0 Selup Script (UNATfEND.TXT) After
Characler l\,4ode Setup 88
Ediling the Uniqueness Database File (.UDB) After Characler Mode S6tup88
Configure l,4achine-Specif ic lnfomation Using Uniqueness Daiabase Files
(.UDB) 89
Specilinga Unique ID... ................................89
Cr€ating the .UDB ......-.-.. ...............................-89
Replacing a Line in Setup scr¡pt............................................-...................90
Add;n8aNewLinetoSetupScript......................-....................................91
DeletinsaLinefromSetupScript........................................-......-.............91

CHAPTER 4 WINDOWS NT 4.O APPLICAf¡ON PRE-


tNSTALLAT|OT{ TOOL (SYSOIFF,EXE} .......,................................96
Overview 96
lnstalling SYSDIFF.EXE 96
SYSDIFF.EXE Parameters and Syntax 96
/snap l\¡ode 97
97
/apply [4ode sl
Dump l\¡ode 98
/inf Mode 99
Building Application lmagesfor Pre-lnstallation 100
Three Stéps to Build¡ng an Appl¡cation lmago 100
Adding an Application lrnagelo ihe D¡stibuiion Servé. 100
SYSD|FF,,inl Mode 101
SYSDIFF/apply [,{ode 101
Trouble6hooting SYSDI FF.EXE 142
Error lúessagei Sysiem Error 5. 102
Eror [,4sssage:An ¡ncorrecl orduplicale compuier name is creáled atler
applying the diflerence file. 102
Error Messag6: Contact the Manulacturer,., 102
Eror l\,lessage: Diff Failed (€nor=2) 103
Error l\,{essage: Oiff Failed (error=32) 103
Problem: Empty direclories on the master mach¡ne are not processed by
SYSDIFF/snap. 104
Problem: Some older applicelions that use .lNl liles do noi have lhe .lNF
lile copied. 104
Problern: Networks wiih Iimited bandwidlh experience problems when doing
sYsDlFF /lNF to lhe distribut¡on sorver. 104
Problem: Package fil6 dates are changed. tO4
Problem: The compuier stops responding (hangs)when you use the
SYSDIFF /apply cornmand. 105
Problem: The SYSDIFF tooltakes a lon?time to finish and the image file is
exlremely large. 105
Problem: When you run lhe SYSDIFF tool, it appears on lhe scréén brielly
and lhen nolhlng slse happens. 105
Problem: Some of the changes are not applied when you run the SYSDIFF
/apply command. 105
Problem: Network ddves appear in l\,,|y Computer atler you apply a
difference file. 106
Probl6m: Temporaryfiles are left in the folderwhere you are creaiing
SYSDIFF.EXE files. 106
Problem: SYSDIFF.EXE /apply orlnf fajls when updating an.lNlfile or
fa¡ls to copylhé.iNlfiles. 106

cHAprER 5 cUSTOMtztNG wlNDOWS Nr.........................,.....11O


110
Distnbutlñg Files Automatically Using Windows NT Sétup 1T0
Cu6lom¡zing the Start Menu 110
Tools lo Cuslomize windóws NT 111
REGEDIT-EXE 111
Configüring a System to Autom¿ticálly Logon and Execure a Progam..l13
Configuring System to Skip the Welcome Screen...................................114
Executing a Baich File on First Logon to Customize Windows NT........115
Adding Silent Application Setup Comrnands to a Batch File..................116
Customizing windows NT Logon ................................ . .. ... ......117
Execuling Commands Du ng Windows NT Setup - CI\TDLINES.TXT 119
using lhe Windows NT S6lup Engine. SETUPAPI.DLL 1r9
Remov¡ng the Gopher and World Wide Web (WWW) Services.............122
Aulomating lnstallalioñ of Windows NT Service Packs 122
Aulomai¡ng Seleclion of Windows Accéssodes and Componenis 123
Automaling lnstallation ol PeerWeb Services 126
Bemoving Microsott lnlérnel Explorer. Microsoft Exchange Client, and lmage
126
M;crosoft Intemet Explorer 2.0 IError! Marcador no definido.
[,4lcrosofl Exchange Cliéñt 126
127
Automaling lnstallalioñ of lvlicrosofl Exchange Server Client and Microsoft
lntemet Exploror 3.0xior Windows Nf 124
Auiomating Inslallallon ol lhe Exchange Clienl Supplied with Microsofl
Exchange Server 124
lnslallaiion of the l\¡icrosoft lntemel Explorer 3.0x 129
For l\,lore lnlomalion 129
^ ¡NTRODUCTION This deployment guide provides infomation, tips, and ficks lhal wi hetp you
utoñate the l\,{icrosoft@ Windows Ni@ setup process. tt is designed for

.
-.
lln+rr:;trírf,ffi"$*i'*l":l;#ii::;J#'""'
f\ricrosoft Windows NT includes manytools and features that can be used
to aulomate the selup process. You w¡ll f¡nd delailed information and
examples of lhese tools lñ lhe lollowing five chaptersl

. conf lguíng Mach¡ne-siecilic lnf ormal¡on

- .ll:ffi[[fi,,ffi:'J"n(sYsDrFFExE)

Cuide To Automaling Windows NT Setup 8


CHAPTER I This chapter includes an overvi€w ofrhe Microsoft windows NT deptoyment
tools, the steps ro autornari¡g the deployment process, ard derails abou¡ creating a
GEffING STARTED
distribution share for Windol's NT. In addition, it oovers what Microsoft
Windows NT Deployment Tools can and can¡ot do.

What Microsoft Windows NT Deployment Tools Can Do


lnslall many standard productivily applications. Sta¡dard productivily
applications are applicalions like l\,licrosoft Office orany oiher non-sérvice
type of applicalion.
Inslall the cor6 W¡ndows NT operating system. The core Windows NT
operating system consisis of the ñormal ¡tems required du ng Texl Mode
and GUI [,4odé setup io achieve a iunctloniñg installation of tho Windows
Nf operating system.
lnstallthé coré hardware components. Core hardware components include
SCSI drivers, display drivers, mouse dñvers, keyboard drivers, and the type
of processor used (HAL).
lnstallWindows NT BelailServices añd Prolocols. RelailService and
Protocols includes items lisléd lñ lhe Services and Protocol sections ol
Conlrol Panel Netlvork.
lnstallWindows NT Service Packs during lhe insiallaiion process.

What M¡crosoft Ylrindows NT Deploymeñt fools Cannot


Do
. Pre-insiall appl¡calions that run a6 services using ihe Systom Difference

Pre-inslallmultÍp¡€ hardware profiles. W¡ndows NT 4.0 supports the us6 of


mulliple hardwars proliles. Hardware profiles can oñly be configured using
ihe Conirol Panel Systom applét on a compleiely instatt6d Windows Nf 4.0
syslem.
Pre"install sound cards. Sound cards cannol be insialled dudng Windows
Nf setup. lnstead, sound cards must be installed afl6r Windows Nf 4.0
setup is complete,
Pre-install p nlérs. P nlers cannot be jnstalled duriñg Windows Nf setup_
lnstead, printers must be ¡nstalled afterWindows Nf 4.0 setup is complete.
lnsta¡lmultiple languagé versions of Windows Nf.
Uninstall Windows NT. Windows NT4.0 does not have an uninslall
proceduré. To remove Windows NT4.0 on FAT partilion boot from an
I!4S-DOS@ disk and run SYS.COIü C: to remove lhe Windows NT boot
sector, then delote lhe directories created by Windows NT setup. lJ the
syslém is NÍFS you must delete and recreate the pan¡tion lo remove

Configure Windows NT Auditing. W¡ndows NT Auditing is an advanced


foature otWlndows NT and there is no interface duíng 6éiup forthis
option.
Coñfigure Wlndows NT Replication. Windows NT Replication is an
advanced feature of Windows NT and lhere is no interface during sétup for

Guide To Automating Windows NT Serup 9


this oplion.
lnstallWindow NT Server l\racinlosh Services orApple Talk Prolocol.
Macinlosh Service orApple Talk Prolocol is not an aulomaled part of the
product, Manual installalion and configuration is requÍred.
lnstall PNPISA drivers.

Tools Used with windows NT Dep¡oyment


Setup Manager . Crcat¡ñg a Wiñdows NT 4.0 Setup Scr¡pt
F¡le {UNATTEND.TXT)
Setup Manageris the stafing point for building a basic Windows Nf setup
script. Selup [,lanager is localed in the \SUPPOR¡DEPTOOLS\ direclory on
ihe Windows NT 4.0 BetailCD. Selup lúanagerdoes not require any special
installation procedure. The ut¡lily can be run from ihe CD orcopied io a
direclory.

Systenr Diffé¡ence Tool: SYSDIFF.EXE


The System Diflerence tool eñablss you lo distribute and install applicalions
automaiically during or altérWiñdows NT selup. This can significantly reducé
deploymenl lime añd costs, lt can be used to record the changes made 10
your system wheñ añ applicatioñ is installed, lor oxamplé capiure those
changes in a 'package' and then 'apply" or install the package on anolher
system during oralterthe setup process.

W¡ndows NT Rog¡stry fools


REGEOI|.EXE
REGEDIT.ExE is a Windows NT suppl¡ed utilityfor working with the regislry.
REGEDIT.EXE is very similar to lhe one provided with wiñdows@ 95. lf you
are familjar with the lmporl and Expol features used oflen in Windows 95, lhe
same fuñctionalily is provided with Windows NT. See Chapter 5, "Customizing
Windows NT" lorexamples of howlo use REGEDIf.EXE with Windows Nf.

REGEDTS2,EXE
REGEDT32.EXE is a Windows NT suppliéd utilily forwoking with lho rogislry
hives. REGEDT32.EXE provides features lhat BEGEDIf.EXE does not.
REGEDT32.EXE is used to modilylhe slock registry hive supplied with lh6
Windows NT 4-0 operating system pdorlo installation of Windows NT. See
Chapler 5, "Customlzlng Windows N'l-'lor examplos of howio use
REGEDT32,EXE,

BEGINI,EXE
REGINI.EXE is a W¡ndows NT 4.0 Resource Kit ulility, which provides lhe
abilily to maké simple rnodificalions to the SYSÍEI\,{ and SOFTWARE registry
hives of the Wjndows NT réglstry. REGINI.EXE also provides the abilityto

Guide To Automatins Windows NT Setup 10


chang6/apply sécurity to thé registry. BEGtNt.EXE is inctuded with the
Windows NT4.0 Besource Kit. See Chapier 5, "Cusiomizing Windows NT"Jor
examples of howlo use REGINI.EXE.

Client Connectivity Sottware


ll you plan lo installW¡ndows NTirom a network distribution poinl on systems
with newlyformatted hard drives, ¡t willbe necessarylo build a client diskrhat
includes a network client, lfyou have Windows NTSeruer, a ñelworkclientis
provided on the windows NT Server retail CD in the \cLIENTS\MSCLIENT
directory. The [,{S Clieni can also be downloaded lrom
FTP,MICROSOFT,COM,

Uvlndows NT Setup: UNNT.EXE and WINHT32.EXE


Wiñdows NT includes both a 16-bit and a 32-bit version of seiup. Bolh provide
the same basic functional¡ty butthe 32-bit version, WlNNT32.EXE, willonly
run on Windows NT and can be used to upgrade an existiñg installalion of

MNNT,EXE and WNN|S2,EXE connand llne paruneterc


sou¡céparhl I/Tf:liempd¡ivel t/rt:linffilel
ITINNT [ /s [: ]
t/ul:sc¡ipEfilel I f /RIxl :directoryl t/E:coMañdl
/Sllsourcépath
Specil¡es th6 sourco localion of Windows NTfiles. Must b6 a full palh of thé
form xllpath] or \\serve^sharenpalhl. The default is the currenl directory.
/T iempdrive
Specifies a driv6lo conlain temporary setup flles. lf not specifiod, seiup will
attempl to locále a ddve ior you,
/lt:linfr¡le
Specilies lheliloname (no path)of the setup informaiion f¡le. The defauli is
DOSNET,INF,
/B Floppyless operation (requkes /s).
/lJ Unatlénded operaiion and optional script file (requires /s).
/R: Specifies oplionaldireclory to be ¡nsla¡led.
/RX Specifies optional direclory to be copied.
/E: Specifies commahd lo be executed at lh6 end ol GlJl setup.
/w Used wilh WINNT.EXE only for starting setup from within Windows 3.x o.
Windows 95. The /B oplion is disabled in ih¡s mode.

Steps to Automating Windows NT Deployment


Step I - Build the lvindows NT setup sc pt f¡le
(UNATTEND.TXT).
Slart by creating a basic windows NT sélup script. You can do ihis by using
one of the examples lhal are included orby using the windows NT Selup
I\,{anager. Once you havo created and lesled yourbasic scdpl, add ihe moré

Guide To Ar¡tomatine Windows NT Setup I I


advanced oplions olthe Windows NT setup script. See Chapter2,.The
Windows NT Setup Scípl (UNATTEñD.TXT) File" for syntax and parameters
and more details on creating your setup script. Also review Chaptor5,
"Customizing Windows NT" for information on aulomaling your process
beyond whal is possible wiih lhe Windows NT setup script.

Step 2 - Bulld pre-¡nstallat¡oñ packages us¡ng the


Systeñi Differeñce tool (SYSDIFF.EjXE),
Use the System Diflerence loolto automale pre-inslallatioñ of apptications
during Windows NT selup. See Chapler4, "Applicalion Pre-lnslallatlon
(SYSOIFF.EXE)' for detajls on using lhe Sysiem Difference lool.

Step 3 - Greate process to configure machine-spec¡lic


info]mation.
Crsale a Uniqueness Database (IJDB) filé orcreale machine specific setup
script liles for each compuler. You have several options for building a seiup
process that includes coñf¡guriñg syslems with machine-specific informaiion
wilhout requi ng user inleraction during setup. See Chaplor S, "Conjigufing
Machine Specific ln{ormation" tor details.

St6p 4 - Build process to automate your distribution


method.
The finalslep is dislributing the Windows NT source Íiles and any otherfiles to
each coñputer. You cañ use a network distribution point, hard driv6
duplicaiion, software distribution tools such as I\ricrosotl Systems ¡ranagement
Server or a local dévice such as a CD-ROM. lf you are installing Windows NT
on a newly formatled hard drive you will need a bool disklo eiiher access lhe
nelwork or possibly access a local device.

Building the D¡stribution Server


Before begiññing the process of automaling Windows NT setlrp you must build
a distribulion server. ln most cases the best distrjbulioñ poinl is a neh,vork
server. Meke suré you havé read, write, and change privileges on lh6 nélwork

Copy the W¡ndours Nf Source Files


To build the disfibution 6eNer, copyWindows NT source files from ihe
Windows NT retail CD to your ñetwork server. For Intel and lniel conrpatÍble-
based processors copy lhe 1386 dkectory and all of its contents lo your

Copy Custom FIIeB Uslng the §OEM! Diréctory


Windows NT setup includes a leature that can b€ used to aulomatically copy
dilectories, stañdard I\¡S-DOS 8.3 files, and any tools needed foryour
aulomaled installalion process, lo the local hard drive during setup. lt is based

Guide To Automaring windows NT Serup l2


on a pre-deflñsd direclory name and sfuclure. lf you include lhis directory and
slnJcture ln lhe rool of your dislribution point, the files and directoriés willbe
copied lo yorJr local hard ddve during Wiñdows NT setup.
Th6 pre-defined direclory name is $OE[.4$. lf Windows NT selup finds the
$OEM$ directory in lhe root of thé distdbul¡on poiñt, il will copy all o, the tiles
found in this direcloryto lhe lerñporary directory created duriñg thé i6xl mode
poñion of Windows NTsetup.

Note: Altüna vely, use the Awl¡catlon Prehsta ation fool (SYSDIFF.EXE)" to üeate
lhe SOEM§ .lireclory slruclu¡e, By using SYSDIFF,EXE to create lhe $oE¡r$ direclory
yoüw lé ñlnalethe l¡kel¡hood ol eÍo$ that arc bound lo occurwhen c¡eating lh6
$jEM$ ditactory end subdtecloÍie§ ñanuary, Anet hecause SYSDIFF.EXE also
aufu¡nalica y handles long Lneña' you wlll no¡ hava lo crcelelh. necessary
§,$RENAnEfxf liles. Fot no¡e ¡hfoñat¡on about SYSDIFF.EXE see Chapler 4,
" Appllce on Prc-hstallat¡ott Tool (SYSAFF,EXE).' For ñorc infoñation about lhe

§$RENAME.ÍrÍ l¡le see "Convérfing Sho¡t Fibneñes to Long F¡bneñés" latét in this

St¡ucture of the Dlstributior tha¡e Po¡nt


\<Disir ibution direciory>
\$oElvl$
\Textmode
\$$
\Net
\Disp¡ay
\<drive leiter>
\...
' \<ddve letier>

\<Disir¡but¡on dfector». includes ihe Windows NT source files and the


$OEM$ directory-

\$OEM$ directory lncludes:


Thé C¡.4DLINES.TXT file. This is a iext lil6lhal contaiñs commands you
wañt to execute duíng windows NT selup. This can be used exlensively
to cuslomize yourWindows NT inslallatlon. Details can be lound in
chápter 5, "Customizing Windows NT'.

Attiiles needed to éxecute any commands included in c[¡DLlNEs.TxT.


For example, if you include the lollowing command:

SYSDIFF /APPLY /m APPSDIFF.IMU

You would copy SYSDIFF.EXE, SYSDIFF.INF añd APPSDIFF.IIIQ to lhe


$OE[,]$ dlrectory.

\$OEM$\Texhode directory contains the hardware-dependenl files lhal


Setup Loader and Text l\,4ode Setup install to the larget compuler. These

Guide To Ar¡tomating Windows NT Setup 13


fil6s can include OEI!! HALS, SCSI, keyboard, video, and po¡nting device
ddvers, and TXTSETUP.OEIVI, which dire6ts ihe ]oadjng and insta ing of
lhesé components.

SOEM$\§$ directory contains the syslem fites (new lites or roplacement to


reiailfiles) ihat you want to copy io the various §ubdirectories when
W¡ndows NT is installed. The structure ot this directory mlrst match lhe
§tructure of a siandard Windows Nf ¡nstattation, where \§OEM$\$$
malches \%Windif/o, \$OE[,]$\gg\Sysrém32 maiches
\o/óWindif/Asystemsz, and so oñ. Each subdirectory should contain fh6
files that ñeéd lo be copied to the correspond¡ng system diroctory on lhe
target machine. This dkecloryshould also contain $SRename.txt, which
lisls all f¡les that need lo be renamed, such ás files in 8.3 iormat which
musl change to long filename§.
Forexample, if you jnsiallWindows NT in a directory named C\WtNNT and
file, ,4YBtTI\,tAP.BI\,trP to lhe
you want setup to copy a cusiom bit map
CIWINNT diroctory, you can copy MYBITMAP.BI\,P iñ the \<Distribution
direclorr>\$OEM$\$$ directory.

\SOEM$NET direclory contains only subdirectodes, each of which


contains lhelilés for a pariicularOEM network componeni (network cards,
netwo* services, and nelwork prolocol). Files in this direclory are used by
ihe neiwork porlion of Windows NT Selup.

\$OEM$\DISPLAY direclory includés f¡les for OEI\,t-supptied video dfivers.

\$OEM$\<dr¡vo letter) d¡rectory ¡ncludes anyfites or direciories you want


selup to copy to a drive specilied by <drive letteD. This direciory should
also conta¡n $$Rename.lxt, which l¡sts allfil6s that need to b6 renamed,
such as files in 8.3 format which must change to long filénames, For more
informallon see the "Convening Short Filenames lo Long Fitenames'
section later iñ lhis chapter.
Example: To create a diréctory named \DATA and copy fit€s tothis dir6c1ory
on your D ddve, you would create a dkectorywith the followiñg name on
your distribution share and copy al¡ ol the files you wani setup to copy in
this dkeciory:

\<Distribulion dieciory>\$OEM$\D\Data

Converting ShoÍt F¡lenames to Long Filenames


Tip - l, your MS.DoS lools cannol copy Windows NT selup uses a speciallile, $$Rename.txt, which contains
d¡rcclo¡¡es w¡lh palh names longer lhan 64 infomation on conveiing shoft f¡lenames lo long lilenames. You cañ create
cháraclers, you cán usé shod f¡lenames for the fíle rnañually using a text oditoror automaticatly by using the Syslem
lh6 dlrcclorl63 and then usé $$Bename.lxl lo D¡fference Tool ¡n /inf mode. ll you plan to use lhis fité, make sure to ptace it
rcmme them laler. in the diréctory of the distribulion dkectory conta¡ning the fitas that need to be

Guide To Automating Windows NT Setup 14


The syntaxlor $$Rename.txi is as followsi
lsectio¡,name-11
short_name_1 = "long_narñe_1'
short_name_2 ='long_name_2"

short name_x = "long_name_x'

lsection_name_21

section_nams_1 and so forth is th6 path to the directory lhai conlains


lhe files. A sectioñ can hávé no ñamé, or "l. as a name. ln this case it
¡ndicalés that lh6 soction containslhe nam6 of thelil6s or subdireclo es
lhal are on lhe root of the dñvé.
- shoñ_name_1 and solorlh islhe naméolthefilé orsubdiroclory inlhis
d¡rectorylo be renamed. lt musl NOT be enclosed in quotes.
long_name_1 and so forth is lhe new name of lhe file or subdirectory.
Note that this nam€ should be iñside double quoles ¡f il conlains spaces

Sample $$BENAME.TXT
N\¡SOl
[,llCROS-1.LNK="1üicrosofl PowerPoint Selup.lnk'
[4lcROS-2.LNK="¡.4icrosofl PowerPo¡nt.lnk'
TEI\,,lPLA-1 ="Templales"

[¡,4SO\Otfice\n¡SN]
MICBOS-1.MCC="Microsott Access 95 Forum.mcc"
MICBOS-2.[ilCC-"lt4icrosoft Excel 95 Forum.mcc"
MICBOS-3.[,¡CC='Micrósoft Oflice 95 Fórum.mcc"

Using Disk Duplication to D¡stribute Windows NT


You can use a disk duplication program or d6vic6 for clean or new iñstallation
environñeñts. This method can save time and effoñ in your production line.
To us6 this melhod, you musl acquire special equipment or software for
duplicating hard disks.

To preinstall to multiple x86-based computers:


1. Follow all of the sleps necessary io auiomate a windows NT Deployment,
including building your setup scripl, creatiñg packages for applications lhat
you want to pre-¡nslall, and any customization olWlndows NT. Testand
ve fyyourprocess, These sleps are identicalio lhose used in lhe other

G)ide To Automatinc Windows NT Setup l5


methods of d¡stdbuling Windows NTsource fites.
2. Bun Windows NT setup on one cómputer but stop Windows Nf setup at
the second reboot, after the text mode portion of setup and beforB the cut
mode ponjon of setup.
3. Remove and duplicate lhe had drivo of that computer.
4. lnstalllhe duplicate hard drive in a new machine.
5. Oplionally, follow ihe sleps in Chapter 3, 'Configuñng Machine Specific
lnformation" to "Modify the Machine-Specilic Settings Afterthe Character
I\,4ode Portion of Windows NT4.0 Setup."
6. Start the new machine. Ai this po¡ntlhe GUI mode portion oÍ setup wil
begin.

To pre-installto multiple BISc-based computers, you must insta Windows


NT on one of lhe computer's hard drives and lhen use ihal d.ive lo pre-inslajl
oñ a secoñd drivé. You lhen remove the sscond drive trom the compuler and
duplicaie il.

Ilole: M¡ctosoft does nol suppot¡ dupl¡catlon ol dtsks ¡t .luplicate.! att the Gul nocl6
poñdn ol Wkd1ws NT Wortíb on 4,0 setup. Using thls rnethod co¡nprcmisesthe
36ct ty ol yout 6ysems. Se¿ 0152001 'Do Not Disk oupticate tnstatle.t Verc¡orÉ ot
Winclows NT" in the M¡ctosoll Knowledqe Base ¡ot ¡norc thfofination.

Oncé a duplicate hard disk has been insialted jn a target computer, ths
computer is reády to complete Windowo NT setup.

lnstallation Perfoftnance Cons¡derations


Optiñiziñg Cl¡ent Cornectivlty Software
The 16-bil Windows NT setup program, WINNf.EXE, is subject to the same
conveñtional memory limilalions as any oiher 16-bi1MS-DOS appticalion.
f\remory ñañagement and disk caching are jmporiant to énsure the besl
performance during the text mode phase of Wiñdows NT Setup.
lf possible, use the Microsoft NetBEUl protocol for netwo connectivity.
The NelBEUlprolocolis smalland veryfast. Consjderation has to begivenlo
ensuré that access to the distibution point does fol requiro crossing a nelwork
routerwhen usiñg NetBEUl. lf you w¡sh to use NeiBEU I on a s€gmenled
nelwork, the deploymo¡t image can be copied lo a local share poinl on each
segmenl. The dlstribulion servercan b6 any machine ihal providés networkjng
support. For examplé, a laptop with l\¡icrosoft Windows 95 used as a poriable
dislñbufion séruer il desired.
lf using Microsoft Client 3.0, ensure thatlhe Change Redirector Option is
sél to Use lhe Basic Bedirector. The basic redkeclor provides all standard
wo*group functíons. lt also uses less memory añd disk space than the full
redireclor.

Optiniz¡ng the ChaÉcter Mode Setup Phase


Using HIMEMSYS and E¡¡l\,4386.EXE to maxirnize lhe availablé memory and

Guide To Automaring Windows NT Setup 16

S-ar putea să vă placă și