You are on page 1of 133

Operating System

Deployment Guide Automating Windows NT Setup

The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. Microsoft, Windows, Windows NT, the Windows logo, and M !"# are registered trademarks of Microsoft Corporation in the $nited tates and%or other countries. #ther trademarks or tradenames mentioned herein may be the trademarks of their respective owners. Microsoft Corporation & #ne Microsoft Way & 'edmond, W( )*+,-!./)) & $ ( -)0

Automating Windows NT Setup This deployment guide provides information, tips, and tricks that will help you automate the Microsoft Windows NT setup process. It is designed for Information Systems professionals that are tasked with installing either Windows NT Workstation or Windows NT Server on many computers. You should use this guide in con unction with !art " of the Windows NT Workstation #esource $it.

Microsoft Windows NT includes many tools and features that can %e used to automate the setup process. You will find detailed information and e&amples of these tools in the following five chapters' (etting Started The Windows NT Workstation ).* Setup Script +,N-TT.N/.T0T1 2ile 3onfiguring Machine4Specific Information -pplication !re4Installation +SYS/I22..0.1 3ustomi5ing Windows NT

Introduction.................................................................................8 Chapter 1 Getting Started...........................................................................8 What Microsoft Windows NT Deployment Tools Can Do 8 What Microsoft Windows NT Deployment Tools Cannot Do 9 Tools Used with Windows NT Deployment 9 Setup Manager - Creating a Windows NT !" Setup Script #ile $UN%TT&ND!T'T( 9 System Difference Tool) S*SD+##!&'& 9 Windows NT ,egistry Tools -"

C+NT'NTS

REGEDIT.EXE..........................................................................................10 REGEDIT32.EXE......................................................................................10 REGINI.EXE.............................................................................................10


Client Connecti.ity Software Windows NT Setup) W+NNT!&'& and W+NNT/0!&'& Steps to %utomating Windows NT Deployment Step - 1 2uild the Windows NT setup script file $UN%TT&ND!T'T(! Step 0 1 2uild pre-installation pac3ages using the System Difference tool $S*SD+##!&'&(! Step / 1 Create process to configure machine-specific information! Step - 2uild process to automate your distri4ution method! 2uilding the Distri4ution Ser.er Copy the Windows NT Source #iles Copy Custom #iles Using the 56&M5 Directory Structure of the Distri4ution Share 7oint Con.erting Short #ilenames to 8ong #ilenames Using Dis3 Duplication to Distri4ute Windows NT +nstallation 7erformance Considerations 6ptimi;ing Client Connecti.ity Software 6ptimi;ing the Character Mode Setup 7hase Decreasing the Num4er of #iles Copied During Setup ,emo.ing Third-7arty 7ro.ided Networ3 %dapter Dri.ers -" -" -----0 -0 -0 -0 -0 -9 -: -: -: -: -<

WINNT.EXE and WINNT32.EXE command line parameters................10

Removing Peer We !ervices....................................................................1"

Chapter The windows NT Wor!station ".# Setup Script $ile %&NATT'ND.T(T)......................................................................1* +ntroduction -< UN%TT&ND!T'T #ile #ormat and ,eference -8 Description of UN%TT&ND!T'T #ile 7arameters -8 =Unattended> -8 6em7reinstall -8 NoWait%fterTe?tMode -9

NoWait%fter@uiMode #ileSystem &?tend6em7artition ConfirmAardware NtUpgrade Win/-Upgrade 6.erwrite6em#iles6nUpgrade Target7ath ComputerType Bey4oard8ayout =MassStorageDri.ers> Cmass storage dri.er descriptionD =DisplayDri.ers> Cdisplay dri.er descriptionD =Bey4oardDri.ers> C3ey4oard dri.er descriptionD =7ointingDe.iceDri.ers> Cpointing de.ice dri.er descriptionD =6&M2oot#iles> T'TS&TU7!6&M Chal file nameD Cscsi dri.er file nameD =6&ME%ds> 2anner 8ogo 2ac3ground =@uiUnattended> 6emS3ipWelcome 6&M2lan3%dmin7assword TimeFone %d.Ser.erType Detached7rogram %rguments =UserData> #ullName 6rgName ComputerName 7roduct+D =8icense#ile7rintData> %utoMode %utoUsers =Display> Configure%t8ogon 2its7er7el 'resolution

-9 0" 0" 0" 00000 00 0/ 0/ 0/ 0 0 0 0 09 09 09 09 09 09 0: 0: 0: 0: 0< 0< 0< 0< 08 08 09 09 09 09 09 09 /" /" /" /" /" //-

*resolution Grefresh #lags %utoConfirm +nstallDri.er +nf#ile +nf6ption =Modem> +nstallModem =Cmodem parameter sectionD> CC6M port num4erD =Networ3> %ttended HoinWor3group HoinDomain CreateComputer%ccount +nstallDC Detect%dapters +nstall%dapters +nstall7rotocols +nstallSer.ices +nstall+nternetSer.er DoNot+nstall+nternetSer.er =CDetect %dapters SectionD> DetectCount 8imitTo CNetcard +nf optionD =C+nstall %dapters SectionD> CNetcard +nf optionD =Cnetcard parameter sectionD> =C7rotocols SectionD> N2# NW8NB+7' TC D8C ,%S77T7 ST,&%MS =CNet2eui 7arametersD> =C+7' 7arametersD> =CTcpip 7arametersD> DAC7 Scope+D =CD8C 7arametersD> =C,%S77T7 7arametersD> =CST,&%MS 7arametersD>

//0 /0 /0 /0 // // // // / / / / /9 /9 /9 /9 /: /: /: /: /: /< /< /< /< /8 /8 /8 /8 /8 /9 /9 /9 /9 /9 " " " " " " 0 0 0

=CSer.ices SectionD> SNM7 ,%S NWWBST% N&TM6N STC7+7 S%7 TC77,+NT DAC7 DNS W+NS =CNetWare Client 7arametersD> IDefault8ocation IDefaultScript6ptions =CSnmp 7arametersD> %cceptECommunityName SendE%uthentication %nyEAost 8imitEAost CommunityEName Traps ContactEName 8ocation Ser.ice =C,as7arametersD> 7ortSections Dialout7rotocols Dialin7rotocols Net2&U+Client%ccess Tcp+pClient%ccess UseDAC7 Static%ddress2egin Static%ddress&nd &?clude%ddress ClientCan,eJuest+7%ddress +p?Client%ccess %utomaticNetwor3Num4ers Networ3Num4er#rom %ssignSameNetwor3Num4er ClientsCan,eJuest+p?NodeNum4er =Cport section nameD> 7ortName De.iceType 7ortUsage =CN&TM6N 7arametersD>

0 0 / / /

9 9 9 9 : : : : : < < < < < 8 8 8 8 8 8 9 9 9 9 9 9" 9" 9" 9" 9" 999999-

=CSTC7+7 7arametersD> =CS%7 7arametersD> =CTC77,+NT 7arametersD> =CDAC7 7arametersD> =CDNS 7arametersD> =CW+NS 7arametersD> =Cinternet information ser.er sectionD> +nstall+N&TST7 +nstall%DM+N +nstall#T7 #T7,oot +nstallWWW WWW,oot +nstall@67A&, @opher,oot +nstallDir +nstallW/S%M7 +nstallATM8% @uest%ccountName @uest%ccount7assword Sample UN%TT&ND!T'T #iles Sample 0 Configuring Networ3 %dapters and Setup +nformation #iles for %utomated +nstallation 2uilding the Windows NT Setup Script Networ3 %dapters Section

90 90 90 90 90 90 90 90 90 9/ 9/ 9/ 9/ 9/ 9 9 9 9 9 9 99 9< 99 99

E#ample 1..................................................................................................$% E#ample 2.................................................................................................."0 E#ample 3.................................................................................................."1


Determining Networ3 %dapters 7arameters in the UN%TT&ND!T'T 6.er.iew of a Networ3 Component !+N# that Supports Unattended +nstallation ::0

!etting Parameters &or Net'or( )dapter *ards........................................"2 +eri&,ing and Testing *omponent .IN-s.................................................."3
Gerifying the 6&M #ile for ST#E@U+EUN%TT&ND&D :/ +nstallation of Networ3 %dapters Dri.ers Not Supplied on the Windows NT !" ,etail CD :9 2ypassing the KCurrent Netcard 7arameters %re Not Gerifia4ly CorrectK Message :: Networ3 %dapter 6ption Name :< Dri.er Supplied in the L+/8: Directory :< Dri.ers Supplied in the LD,G8+2LN&TC%,DL'8: and L+/8:LD,G8+2!N+C Directories :9 6&M +nstall 6ptions that Can 4e Used with UN%TT&ND!T'T <0 T'TS&TU7!S+# &ntries for ,etail-Supplied #iles that Wor3 with 6&M 6ptions in the UN%TT&ND!T'T <0 Third-7arty Gideo Display Dri.ers and Display Settings <:

6ptions for Microsoft-Supplied Gideo Dri.ers $7art of +/8:M%uto-Detected( <: 6ptions for 6&M-Supplied Gideo Dri.ers << T'TS&TU7!6&M and =6&M2oot#iles> <8 T'TS&TU7!6&M #ile) #ormat and Sample <8 &rror Messages When Wor3ing with T'TS&TU7!6&M 8/ Chapter , Con$iguring machine-speci$ic In$ormation...............................8" Create UniJue Setup Script #iles for &ach Computer 8 Modify the Machine-Specific Settings %fter the Character Mode 7ortion of Windows NT !" Setup 89 &diting the Windows NT !" Setup Script $UN%TT&ND!T'T( %fter Character Mode Setup 89 &diting the UniJueness Data4ase #ile $!UD2( %fter Character Mode Setup 89 Configure Machine-Specific +nformation Using UniJueness Data4ase #iles $!UD2( 8:

!peci&,ing a .ni/0e ID..............................................................................1" *reating t2e ..D3 ....................................................................................14 Replacing a 5ine in !et0p !cript ..............................................................11 )dding a Ne' 5ine to !et0p !cript ..........................................................11 Deleting a 5ine &rom !et0p !cript ............................................................11
Chapter " Windows NT ".# Application .re-Installation Tool %S/SDI00.'(')........................................1, 6.er.iew 9/ +nstalling S*SD+##!&'& 9/ S*SD+##!&'& 7arameters and Synta? 9/ Msnap Mode 9 Mdiff Mode 9 Mapply Mode 99 Dump Mode 99 Minf Mode 9: 2uilding %pplication +mages for 7re-+nstallation 9< Three Steps to 2uilding an %pplication +mage 98 %dding an %pplication +mage to the Distri4ution Ser.er 98 S*SD+## Minf Mode 98 S*SD+##Mapply Mode 99 Trou4leshooting S*SD+##!&'& -"" &rror Message) System &rror 9! -"&rror Message) %n incorrect or duplicate computer name is created after applying the difference file! -"&rror Message) Contact the Manufacturer!!! -"&rror Message) Diff #ailed $errorN0( -"0 &rror Message) Diff #ailed $errorN/0( -"0

7ro4lem) &mpty directories on the master machine are not processed 4y S*SD+## Msnap! -"0 7ro4lem) !+N+ files may not 4e updated or copied during S*SD+##Mapply or S*SD+##Minf! -"0 7ro4lem) Networ3s with limited 4andwidth e?perience pro4lems when doing S*SD+## Minf to the distri4ution ser.er! -"/ 7ro4lem) 7ac3age file dates are changed! -"/ 7ro4lem) The computer stops responding $hangs( when you use the S*SD+## Mapply command! -"/ 7ro4lem) The S*SD+## tool ta3es a long time to finish and the image file is e?tremely large! -" 7ro4lem) When you run the S*SD+## toolO it appears on the screen 4riefly and then nothing else happens! -" 7ro4lem) Some of the changes are not applied when you run the S*SD+## Mapply command! -" 7ro4lem) Networ3 dri.es appear in My Computer after you apply a difference file! -"9 7ro4lem) Temporary files are left in the folder where you are creating S*SD+##!&'& files! -"9 7ro4lem) S*SD+##!&'& Mapply or Minf fails when updating an !+N+ file or fails to copy the !+N+ files! -"9 Chapter 2 Customi3ing Windows NT.............................................................................1#8 6.er.iew -"8 Distri4uting #iles %utomatically Using Windows NT Setup -"8 Customi;ing the Start Menu -"8 Tools to Customi;e Windows NT -"9 ,&@&D+T!&'& -"9

*on&ig0ring a !,stem to )0tomaticall, 5ogon and E#ec0te a Program 111 *on&ig0ring !,stem to !(ip t2e Welcome !creen...................................112 E#ec0ting a 3atc2 -ile on -irst 5ogon to *0stomi6e Windo's NT.......117 )dding !ilent )pplication !et0p *ommands to a 3atc2 -ile.................11$ *0stomi6ing Windo's NT 5ogon...........................................................11$
&?ecuting Commands During Windows NT Setup - CMD8+N&S!T'T Using the Windows NT Setup &ngineO S&TU7%7+!D88 --< --8

Removing t2e Gop2er and World Wide We 8WWW9 !ervices............120


%utomating +nstallation of Windows NT Ser.ice 7ac3s -0" %utomating Selection of Windows %ccessories and Components -0%utomating +nstallation of 7eer We4 Ser.ices -0 ,emo.ing Microsoft +nternet &?plorerO Microsoft &?change ClientO and +mage Giewer -0 Microsoft +nternet &?plorer 0!" -0 Microsoft &?change Client -09 +mage Giewer -09

INT5+D&CTI+N C6A.T'5 1 G'TTING STA5T'D


%utomating +nstallation of Microsoft &?change Ser.er Client and Microsoft +nternet &?plorer /!"? for Windows NT -0: %utomating +nstallation of the &?change Client Supplied with Microsoft &?change Ser.er -0: +nstallation of the Microsoft +nternet &?plorer /!"? -08 #or More +nformation -08 This deployment guide pro.ides informationO tipsO and tric3s that will help you automate the Microsoft Windows NT setup process! +t is designed for +nformation Systems professionals that are tas3ed with installing either Windows NT Wor3station or Windows NT Ser.er on many computers! *ou should use this guide in conPunction with 7art - of the Windows NT Wor3station ,esource Bit! Microsoft Windows NT includes many tools and features that can 4e used to automate the setup process! *ou will find detailed information and e?amples of these tools in the following fi.e chapters) @etting Started The Windows NT Wor3station !" Setup Script $UN%TT&ND!T'T( #ile Configuring Machine-Specific +nformation %pplication 7re-+nstallation $S*SD+##!&'&( Customi;ing Windows

This chapter includes an o.er.iew of the Microsoft Windows NT deployment toolsO the steps to automating the deployment processO and details a4out creating a distri4ution share for Windows NT! +n additionO it co.ers what Microsoft Windows NT Deployment Tools can and cannot do!
What 4icroso$t Windows NT Deployment Tools Can Do

+nstall many standard producti.ity applications! Standard producti.ity applications are applications li3e Microsoft 6ffice or any other non-ser.ice type of application! +nstall the core Windows NT operating system! The core Windows NT operating system consists of the normal items reJuired during Te?t Mode and @U+ Mode setup to achie.e a functioning installation of the Windows NT operating system! +nstall the core hardware components! Core hardware components include SCS+ dri.ersO display dri.ersO mouse dri.ersO 3ey4oard dri.ersO and the type of processor used $A%8(! +nstall Windows NT ,etail Ser.ices and 7rotocols! ,etail Ser.ice and 7rotocols includes items listed in the Ser.ices and 7rotocol sections of Control 7anel Networ3! +nstall Windows NT Ser.ice 7ac3s during the installation process!

What 4icroso$t Windows NT Deployment Tools Cannot Do

7re-install applications that run as ser.ices using the System Difference tool! 7re-install multiple hardware profiles! Windows NT !" supports the use of multiple hardware profiles! Aardware profiles can only 4e configured using the Control 7anel System applet on a completely installed Windows NT !" system! 7re-install sound cards! Sound cards cannot 4e installed during Windows NT setup! +nsteadO sound cards must 4e installed after Windows NT !" setup is complete! 7re-install printers! 7rinters cannot 4e installed during Windows NT setup! +nsteadO printers must 4e installed after Windows NT !" setup is complete! +nstall multiple language .ersions of Windows NT! Uninstall Windows NT! Windows NT !" does not ha.e an uninstall procedure! To remo.e Windows NT !" on #%T partition 4oot from an MS-D6S dis3 and run S*S!C6M C) to remo.e the Windows NT 4oot sectorO then delete the directories created 4y Windows NT setup! +f the system is NT#S you must delete and recreate the partition to remo.e Windows NT! Configure Windows NT %uditing! Windows NT %uditing is an ad.anced feature of Windows NT and there is no interface during setup for this option! Configure Windows NT ,eplication! Windows NT ,eplication is an ad.anced feature of Windows NT and there is no interface during setup for this option! +nstall Window NT Ser.er Macintosh Ser.ices or %pple Tal3 7rotocol! Macintosh Ser.ice or %pple Tal3 7rotocol is not an automated part of the product! Manual installation and configuration is reJuired! +nstall 7N7+S% dri.ers!

Tools &sed with Windows NT Deployment


Setup 4anager - Creating a Windows NT ".# Setup Script 0ile %&NATT'ND.T(T)

Setup Manager is the starting point for 4uilding a 4asic Windows NT setup script! Setup Manager is located in the LSU776,TLD&7T668SL directory on the Windows NT !" ,etail CD! Setup Manager does not reJuire any special installation procedure! The utility can 4e run from the CD or copied to a directory!
System Di$$erence Tool7 S/SDI00.'('

The System Difference tool ena4les you to distri4ute and install applications automatically during or after Windows NT setup! This can significantly reduce deployment time and costs! +t can 4e used to record the changes made to your

system when an application is installedO for e?ample capture those changes in a Kpac3ageK and then KapplyK or install the pac3age on another system during or after the setup process!
Windows NT 5egistry Tools

REGEDIT.EXE ,&@&D+T!&'& is a Windows NT supplied utility for wor3ing with the registry! ,&@&D+T!&'& is .ery similar to the one pro.ided with Windows 99! +f you are familiar with the +mport and &?port features used often in Windows 99O the same functionality is pro.ided with Windows NT! See Chapter 9O KCustomi;ing Windows NTK for e?amples of how to use ,&@&D+T!&'& with Windows NT! REGEDIT32.EXE ,&@&D+T/0!&'& is a Windows NT supplied utility for wor3ing with the registry hi.es! ,&@&D+T/0!&'& pro.ides features that ,&@&D+T!&'& does not! ,&@&DT/0!&'& is used to modify the stoc3 registry hi.e supplied with the Windows NT !" operating system prior to installation of Windows NT! See Chapter 9O QCustomi;ing Windows NTR for e?amples of how to use ,&@&D+T/0!&'&! REGINI.EXE ,&@+N+!&'& is a Windows NT !" ,esource Bit utilityO which pro.ides the a4ility to ma3e simple modifications to the S*ST&M and S6#TW%,& registry hi.es of the Windows NT registry! ,&@+N+!&'& also pro.ides the a4ility to changeMapply security to the registry! ,&@+N+!&'& is included with the Windows NT !" ,esource Bit! See Chapter 9O QCustomi;ing Windows NTR for e?amples of how to use ,&@+N+!&'&!
Client Connecti8ity So$tware

+f you plan to install Windows NT from a networ3 distri4ution point on systems with newly formatted hard dri.esO it will 4e necessary to 4uild a client dis3 that includes a networ3 client! +f you ha.e Windows NT Ser.erO a networ3 client is pro.ided on the Windows NT Ser.er retail CD in the LC8+&NTSLMSC8+&NT directory! The MS Client can also 4e downloaded from #T7!M+C,6S6#T!C6M!
Windows NT Setup7 WINNT.'(' and WINNT, .'('

Windows NT includes 4oth a -:-4it and a /0-4it .ersion of setup! 2oth pro.ide the same 4asic functionality 4ut the /0-4it .ersionO W+NNT/0!&'&O will only run on Windows NT and can 4e used to upgrade an e?isting installation of Windows NT! WINNT.EXE and WINNT32.EXE command line parameters
WINNT [/S[:]sourcepath] [/T[:]tempdrive] [/I[:]inffile]

[/U[:scriptfile]] [/R[X]:directory] [/ :command]

MS=)>sourcepath Specifies the source location of Windows NT files! Must 4e a full path of the form ?)L=path> or LLser.erLshare=Lpath>! The default is the current directory! MT=)>tempdri.e Specifies a dri.e to contain temporary setup files! +f not specifiedO setup will attempt to locate a dri.e for you! M+=)>inffile Specifies the filename $no path( of the setup information file! The default is D6SN&T!+N#! M2 #loppyless operation $reJuires Ms(! MU Unattended operation and optional script file $reJuires Ms(! M,) Specifies optional directory to 4e installed! M,' Specifies optional directory to 4e copied! M&) Specifies command to 4e e?ecuted at the end of @U+ setup! MW Used with W+NNT!&'& only for starting setup from within Windows /!? or Windows 99! The M2 option is disa4led in this mode!

Steps to Automating Windows NT Deployment


Step 1 9 :uild the Windows NT setup script $ile %&NATT'ND.T(T).

Start 4y creating a 4asic Windows NT setup script! *ou can do this 4y using one of the e?amples that are included or 4y using the Windows NT Setup Manager! 6nce you ha.e created and tested your 4asic scriptO add the more ad.anced options of the Windows NT setup script! See Chapter 0O KThe Windows NT Setup Script $UN%TT&ND!T'T( #ileK for synta? and parameters and more details on creating your setup script! %lso re.iew Chapter 9O KCustomi;ing Windows NTK for information on automating your process 4eyond what is possi4le with the Windows NT setup script!
Step 9 :uild pre-installation pac!ages using the System Di$$erence tool %S/SDI00.'(').

Use the System Difference tool to automate pre-installation of applications during Windows NT setup! See Chapter O K%pplication 7re-+nstallation $S*SD+##!&'&(K for details on using the System Difference tool!
Step , 9 Create process to con$igure machine-speci$ic in$ormation.

Create a UniJueness Data4ase $UD2( file or create machine specific setup script files for each computer! *ou ha.e se.eral options for 4uilding a setup process that includes configuring systems with machine-specific information without reJuiring user interaction during setup! See Chapter /O KConfiguring Machine Specific +nformationK for details!

Step " - :uild process to automate your distri;ution method.

The final step is distri4uting the Windows NT source files and any other files to each computer! *ou can use a networ3 distri4ution pointO hard dri.e duplicationO software distri4ution tools such as Microsoft Systems Management Ser.er or a local de.ice such as a CD-,6M! +f you are installing Windows NT on a newly formatted hard dri.e you will need a 4oot dis3 to either access the networ3 or possi4ly access a local de.ice!

:uilding the Distri;ution Ser8er


2efore 4eginning the process of automating Windows NT setup you must 4uild a distri4ution ser.er! +n most cases the 4est distri4ution point is a networ3 ser.er! Ma3e sure you ha.e readO writeO and change pri.ileges on the networ3 ser.er you use!
Copy the Windows NT Source 0iles

To 4uild the distri4ution ser.erO copy Windows NT source files from the Windows NT retail CD to your networ3 ser.er! #or +ntel and +ntel compati4le4ased processors copy the +/8: directory and all of its contents to your networ3 ser.er!
Copy Custom 0iles &sing the <+'4< Directory

Windows NT setup includes a feature that can 4e used to automatically copy directoriesO standard MS-D6S 8!/ filesO and any tools needed for your automated installation processO to the local hard dri.e during setup! +t is 4ased on a pre-defined directory name and structure! +f you include this directory and structure in the root of your distri4ution pointO the files and directories will 4e copied to your local hard dri.e during Windows NT setup! The pre-defined directory name is 56&M5! +f Windows NT setup finds the 56&M5 directory in the root of the distri4ution pointO it will copy all of the files found in this directory to the temporary directory created during the te?t mode portion of Windows NT setup! Note: Alternatively, se t!e Application "re#Installation Tool $%&%DI''.EXE() to create t!e *+E,* directory str ct re. -y sin. %&%DI''.EXE to create t!e *+E,* directory yo /ill eliminate t!e li0eli!ood o1 errors t!at are 2o nd to occ r /!en creatin. t!e *+E,* directory and s 2directories man ally. And 2eca se %&%DI''.EXE also a tomatically !andles lon. 1ilenames yo /ill not !ave to create t!e necessary * *RENA,E.TXT 1iles. 'or more in1ormation a2o t %&%DI''.EXE see 3!apter 4, )Application "re#Installation Tool $%&%DI''.EXE(.) 'or more in1ormation a2o t t!e * *RENA,E.TXT 1ile see )3onvertin. %!ort 'ilenames to 5on. 'ilenames) later in t!is c!apter.
Structure o$ the Distri;ution Share .oint

LCDistri4ution directoryD L56&M5 LTe?tmode L55 LNet

LDisplay LCdri.e letterD LS LCdri.e letterD Where) \<Distribution directory> includes the Windows NT source files and the 56&M5 directory! \$OEM$ directory includes: The CMD8+N&S!T'T file! This is a te?t file that contains commands you want to e?ecute during Windows NT setup! This can 4e used e?tensi.ely to customi;e your Windows NT installation! Details can 4e found in Chapter 9O KCustomi;ing Windows NTK! %ll files needed to e?ecute any commands included in CMD8+N&S!T'T! #or e?ampleO if you include the following command) S*SD+## M%778* Mm %77SD+##!+M@ *ou would copy S*SD+##!&'&O S*SD+##!+N# and %77SD+##!+M@ to the 56&M5 directory! \$OEM$\Textmode directory contains the hardware-dependent files that Setup 8oader and Te?t Mode Setup install to the target computer! These files can include 6&M A%8sO SCS+O 3ey4oardO .ideoO and pointing de.ice dri.ersO and T'TS&TU7!6&MO which directs the loading and installing of these components! \$OEM$\$$ directory contains the system files $new files or replacement to retail files( that you want to copy to the .arious su4directories when Windows NT is installed! The structure of this directory must match the structure of a standard Windows NT installationO where L56&M5L55 matches LTWindirTO L56&M5L55LSystem/0 matches LTWindir TLSystem/0O and so on! &ach su4directory should contain the files that need to 4e copied to the corresponding system directory on the target machine! This directory should also contain 55,ename!t?tO which lists all files that need to 4e renamedO such as files in 8!/ format which must change to long filenames! #or e?ampleO if you install Windows NT in a directory named C)LW+NNT and you want setup to copy a custom 4it map fileO M*2+TM%7!2M7 to the C)LW+NNT directoryO you can copy M*2+TM%7!2M7 in the LCDistri4ution directoryDL56&M5L55 directory! \$OEM$\NET directory contains only su4directoriesO each of which contains the files for a particular 6&M networ3 component $networ3 cardsO

networ3 ser.icesO and networ3 protocol(! #iles in this directory are used Tip - If your MS-DOS tools cannot copy directories with path names longer than 6 characters! you can use short filenames for the directories and then use ""#ename$t%t to rename them later$ 4y the networ3 portion of Windows NT Setup! \$OEM$\DISPL ! directory includes files for 6&M-supplied .ideo dri.ers! \$OEM$\<dri"e letter> directory includes any files or directories you want setup to copy to a dri.e specified 4y Cdri.e letterD! This directory should also contain 55,ename!t?tO which lists all files that need to 4e renamedO such as files in 8!/ format which must change to long filenames! #or more information see the KCon.erting Short #ilenames to 8ong #ilenamesK section later in this chapter! &?ample) To create a directory named LD%T% and copy files to this directory on your D dri.eO you would create a directory with the following name on your distri4ution share and copy all of the files you want setup to copy in this directory) LCDistri4ution directoryDL56&M5LDLData

Con8erting Short 0ilenames to =ong 0ilenames


Windows NT setup uses a special fileO 55,ename!t?tO which contains information on con.erting short filenames to long filenames! *ou can create the file manually using a te?t editor or automatically 4y using the System Difference Tool in Minf mode! +f you plan to use this fileO ma3e sure to place it in the directory of the distri4ution directory containing the files that need to 4e con.erted! The synta? for 55,ename!t?t is as follows) =sectionEnameE-> shortEnameE- N KlongEnameE-K shortEnameE0 N KlongEnameE0K ! shortEnameE? N KlongEnameE?K =sectionEnameE0> ! Where) 1 sectionEnameE- and so forth is the path to the directory that contains the files! % section can ha.e no nameO or KLK as a name! +n this case it

indicates that the section contains the name of the files or su4directories that are on the root of the dri.e! 1 shortEnameE- and so forth is the name of the file or su4directory in this directory to 4e renamed! +t must N6T 4e enclosed in Juotes! 1 longEnameE- and so forth is the new name of the file or su4directory! Note that this name should 4e inside dou4le Juotes if it contains spaces or commas! S#m$le $$%EN ME&T'T =LMS6> M+C,6SU-!8NBNKMicrosoft 7ower7oint Setup!ln3K M+C,6SU0!8NBNKMicrosoft 7ower7oint!ln3K T&M78%U-NKTemplatesK =LMS6L6fficeLMSN> M+C,6SU-!MCCNKMicrosoft %ccess 99 #orum!mccK M+C,6SU0!MCCNKMicrosoft &?cel 99 #orum!mccK M+C,6SU/!MCCNKMicrosoft 6ffice 99 #orum!mccK

&sing Dis! Duplication to Distri;ute Windows NT


*ou can use a dis3 duplication program or de.ice for clean or new installation en.ironments! This method can sa.e time and effort in your production line! To use this methodO you must acJuire special eJuipment or software for duplicating hard dis3s! To preinstall to multiple ?8:-4ased computers) #ollow all of the steps necessary to automate a Windows NT DeploymentO including 4uilding your setup scriptO creating pac3ages for applications that you want to pre-installO and any customi;ation of Windows NT! Test and .erify your process! These steps are identical to those used in the other methods of distri4uting Windows NT source files! ,un Windows NT setup on one computer 4ut stop Windows NT setup at the second re4ootO after the te?t mode portion of setup and 4efore the @U+ mode portion of setup! ,emo.e and duplicate the hard dri.e of that computer! +nstall the duplicate hard dri.e in a new machine! 6ptionallyO follow the steps in Chapter /O KConfiguring Machine Specific +nformationK to KModify the Machine-Specific Settings %fter the Character Mode 7ortion of Windows NT !" Setup!K Start the new machine! %t this point the @U+ mode portion of setup will 4egin! To pre-install to multiple ,+SC-4ased computersO you must install Windows NT on one of the computerVs hard dri.es and then use that dri.e to pre-install on a second dri.e! *ou then remo.e the second dri.e from the computer and duplicate it!

Note: ,icroso1t does not s pport d plication o1 dis0s i1 d plicated a1ter t!e G6I mode portion o1 Windo/s NT Wor0station 4.7 set p. 6sin. t!is met!od compromises t!e sec rity o1 yo r systems. %ee 89:2779 )Do Not Dis0 D plicate Installed ;ersions o1 Windo/s NT) in t!e ,icroso1t <no/led.e -ase 1or more in1ormation. 6nce a duplicate hard dis3 has 4een installed in a target computerO the computer is ready to complete Windows NT setup!

Installation .er$ormance Considerations


+ptimi3ing Client Connecti8ity So$tware

The -:-4it Windows NT setup programO W+NNT!&'&O is su4Pect to the same con.entional memory limitations as any other -:-4it MS-D6S application! Memory management and dis3 caching are important to ensure the 4est performance during the te?t mode phase of Windows NT Setup! +f possi4leO use the Microsoft Net2&U+ protocol for networ3 connecti.ity! The Net2&U+ protocol is small and .ery fast! Consideration has to 4e gi.en to ensure that access to the distri4ution point does not reJuire crossing a networ3 router when using Net2&U+! +f you wish to use Net2&U+ on a segmented networ3O the deployment image can 4e copied to a local share point on each segment! The distri4ution ser.er can 4e any machine that pro.ides networ3ing support! #or e?ampleO a laptop with Microsoft Windows 99 used as a porta4le distri4ution ser.er if desired! +f using Microsoft Client /!"O ensure that the Change ,edirector 6ption is set to Use the 2asic ,edirector! The 4asic redirector pro.ides all standard wor3group functions! +t also uses less memory and dis3 space than the full redirector!
+ptimi3ing the Character 4ode Setup .hase

Using A+M&M!S*S and &MM/8:!&'& to ma?imi;e the a.aila4le memory and using SM%,TD,G!&'& to manage dis3 caching can ha.e a significant impact on the time necessary to complete the first phase of setup! +n some cases it can cut the time to completion 4y more than :"T! ,efer to the MS-D6S Users @uide for additional information!
Decreasing the Num;er o$ 0iles Copied During Setup

*ou can eliminate up to 09M2 of file transfer during the initial te?t mode phase of setup 4y remo.ing unneeded components! Removin. "eer We2 %ervices When installing Microsoft Windows NT Wor3station !" using an UN%TT&ND!T'T fileO there is no option to install 7eer We4 Ser.ices! 7eer We4 Ser.ices can 4e automated after the installation of Windows NTO see Chapter 9O KCustomi;ing Windows NTK! Since 7eer We4 Ser.ices is not installed during setupO you can remo.e the L+N&TS,G directory and can sa.e appro?imately 9M2 of file transfer! Note that this does not apply to Microsoft

C6A.T'5 T6' WIND+WS NT W+5>STATI+N ".# S'T&. SC5I.T 0I=' %&NATT'ND.T(T)


Windows NT !" Ser.er! The D6SN&T!+N# controls what optional directories are copied during the te?t mode phase of setup! To pre.ent setup from copying the L+N&TS,G directoryO edit D6SN&T!+N# with a te?t editor and locate +N&TS,G under the =6ptionalSrcDirs> section and place a semi-colon at the 4eginning of the line! &?ample) =6ptionalSrcDirs> W inetsr. dr.li4!nic
5emo8ing Third-.arty .ro8ided Networ! Adapter Dri8ers

During the installation of Windows NT !"O the optional source directory D,G8+2!N+C is copied 4y default during the initial te?t mode phase of setup! The D6SN&T!+N# controls what optional directories are copied during the Te?t Mode phase of setup! Commenting out D,G8+2!N+C can sa.e up to 0"M2 of file transfers! To stop the copy of the D,G8+2!N+C directoryO edit D6SN&T!+N# with a te?t editor and locate D,G8+2!N+C under the =6ptionalSrcDirs> section and place a semi-colon in at the 4eginning of the line! &?ample) =6ptionalSrcDirs> inetsr. W dr.li4!nic Special consideration must 4e gi.en 4efore commenting out D,G8+2!N+C with a semicolon! +f the networ3 adapters 4eing used reJuire that files from the D,G8+2!N+CO do not comment out the lineO instead remo.e all directories that are not needed which will still pro.ide an increase in performance!

Introduction
*ou can specify the settings for Windows NT !" installations 4y creating a custom file in UN%TT&ND!T'T format and using this setup script for installation! To run Windows NT !" setup using a setup scriptO you must specify the name of your script file and the location of the Windows NT !" source files) &?amples)
WINNT /U:!:"i#$%"UN&TT N'(TXT /S:!:"i#$% WINNT#) /U:*+S,RI-T(TXT /S:""*+S R. R"i#$%

Where #)Li/8:LUN%TT&ND!T'T and M*SC,+7T!T'T are the names of setup script files and #)Li/8: and LLM*S&,G&,Li/8: are locations of the Windows NT !" installation files! 2oth can 4e any locationO local or networ3-4ased! Note: T!e 1ilename 1or t!e set p script 1ile m st ad!ere to t!e ,%#D+% =.3 1ile 1ormat. +n this documentO the setup script file will 4e referred to as the UN%TT&ND!T'T file! There are two e?amples of the UN%TT&ND!T'T at the end of this chapter!

&NATT'ND.T(T 0ile 0ormat and 5e$erence


+n generalO a setup script file consists of section headersO parametersO and .alues for those parameters! Most of the section headers are pre-defined whereas some may 4e user-defined! +t is not necessary to specify all of the possi4le parametersM3eys in an UN%TT&ND!T'T if the installation does not reJuire them! The file format is as follows)
[section/] 0 0 0 0 0 0 1ey 5 value ( ( [section)] 1ey 5 value ( ( Section contains 1eys and the correspondin2 values for those 1eys/parameters( 1eys and values are separated 3y 454 si2ns .alues usually re6uire dou3le 6uotes 44 around them

Description o$ &NATT'ND.T(T 0ile .arameters ?&nattended@


This section header is used to identify whether an unattended installation is 4eing performed or not! The =Unattended> section must e?ist or the UN%TT&ND&D!T'T file will 4e ignored! 7arameters that can e?ist in this section are discussed 4elow!
+em.reinstall

Galues) *es X No &?ample Synta?)

6em7reinstall N *es Determines whether a special su4directoryO L56&M5O will 4e copied and certain sections will used during setup! When the .alue is !esO the L56&M5 directory will 4e copied during setup and the following sections will 4e used during setup! No will cause the L56&M5 directory and the following sections to 4e ignored! Note: +f the .alue of OemPreinst#ll is !es the following sections will 4e included in the (N TTENDED&T'T file)

)M#ssStor#*eDri"ers+ ),eybo#rdDri"ers+ )Pointin*De"iceDri"ers+ )OEM-oot.iles+ )OEM/ ds+ The following options are also ena4led under the =Display> section) )Dis$l#y+ Inst#llDri"er In0O$tion In0O$tion.ile
See the Q6&M 7re-+nstall 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
NoWaitA$terTeAt4ode

Galue) 1 2 3 &?ample Synta?) NoWait%fterTe?tMode N This 3ey determines whether the te?t mode portion of setup should automatically 4oot into @U+ mode or not! +t is only .alid when OemPreinst#ll 4 !es! The default 4eha.ior is to halt after te?t mode during a pre-installation! 1 indicates that setup should halt after te?t mode and 3 indicates that setup should automatically re4oot into @U+ setup mode after te?t mode is complete! Note: +f &?tend6em7artion is eJual to 3 $see 4elow( then setup cannot automatically re4oot into @U+ setup mode after te?t mode is complete! This key can only be specified in the answer file, not in the $"1.
NoWaitA$terGui4ode

Galue) 1 2 3 &?ample Synta?) NoWait%fter@uiMode N This 3ey determines whether the @U+ mode portion of setup should

automatically re4oot to the logon screen or not! +t is only .alid when OemPreinst#ll 4 !es! The default 4eha.ior is to halt at the end of @U+ mode setup! 1 indicates that setup should halt after @U+ mode and 3 indicates that setup should automatically re4oot after @U+ mode is complete! This key can only be specified in the answer file, not in the $"1 .
0ileSystem

Galue) 5on"ertNT.S 2 Le#"e lone &?ample Synta?) #ileSystem N Con.ertNT#S or #ileSystem N 8ea.e%lone This 3ey specifies whether the primary partition should 4e con.erted to NT#S or left alone! +n generalO partitions greater than 9-0M2 should 4e con.erted to NT#S! This key can only be specified in the answer file, not in the $"1 !
'Atend+em.artition

Galue) 1 2 3 &?ample Synta?) &?tend6em7artition N The ExtendOemP#rtition 3ey is used to install Windows NT on a dis3 that is greater than 0@2! This 3ey causes te?t mode setup to e?tend the partition on which the temporary Windows NT sources are located into any a.aila4le unpartitioned space that physically follows it on the dis3! The temporary install source MUST 4e a primary partition and limited to -"0 cylinders only! Writing 4eyond the -"0 cylinder will cause the installation to fail! 1 implies that the partition will not 4e e?tended and 3 indicates that it should 4e e?tended! When the .alue is 3O the .ileSystem 3ey must 4e set to 5on"ertNT.S! Note: With this optionO Windows NT setup cannot automatically re4oot into @U+ setup mode after te?t mode is complete! The user will 4e prompted to press a 3ey to re4oot the system! This key can only be specified in the answer file, not in the $"1.
Con$irm6ardware

Galue) !es 2 No &?ample Synta?)

ConfirmAardware N yes This 3ey determines whether a user should manually confirm hardware and mass storage de.ices detected 4y the setup program! !es indicates that a user must manually confirm the hardware detected and No implies setup should install the detected de.ices! #or a complete unattended installationO this 3ey should 4e set to No! This key can only be specified in the answer file, not in the $"1.
Nt&pgrade

Galues) !es 2 No 2 M#nu#l 2 Sin*le &?ample Synta?) NtUpgrade N No This 3ey determines whether a pre.ious .ersion of Windows NT Wor3station or Ser.er should 4e upgraded or not! +t should 4e set to !es in order to perform an upgrade! !es indicates that the detected Windows NT installation should 4e upgraded! +f multiple installations are detectedO the first installation found is upgraded! No causes Windows NT setup to halt if a Windows NT installation is found! This is the desired .alue when 6em7reinstall N *es! M#nu#l implies that the user must specify which pre.ious installation should 4e upgraded! Sin*le indicates that the upgrade should continue only if a single Windows NT installation is found! +f multiple installations are foundO the user must manually select which installation to upgrade! This key can only be specified in the answer file, not in the $"1.
Win,1&pgrade

Galues) !es 2 No &?ample Synta?) Win/-Upgrade N No The Win/-Upgrade 3ey determines whether pre.ious installations of Windows /!? or Windows for Wor3groups should 4e upgraded to Windows NT! !es indicates that the Windows installation should 4e upgraded and No means do not upgrade the installation if found! This key can only be specified in the answer file, not in the $"1.
+8erwrite+em0iles+n&pgrade

Galues) !es 2 No &?ample Synta?) 6.erwrite6em#iles6nUpgrade N *es

This 3ey determines whether 6&M-supplied files that ha.e the same name as Windows NT system files should 4e o.erwritten during an unattended upgrade or not! !es means o.erwrite the files and No means do not o.erwrite if found! The default 4eha.ior is to o.erwrite 6&M-supplied files! This key can only be specified in the answer file, not in the $"1.
Target.ath

Galues) Y 2 <$#t6 n#me> 2 M#nu#l &?ample Synta?) Target7ath N LWinnt This 3ey determines the installation directory in which Windows NT should 4e installed! 7 implies that setup should generate a uniJue directory name for the installation! This is usually W+NNT!? where ? is "O -O SO etc! <$#t6 n#me> is user-defined install directory! Do not use dri.e letters see the note 4elow! M#nu#l indicates that setup should prompt the user to enter the install path! Note: To place the W+NNT directory on any dri.e other than C)O use the MT) command line switch with W+NNT!&'& or W+NNT/0!&'&! The MT) switch places the 5W+NENT5!U8S directory on the dri.e specified and Windows NT will 4y default install to the dri.e! The system files NTD&T&CT!C6MO NT8D,O and 266T!+N+ will still 4e placed on the acti.e partition which is usually C)! This key can only be specified in the answer file, not in the $"1.
ComputerType

Galues) <6#l descri$tion> )8 %et#il 2 OEM+ &?ample Synta?) ComputerType N KStandard 7C - 6&MKOK6&MK This 3ey indicates the type of Aardware %4straction 8ayer $A%8( to 4e loaded 4y the Setup 8oaderO and installed 4y Te?t Mode Setup! +f this 3ey is not presentO then setup will attempt to detect the type of computer and install the appropriate retail A%8! +t is only .alid when OemPreinst#ll 4 !es& The <6#l descri$tion> string identifies the A%8 to 4e installed! +t must match one of the strings in the [,omputer] section of T'TS&TU7!S+# $for a retail A%8(O or T'TS&TU7!6&M $for an 6&M A%8(! %ET IL informs setup that the A%8 to 4e installed is part of the Windows NT product! OEM indicates that the A%8 to 4e loaded is 6&M-supplied! +f the A%8 is

6&M-suppliedO the dri.er name must 4e listed in the =6em2oot#iles> section! 6em2oot#iles are to 4e placed in the 56&M5LT&'TM6D& directory! See the Q6&M 7re-+nstall 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
>ey;oard=ayout

Galue) <l#yout descri$tion> &?ample Synta?) Bey4oard8ayout N KUS-+nternationalK This 3ey indicates the type of 3ey4oard layout to 4e installed! +f this 3ey does not e?istO setup will detect and install a 3ey4oard layout! <l#yout descri$tion> must match one of the right hand strings $in KK( in the =KBey4oard 8ayoutK> section of T'TS&TU7!S+# See the Q6&M 7re-+nstall 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.

?4assStorageDri8ers@
This section contains a list of SCS+ dri.ers to 4e loaded 4y the Setup 8oaderO and installed during Te?t Mode Setup! +f this section is missing or emptyO setup will detect the hard dis3 controllers on the machineO and install the corresponding retail dri.ers! +n most cases you should use this section 4lan3!
Bmass storage dri8er descriptionC

Galue) %ET IL 2 OEM &?ample Synta?) KSCS+ %dapter 6&MK N K6&MK <m#ss stor#*e dri"er descri$tion> This is a string that identifies the dri.er to 4e installed! +t must match one of the strings defined in the right-hand side of the [S,SI] section of T'TS&TU7!S+# $for a retail dri.er(O or T'TS&TU7!6&M $for an 6&M dri.er(! Multiple Cmass storage dri.er descriptionsD can 4e specified! %ET IL indicates that the dri.er is part of the retail Windows NT product! OEM indicates that the dri.er is 6&M-supplied! +f the .alue is 6&MO the dri.er must also 4e listed in the =6em2oot#iles> section of the UN%TT&ND&D!T'T file! Note: Use this section if setup is una4le to detect your de.ice correctly or if the dri.er for the de.ice is not included in the retail 4o?! +f setup is a4le to detect your de.ice properlyO you do not need this section! See the Q6&M 7re-+nstall 6ptionsR section in Chapter 0 for further

information! This key can only be specified in the answer file, not in the $"1.

?DisplayDri8ers@
This section contains a list of Display Dri.ers to 4e loaded 4y the Setup 8oaderO and installed during Te?t Mode Setup! +t is only .alid when 6em7reinstall N *es! +f this section is missing or emptyO setup will attempt to detect the display de.ices on the machineO and install the corresponding retail dri.ers! +n most cases this section is not necessary! Note: *ou can get the same functionality 4y using the settings in the =Display> section descri4ed later in this document!
Bdisplay dri8er descriptionC

Galue) %ET IL 2 OEM This is a string that identifies the dri.er to 4e installed! +t must match one of the strings defined in the right-hand side of the ['isplay] section of T'TS&TU7!S+# $for a retail dri.er(O or T'TS&TU7!6&M $for an 6&M dri.er(! Multiple Cdisplay dri.er descriptionsD can 4e specified! %ET IL indicates that the dri.er is part of the retail Windows NT product! OEM indicates that the dri.er is 6&M-supplied! Note: Use this section if setup is una4le to detect your de.ice correctly or if the dri.er for the de.ice is not included in the retail 4o?! +f setup is a4le to detect your de.ice properlyO you do not need this section! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.

?>ey;oardDri8ers@
This section contains a list of Bey4oard Dri.ers to 4e loaded 4y the Setup 8oaderO and installed during Te?t Mode Setup! +t is only .alid when 6em7reinstall N *es! +f this section is missing or emptyO setup will attempt to detect the 3ey4oard de.ices on the machineO and install the corresponding retail dri.ers!
B!ey;oard dri8er descriptionC

Galue) %ET IL 2 OEM This is a string that identifies the dri.er to 4e installed! +t must match one of the strings defined in the right-hand side of the [7ey3oard] section of T'TS&TU7!S+# $for a retail dri.er(O or T'TS&TU7!6&M $for an 6&M dri.er(! Multiple C3ey4oard dri.er descriptionsD can 4e specified! %ET IL indicates that the dri.er is part of the retail Windows NT product! OEM indicates that the dri.er is 6&M-supplied! Note: Use this section if setup is una4le to detect your de.ice correctly or if

the dri.er for the de.ice is not included in the retail 4o?! +f setup is a4le to detect your de.ice properly you do not need this section! See the Q6&M 7re-+nstall 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.

?.ointingDe8iceDri8ers@
This section contains a list of pointing de.ice dri.ers to 4e loaded 4y the Setup 8oaderO and installed during Te?t Mode Setup! +t is only .alid when 6em7reinstall N *es! +f this section is missing or emptyO setup will attempt to detect the pointing de.ices on the machineO and install the corresponding retail dri.ers!
Bpointing de8ice dri8er descriptionC

Galue) %ET IL 2 OEM This is a string that identifies the dri.er to 4e installed! +t must match one of the strings defined in the right-hand side of the [*ouse] section of T'TS&TU7!S+# $for a retail dri.er(O or T'TS&TU7!6&M $for an 6&M dri.er(! Multiple Cpointing de.ice dri.er descriptionsD can 4e specified! %ET IL indicates that the dri.er is part of the retail Windows NT product! OEM indicates that the dri.er is 6&M-supplied! Note: Use this section if setup is una4le to detect your de.ice correctly or if the dri.er for the de.ice is not included in the retail 4o?! +f setup is a4le to detect your de.ice properly you do not need this section! See the Q6&M 7re-+nstall 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.

?+'4:oot0iles@
This section is used to specify 6&M-supplied 4oot files! +t is only .alid if 6em7reinstall N *es and the files listed here ha.e 4een placed in the 56&M5LTe?tmode directory of the Windows NT source files distri4ution share point!
T(TS'T&..+'4

This file contains descriptions of all of the 6&M-supplied dri.ers listed in this section! +t also includes instructions on how to install these dri.ers! +t must e?ist if this section is included!
Bhal $ile nameC

This Chal file nameD maps to a A%8 description that has 4een defined 4y the 5om$uterTy$e 3ey in the =Unattended> section of the UN%TT&ND&D!T'T file!
Bscsi dri8er $ile nameC

The Cscsi dri.er file nameD maps to a mass storage dri.er description defined in the =MassStorageDri.er> section of the UN%TT&ND&D!T'T file! There can 4e multiple Cscsi dri.er file namesD listed in the =6em2oot#iles> section! See the KT'TS&TU7!6&M and =6&M2oot#iles>K section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.

?+'4DAds@
+n most cases this section is not necessary! This section is for hardware manufacturers $6&Ms( that want to customi;e the user interface!
:anner

Galues) <text strin*> &?ample Synta?) 2anner N K'*F Corporation 1 Windows NT installationK This 3ey specifies a <text strin*> to 4e displayed in the upper left corner of the computer screen! The te?t must contain the KWindows NTK su4-string or else it will 4e ignored! To specify more than one lineO you can separate the different lines using the Y character! This key can only be specified in the answer file, not in the $"1.
=ogo

Galues) <0ile n#me> )8<resource id>+ &?ample Synta?) 8ogo N Sample!4mp This 3ey specifies a 4itmap to 4e displayed in the upper right corner of the screen! +f this line has only one fieldO then it is assumed to a !4mp file located in the L56&M5 directory of the distri4ution share point! Aowe.erO if two fields are specifiedO then the first field is the name of a D88 and the second is a 4ase -" num4er that represents the resource +D of the 4itmap in the D88! The D88 specified should 4e located in the L56&M5 directory! This key can only be specified in the answer file, not in the $"1.
:ac!ground

Galues) <0ile n#me> )8<resource id>+ &?ample Synta?) 2ac3ground N 4ac3!4mp This 3ey specifies a 4ac3ground 4itmap to 4e displayed! +f this line has only one fieldO then it is assumed to a !4mp file located in the 56&M5 directory of the

distri4ution share point! Aowe.erO if two fields are specifiedO then the first field is the name of a D88 and the second is a 4ase -" num4er that represents the resource +D of the 4itmap in the D88! The D88 specified should 4e located in the 56&M5 directory! This key can only be specified in the answer file, not in the $"1.

?Gui&nattended@
+emS!ipWelcome

Galue) 1 2 3 &?ample Synta?) 6emS3ipWelcome N This 3ey is used to specify whether the introductory KWelcome to Windows NT SetupK page is s3ipped or not! Default 4eha.ior is to show the Wi;ard page! This option can be specified in either the answer file or the $"1.
+'4:lan!Admin.assword

Galue) 1 2 3 &?ample Synta?) 6&M2lan3%dmin7assword N This 3ey is used to specify whether the user should see the %dministrator 7assword Wi;ard page or not! Default 4eha.ior is to show the password page! This option can be specified in either the answer file or the $"1.
TimeEone

Galue) <text strin*> &?ample Synta?) TimeFone N K$@MT-"9)""( &astern Time $US Z Canada(K The TimeFone 3ey determines the time ;one of the computer! +f the 3ey is emptyO the user is prompted to indicate a time ;one! The list of .alid TimeFone strings is as follows)
89*T: 9reen;ich *ean Time0 'u3lin< din3ur2h< =ondon 89*T>?/:??: =is3on< Warsa; 89*T>?/:??: -aris< *adrid 89*T>?/:??: @erlin< Stoc1holm< Rome< @ern< @russels< .ienna 89*T>?):??: astern urope 89*T>?/:??: -ra2ue 89*T>?):??: &thens< Aelsin1i< Istan3ul 89*TB?#:??: Rio de Caneiro 89*TB?D:??: &tlantic Time 8,anada: 89*TB?E:??: astern Time 8US F ,anada: 89*TB?%:??: ,entral Time 8US F ,anada: 89*TB?G:??: *ountain Time 8US F ,anada:

89*TB?$:??: -acific Time 8US F ,anada:0 TiHuana 89*TB?I:??: &las1a 89*TB/?:??: Aa;aii 89*TB//:??: *id;ay Island< Samoa 89*T>/):??: Wellin2ton 89*T>/?:??: @ris3ane< *el3ourne< Sydney 89*T>?I:#?: &delaide 89*T>?I:??: To1yo< Jsa1a< Sapporo< Seoul< +a1uts1 89*T>?$:??: Aon2 7on2< -erth< Sin2apore< Taipei 89*T>?G:??: @an21o1< Ca1arta< Aanoi 89*T>?E:#?: @om3ay< ,alcutta< *adras< Ne; 'elhi< ,olom3o 89*T>?D:??: &3u 'ha3i< *uscat< T3ilisi< 7aKan< .ol2o2rad 89*T>?#:#?: Tehran 89*T>?#:??: @a2hdad< 7u;ait< Nairo3i< Riyadh 89*T>?):??: Israel 89*TB?#:#?: Ne;foundland 89*TB?/:??: &Kores< ,ape .erde Is( 89*TB?):??: *idB&tlantic 89*T: *onrovia< ,asa3lanca 89*TB?#:??: @uenos &ires< 9eor2eto;n 89*TB?D:??: ,aracas< =a -aK 89*TB?E:??: Indiana 8 ast: 89*TB?E:??: @o2ota< =ima 89*TB?%:??: Sas1atche;an 89*TB?%:??: *eLico ,ity< Te2uci2alpa 89*TB?G:??: &riKona 89*TB/):??: ne;eta1< 7;aHalein 89*T>/):??: !iHi< 7amchat1a< *arshall Is( 89*T>//:??: *a2adan< Soloman Is(< Ne; ,aledonia 89*T>/?:??: Ao3art 89*T>/?:??: 9uam< -ort *ores3y< .ladivosto1 89*T>?I:#?: 'ar;in 89*T>?$:??: @eiHin2< ,hon26in2< Urum6i 89*T>?%:??: &lma &ta< 'ha1a 89*T>?E:??: Islama3ad< 7arachi< Sverdlovs1< Tash1ent 89*T>?D:#?: 7a3ul 89*T>?):??: ,airo 89*T>?):??: Aarare< -retoria 89*T>?#:??: *osco;< St( -eters3ur2

Ad8Ser8erType

Galue) SE%9E%NT 2 L NM NNT 2 L NSE5NT &?ample Synta?) Sets .alue of Windows NT Ser.er to 7DC! %d.Ser.erType N 8%NM%NNT This 3ey is only .alid when installing Windows NT Ser.er! SE%9E%NT indicates that the computer will 4e a stand-alone ser.er! L NM NNT indicates that the computer will ser.e as a primary domain controller! L NSE5NT indicates that the computer will 4e a 4ac3up domain controller!
Detached.rogram

Galue) <det#c6ed $ro*r#m strin*> &?ample Synta?) Detached7rogram N c)Lmyprogram!e?e The Detached7rogram 3ey is used to indicate the path of the custom

program that should run concurrently with the setup program! +f the program reJuires any argumentsO the %rguments 3ey must 4e specified! Note: +n most casesO this option will not 4e used! +nsteadO CMD8+N&S!T'T is used which pro.ides greater functionality! See Chapter 9O QCustomi;ing Windows NTR for further information!
Arguments

Galue) <#r*uments strin*> The r*uments 3ey indicates that arguments or parameters accompany the custom program that should run concurrently with the setup program!

?&serData@
0ullName

Galue) <strin*> &?ample Synta?) #ullName N Kyour nameK The .ullN#me 3ey is used to specify the user[s full name! +f the 3ey is empty or missingO the user is prompted to enter a name!
+rgName

Galue) <strin*> &?ample Synta?) 6rgName N Kyour company nameK This 3ey is used to specify an organi;ation[s name! +f the Or*N#me 3ey is empty or missingO the user is prompted to enter an organi;ation name!
ComputerName

Galue) <strin*> &?ample Synta?) ComputerName N KMyComputerK Note: There can 4e N6 spaces in a computer name! This 3ey is used to specify the computer name! +f the 5om$uterN#me 3ey is empty or missingO the user is prompted to enter a computer name!
.roductID

Galue) <strin*> &?ample Synta?)

7roduct+D N K09<99-oem-"""9999- 9 :9K $this is an 6&M type of product num4er( 7roduct+D N K???-??????? K $-" digit num4er is the retail format( The ProductId is the CD 3ey on the 4ac3 of the Pewel case that the Windows NT !" CD came in!

?=icense0ile.rintData@
This section is only .alid when installing Windows NT Ser.er!
Auto4ode

Galues) PE%SE T 2 PE%SE%9E% &?ample Synta?) %utoMode N 7&,S&%T The %utoMode 3ey determines whether Windows NT Ser.er is installed in per seat or per ser.er license mode! +f utoMode 4 PE%SE%9E% O the uto(sers 3ey must also 4e specified! PE%SE T indicates that a client access license has 4een purchased for each computer that accesses the ser.er! PE%SE%9E% indicates that client access licenses ha.e 4een purchased for the ser.er to allow a certain num4er of concurrent connections to the ser.er! +f %utoMode is empty or missingO setup dialog 4o?es prompt the user to select the license mode! This key can only be specified in the answer file, not in the $"1.
Auto&sers

Galue) <decim#l number> &?ample Synta?) %utoUsers N -" This 3ey is only .alid if utoMode 4 PE%SE%9E% ! The Cdecimal num4erD indicates the num4er of client licenses purchased for the ser.er 4eing installed! This key can only be specified in the answer file, not in the $"1.

?Display@
This section is used to specify display settings for the particular graphics de.ice 4eing installed! +n order for this to wor3 properlyO the user must 3now what settings are .alid for the graphics de.ice under consideration! +f the prespecified settings are not .alidO the user will 4e prompted to select them!
Con$igureAt=ogon

Galue) 1 2 3

&?ample Synta?) Configure%t8ogon N This 3ey is used to specify when the graphics de.ices are configured during setup or after the first logon 4y an end user! 1 implies configure during setup and 3 indicates that the de.ice should 4e configured during the first logon 4y the user! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
:its.er.el

Galue) <"#lid bits $er $ixel> &?ample Synta?) 2its7er7el N 8 This 3ey specifies the <"#lid bits $er $ixel> for the graphics de.ice 4eing installed! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
(resolution

Galue) <"#lid x resolution> &?ample Synta?) 'resolution N : " This 3ey specifies a <"#lid x resolution> for the graphics de.ice 4eing installed! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
/resolution

Galue) <"#lid y resolution> &?ample Synta?) *resolution N 8" This 3ey specifies a <"#lid y resolution> for the graphics de.ice 4eing installed! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR

section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
Fre$resh

Galue) <"#lid re0res6 r#te> &?ample Synta?) Grefresh N :" This 3ey specifies a <"#lid re0res6 r#te> for the graphics de.ice 4eing installed! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
0lags

Galue) <"#lid 0l#*s> This 3ey specifies <"#lid 0l#*s> for the graphics de.ice 4eing installed! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
AutoCon$irm

Galue) 1 2 3 &?ample Synta?) %utoConfirm N The uto5on0irm 3ey indicates whether the graphics de.ice should 4e configured using pre-specified display settings or not! 1 implies do not use the pre-specified settings and 3 indicates that the predefined settings should 4e used! uto5on0irm 4 3 reJuires that all of the necessary parameters ha.e 4een pre-specified in the UN%TT&ND!T'T file! *ou can use the ne?t three parameters instead of the =DisplayDri.er>O =6em2oot#iles> sections and custom T'TS&TU7!6&M files to install third-party .ideo dri.ers! The dri.ers and files reJuired 4y the .ideo adapter should e?ist in the 56&M5LDisplay directory on the distri4ution share point! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
InstallDri8er

Galue) 1 2 3

&?ample Synta?) +nstallDri.er N This 3ey specifies whether a third-party dri.er is 4eing installed or not! +f .alue is 1O the In0.ile and In0O$tion 3eys are s3ipped! See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
In$0ile

Galues) <in0 0ile n#me 3>8 <in0 0ile n#me :>8 ; This 3ey specifies a list of +N# file names for display dri.ers to 4e installed! *ou can specify only one +N# per dri.er! &!g! s/!infO matro?!infO S See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.
In$+ption

Galues) Cinf option -DO Cinf option 0DO S &?ample Synta?)

Inf!ile 5 s#(inf< matroL(inf InfJption ( S# G%E< *illenium #'


See the QThird-7arty Gideo Display Dri.ers and Setting Display 6ptionsR section in Chapter 0 for further information! This key can only be specified in the answer file, not in the $"1.

?4odem@
This section header is used to identify whether a modem should 4e installed or not! +t is used 4y ,emote %ccess Ser.ices $,%S( to install a modem if the De"iceTy$e 4 Modem in the list of ,%S parameters! This section cannot 4e empty if you want to install modems using ,%S in unattended mode!
Install4odem

Galue) <modem $#r#meter section> &?ample Synta?) +nstallModem N ModemSection This 3ey defines a section where modem install parameters are defined! The 3ey must e?ist in order to install any modems! This key can only be specified in the answer file, not in the $"1.

?Bmodem parameter sectionC@


The modem parameter section lists the 3eys and .alues reJuired to install a modem on a particular C6M port! +f the =Cmodem parameter sectionD> section is 4lan3O ,%S will do modem detection on its pre-configured ports and install any modems it finds!
BC+4 port num;erC

Galues) <Modem descri$tion> )8 <M#nu0#cturer>8 <Pro"ider>+ &?ample Synta?) Com0 N K7ractical 7eripherals 7M088AC ++ G!/ K The <5OM $ort number> 3ey specifies the C6M ports on which modems are installed! The C6M port num4ers must match ports configured or to 4e configured 4y the ,%S installation! <Modem descri$tion> must match a modem description in a MDM?????!+N# file that corresponds to the modem to 4e installed! This string must 4e enclosed in Juotes! The <M#nu0#cturer>8 <Pro"ider> fields are optional fields that identify the manufacturer and pro.ider of a particular modem in cases where the <modem descri$tion> string is not uniJue to a particular manufacturer! To determine the Modem Description use Control 7anelLModem on a machine that has Windows NT and the modem installed! -! 0! 6pen Control 7anelLModems! The Modem Description is on the @eneral Ta4 under the column mar3ed Modem!

*ou can also locate the Modem Description 4y searching the Tsystemroot TL+N#LMDM?????!+N# files using 3eywords li3e the manufacturer with the #+ND option on the Start Menu! *ou can also use #+NDST,!&'&O which is a te?t string search utility supplied with Windows NT! This key can only be specified in the answer file, not in the $"1.

?Networ!@
This section informs setup that Networ3ing should 4e installed! +f emptyO the user will 4e presented with .arious error messages! +f this section header is missingO networ3 installation will 4e s3ipped! To find out how to ma3e a networ3 component +N# support unattended installationO see the K2uilding the UN%TT&ND!T'T Networ3 %daptersK section for additional information! 6ptions in this section can specified in a UD# or UN%TT&ND!T'T!
Attended

Galue) !es 2 No

&?ample Synta?) %ttended N *es 6mit this 3ey if you want a hands-free setup! +f you set this 3ey to *esO setup will prompt the user for Networ3 Setup information!
GoinWor!group

Galue) <<or=*rou$ n#me> &?ample Synta?) HoinWor3group N My@roup $No spaces in the Wor3group Name( This 3ey is used to define the wor3group in which the computer will participate!
GoinDomain

Galue) <dom#in n#me> &?ample Synta?) HoinDomain N MyDomain This 3ey is used to define the domain in which the computer will participate!
CreateComputerAccount

Galue) <usern#me8 $#ss<ord> &?ample Synta?) CreateComputer%ccount N PimhO pw"Note: The clear te?t password is .isi4le to anyone that has access to the UN%TT&ND!T'T file and it may 4e .isi4le in the temporary folder that is created during setup! #or this reasonO it is recommended that you do not use this 3ey! +nsteadO it is recommended that an administrator setup the Windows NT Wor3station computer accounts in ad.ance or create a new user account that is restricted to the right to create computer accounts in the domain so that Domain %dministrati.e pri.ileges are protected!
InstallDC

Galue) <dom#in n#me> &?ample Synta?) +nstallDC N MyDomain This 3ey is used to specify the name of a domain to 4e installed! +t is only .alid when installing a primary or 4ac3up domain controller and the

%d.Ser.erType 3ey has 4een set accordingly!


DetectAdapters

Galue) <detect #d#$ters section> 2 >> &?ample Synta?) Detect%dapters N Netcards This 3ey is used to detect networ3 adapter cards installed on a computer! &ither this 3ey or the Inst#ll d#$ters 3ey must e?ist in order to install networ3 cards! +f the .alue is KKO then the first card detected will 4e installed! See Q2uilding the UN%TT&ND!T'T Networ3 %dapters SectionR for additional information!
InstallAdapters

Galue) <inst#ll #d#$ters section> &?ample Synta?) +nstall%dapters N +ntelcards This 3ey defines a section in which the networ3 adapters to 4e installed are listed! See Q2uilding the UN%TT&ND!T'T Networ3 %dapters SectionR for additional information!
Install.rotocols

Galue) <$rotocols section> &?ample Synta?) +nstall7rotocols N 7rotocols This 3ey defines a section in which the networ3 protocols to 4e installed are listed!
InstallSer8ices

Galue) <ser"ices section> &?ample Synta?) +nstallSer.ices N Ser.ices This 3ey defines a section in which the networ3 ser.ices to 4e installed are listed!
InstallInternetSer8er

Galue) <internet in0orm#tion ser"er $#r#meters>

&?ample Synta?) +nstall+nternetSer.er N +SS7arams This 3ey defines a section in which parameters for installing the +nternet +nformation Ser.er $++S( are listed! During installation on Windows NT Ser.erO ++S is installed 4y default!
DoNotInstallInternetSer8er

Galue) !es 2 No &?ample Synta?) DoNot+nstall+nternetSer.er N *es The presence of this 3ey disa4les the default installation of ++S on Windows NT Ser.er! The .alue assigned to it is irrele.ant!

?BDetect Adapters SectionC@


The name of this section is the .alue of the Detect d#$ters 3ey descri4ed in the )Net<or=+ section a4o.e! #ptions in this section can specified in a $"1 or $N(TT2N".T3T. &?ample is =Netcards> defined on the e?ample Detect%dapers N line in the pre.ious section!
DetectCount

Galue) Cnum4er of detection attemptsD &?ample Synta?) DetectCount N +ndicates the num4er of detection attempts setup should ma3e! See Q2uilding the UN%TT&ND!T'T Networ3 %daptersR section for additional information!
=imitTo

Galue) <netc#rd in0 o$tion> &?ample Synta?) 8imitTo N +&&7,6 +&&7,6 for the +ntel &ther&?press 7ro as defined in the 6&MN%D&7!+N# =options> section! This file is found in the LW+NNTLS*ST&M/0 directory! This 3ey specifies a list of netcard !+N# options to which the detection should 4e limited! The netcard !+N# options for particular cards can 4e found in the =6ptions> section of the corresponding 6&MN%D??!+N# file! See Q2uilding the UN%TT&ND!T'T Networ3 %daptersR section for additional

information!
BNetcard In$ optionC

Galue) <netc#rd $#r#meter section> &?ample Synta?) +&&7,6parm This 3ey points setup to the section that contains descriptions for a particular networ3 adapter card! The Cnetcard inf optionsD for particular cards can 4e found in the =6ptions> section of the corresponding 6&MN%D??!+N# files! See Q2uilding the UN%TT&ND!T'T Networ3 %daptersR section for additional information!

?BInstall Adapters SectionC@


#ptions in this section can be specified in a $"1 or $N(TT2N".T3T.
BNetcard In$ optionC

Galue) Cnetcard parameter sectionD &?ample Synta?) netcards N +&&7,6 This 3ey points setup to the section that contains descriptions for a particular networ3 adapter card! The Cnetcard inf optionsD for particular cards can 4e found in the =6ptions> section of the corresponding 6&MN%D??!+N# files! See Q2uilding the UN%TT&ND!T'T Networ3 %daptersR section for additional information!

?Bnetcard parameter sectionC@


&?ample) =+&&7,6> This section contains the parameters for a particular networ3 adapter card whose <netc#rd in0 o$tion> has 4een specified in the )<Detect d#$ters Section>+ or the )<Inst#ll d#$ters Section>+ of the UN%TT&ND!T'T file! #ptions in this section can specified in a $"1 or $N(TT2N".T3T. See Q2uilding the UN%TT&ND!T'T Networ3 %daptersR section for additional information!

?B.rotocols SectionC@
This section contains a list of !+N# options for networ3 protocols and the corresponding UN%TT&ND!T'T file section in which the parameters for the particular protocol are list! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

N:0

Galue) <Netbeui P#r#meters> &?ample Synta?) N2# N Net4eui7arams Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =Net4eui7arams>! This section must e?ist whether the section reJuires .alues or not! Net2&U+ does not ha.e any .alues 4ecause there are no parameters to configure!
NW=N>I.(

Galue) <IP' P#r#meters> &?ample Synta?) NW8+NB N +7'7arams Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =+7'7arams>! This section must e?ist whether the section reJuires .alues or not! +7' does not ha.e any .alues 4ecause there are no parameters to configure!
TC

Galue) <Tc$i$ P#r#meters> &?ample Synta?) TC N TC77arams This 3ey indicates that TC7M+7 should 4e installed in unattended mode! The corresponding parameter section must e?ist or setup will fail!
D=C

Galue) <DL5 P#r#meters> &?ample Synta?) DC8 N D8C7arams Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =D8C7arams>! This section must e?ist whether the section reJuires .alues or not! D8C does not ha.e any .alues 4ecause there are no parameters to configure!
5AS..T.

Galue) <% SPPTP P#r#meters>

&?ample Synta?) ,%S77T7 N ,%S77T77arams Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =,%S77T77arams>! This section must e?ist whether the section reJuires .alues or not! 7oint-to-7oint 7rotocol does not ha.e any .alues 4ecause there are no parameters to configure!
ST5'A4S

Galue) <ST%E MS P#r#meters> &?ample Synta?) ST,&%MS N ST,&%MS7arams Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =ST,&%MS7arams>! This section must e?ist whether the section reJuires .alues or not! Streams does not ha.e any .alues 4ecause there are no parameters to configure!

?BNet:eui .arametersC@
This parameter is left empty since Net2&U+ does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BI.( .arametersC@
This parameter is left empty since +7' does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BTcpip .arametersC@
TC7M+7 parameters only support the static +7 configuration for a single adapter! +f configuring a multi-homed system DAC7 has to 4e used for a 3eyless install! +f static addressing is used the second adapter has to manually configured during setup! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.
D6C.

Galue) !es 2 No &?ample Synta?) DAC7 N *es This 3ey is used to specify whether D?5P should 4e used or not!
ScopeID

Galue) <sco$e ID> &?ample Synta?) Scope+D N Scope% See the Windows NT ,esource Bit for a definition of Scope+D! This 3ey is used to specify the computer[s scope identifier if reJuired on a networ3 that used Net2+6S o.er TC7M+7! I0 D?5P 4 No8 t6e 0ollo<in* =eys must be s$eci0ied: IP ddress Galue) <I$ #ddress> &?ample Synta?) +7%ddress N -90!-0 !09 !0 Used to specify the +7 address for the computer! Note: *ou will need the updated TC7C#@!D88 from the Windows NT !" Ser.ice 7ac3 0 to use octets that ha.e a ;ero! To install the TC7C#@!D88) -! 0! ,ename the TC7C#@!D8E to TC7C#@!6,@ on the distri4ution ser.er! Copy the TC7C#@!D88 from the Windows NT !" Ser.ice 7ac3 0 CD on to the distri4ution ser.er!

Subnet Galue) <subnet #ddress> &?ample Synta?) Su4net N 099!099!099!" Specifies the su4net mas3 address! @#te<#y Galue) <*#te<#y #ddress> &?ample Synta?) @ateway N -90!-0 !09 !/ +dentifies the default gateway address for the computer! DNSSer"er Galue) <IP ddresses> &?ample Synta?)

DNSSer.er N -90!-0 !09 ! Used to specify up to / DNS ser.ers! AINSPrim#ry Galue) <IP ddress> &?ample Synta?) W+NS7rimary N -90!-/9!-

!9

Used to specify the +7 address of the primary W+NS ser.er! AINSSecond#ry Galue) <IP #ddress> &?ample Synta?) W+NSSecondary N -90!-/9!-

!:

Used to specify the +7 address of the secondary W+NS ser.er! DNSN#me Galue) <DNS dom#in n#me> &?ample Synta?) DNSName N e..!mPn!4ms!com This 3ey is used to specify the DNS domain name!

?BD=C .arametersC@
This parameter is left empty 4ecause D8C does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?B5AS..T. .arametersC@
This parameter is left empty 4ecause 7oint-to-7oint 7rotocol does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BST5'A4S .arametersC@
This parameter is left empty 4ecause Streams does not reJuire additional parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BSer8ices SectionC@
SN4.

Galue) <Snm$ P#r#meters> 7oints to <Snm$ P#r#meters> #ptions in this section can specified in a $"1 or $N(TT2N".T3T.
5AS

Galue) <% S P#r#meters> &?ample Synta?) ,%S N ,as7arams 7oints to <% S P#r#meters> When installing ,%S using the U+O a file named S&,+%8!+N+ is created! This file will not 4e created during the installation of ,%S using Windows NT setup script! +f you are using S*SD+##O the S&,+%8!+N+ file can 4e added to the 56&M5L55LS*ST&M/0L,%S directory on your distri4ution ser.er! See Chapter -O K@etting StartedK for more information on the 56&M5 directory! #ile should contain a semicolon KWK at the .ery least to ma3e the file greater than - 4yte!
NWW>STA

Galue) <NetA#re 5lient P#r#meters> &?ample Synta?) NWWBST% N NW7arams 7oints to <NetA#re 5lient P#r#meters>
N'T4+N

Galue) <NetMon P#r#meters> &?ample Synta?) N&TM6N N N&TM6N7arams 7oints to <NetMon P#r#meters> This will install the Networ3 Monitor and agent pro.ided with Windows NT !"! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =N&TM6N7arams>! This section must e?ist whether the section reJuires .alues or not! Networ3 Monitor does not ha.e any .alues 4ecause there are no parameters to configure!

STC.I.

Galue) <ST5PIP P#r#meters> &?ample Synta?) STC7+7 N STC7+77arams 7oints to <ST5PIP P#r#meters> This will install simple TC7M+7 pro.ided with Windows NT !"! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =STC7+77arams>! This section must e?ist whether the section reJuires .alues or not! Simple TC7M+7 does not ha.e any .alues 4ecause there are no parameters to configure!
SA.

Galue) <S P P#r#meters> &?ample Synta?) S%7 N S%77arams 7oints to <S P P#r#meters> This will install S%7 pro.ided with Windows NT !"! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =S%77arams>! This section must e?ist whether the section reJuires .alues or not! S%77arams does not ha.e any .alues 4ecause there are no parameters to configure!
TC..5INT

Galue) CT5PP%INT P#r#metersD &?ample Synta?) TC77,+NT N TC77,+NT7arams 7oints to <T5PP%INT P#r#meters> This will install TC7M+7 7rinting pro.ided with Windows NT !"! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =TC77,+NT7arams>! This section must e?ist whether the section reJuires .alues or not! TC7M+7 7rinting does not ha.e any .alues 4ecause there are no parameters to configure!
D6C.

Galue) <D?5P P#r#meters D

&?ample Synta?) DAC7 N DAC77arams 7oints to <D?5P P#r#meters> This will install DAC7 Ser.er pro.ided with Windows NT !" Ser.er only! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =DAC77arams>! This section must e?ist whether the section reJuires .alues or not! DAC7 does not ha.e any .alues 4ecause there are no parameters to configure!
DNS

Galue) CDNS P#r#meters D &?ample Synta?) DNS N DNS7arams 7oints to <DNS P#r#meters> This will install DNS Ser.er pro.ided with Windows NT !" Ser.er only! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =DNS7arams>! This section must e?ist whether the section reJuires .alues or not! DNS does not ha.e any .alues 4ecause there are no parameters to configure!
WINS

Galue) <AINS P#r#meters> &?ample Synta?) W+NS N W+NS7arams 7oints to <AINS P#r#meters> This will install W+NS Ser.er pro.ided with Windows NT !" Ser.er only! Note: *ou must define a corresponding section for this .alue or setup will fail! +n this e?ample the section is =W+NS7arams>! This section must e?ist whether the section reJuires .alues or not! W+NS does not ha.e any .alues 4ecause there are no parameters to configure!

?BNetWare Client .arametersC@


#ptions in this section can specified in a $"1 or $N(TT2N".T3T.
HDe$ault=ocation

Galue) <ser"er/loc#tion>

&?ample Synta?) IDefault8ocation N NWSer.er E#ample o& ND!: IDefault8ocation N KY%2CLM%,B&T+N@!USK The BDe0#ultLoc#tion 3ey identifies the default logon ser.er for the NetWare client!
HDe$aultScript+ptions

Galues) 1 2 3 2 C &?ample Synta?) IDefaultScript6ptions N This 3ey defines the default action to perform with scripts! 1 will cause scripts to 4e ignoredO 3 causes NetWare /!? le.el scripts to 4e run onlyO and C implies that either NetWare /!? or NetWare !? le.el scripts will 4e run!

?BSnmp .arametersC@
#ptions in this section can specified in a $"1 or $N(TT2N".T3T.
AcceptDCommunityName

Galue) <community n#mes> &?ample Synta?) %cceptECommuntityName N Name-OName0OName/ This 3ey is used to specify a ma?imum of three community names that the computerO on which the SNM7 ser.ice is runningO accept traps from! The <community n#mes> are separated 4y commas!
SendDAuthentication

Galue) !es 2 No &?ample Synta?) SendE%uthentication N *es This 3ey indicates whether an authentication trap should 4e sent when an unauthori;ed community or host reJuests information!
AnyD6ost

Galue) !es 2 No This 3ey specifies whether the computerO on which the SNM7 ser.ice is 4eing installedO should accept SNM7 pac3ets from any host or not!
=imitD6ost

Galues) <6ost n#mes> &?ample Synta?) 8imitEAost N name-Oname0Oname/ % ma?imum of three <6ost n#mes> can 4e specified separated 4y commas! This 3ey is .alid when ny/?ost 4 No!
CommunityDName

Galue) <community n#me> &?ample Synta?) CommunityEName N name +ndicates the <community n#me> for the computer!
Traps

Galues) <IP #ddresses> 2 <IP' #ddresses> &?ample Synta?) Traps N -90!-0 !-/ !9 This 3ey is used to specify a ma?imum of three +7 or +7' addresses to which traps should 4e sent!
ContactDName

Galue) <n#me> &?ample Synta?) ContactEName N name This 3ey is used to specify the computer user[s name!
=ocation

Galue) <com$uter loc#tion> &?ample Synta?) 8ocation N 2uilding0 This 3ey is used to specify the physical location of the computer!

Ser8ice

Galues) P6ysic#l8 $$lic#tions8 D#t#lin=8 Internet8 EndDtoDEnd &?ample Synta?) Ser.ice N 7hysicalO%pplicationsODatalin3O+nternetO&nd-to-&nd %ny com4ination of the fi.e SNM7 ser.ices listed here can 4e specified as .alues! They mustO howe.erO 4e separated 4y commas! Note: SNM7T,%7!&'& ser.ice is set to manual start! % registry script can 4e used to set the ser.ice to automatic! See Chapter 9O QCustomi;ing Windows NTR to learn a4out modifying the registry during setup!

?B5as.arametersC@
.ortSections

Galues) <$ort section n#me> &?ample Synta?) 7ortSections N Com7orts This 3ey is used to define a port section name! Multiple port section names can 4e specifiedO 4ut they must 4e separated 4y commas KOK! See the =Cport section namesD> definition 4elow!
Dialout.rotocols

Galue) T5PEIP 2 IP' 2 NET-E(I 2 LL &?ample Synta?) Dialout7rotocols N %88 LL implies all installed protocols! The remaining parameters in this <%#sP#r#meters> section only apply to ,%S Ser.er installation!
Dialin.rotocols

Galue) T5PEIP 2 IP' 2 NET-E(I 2 LL &?ample Synta?) Dialin7rotocols N %88 LL implies all installed protocols!
Net:'&IClientAccess

Galue) Net<or= 2 T6is5om$uter

&?ample Synta?) Net2&U+Client%ccess NThisComputer Default is Networ3!


TcpIpClientAccess

Galue) Net<or= 2 T6is5om$uter &?ample) Synta?) Tcp+pClient%ccess N ThisComputer Default is Networ3!


&seD6C.

Galue) !ES 2 NO &?ample Synta?) UseDAC7 N No Default is *es!


StaticAddress:egin

Galue) <IP/#ddress> &?ample Synta?) Static%ddress2egin N '''!'''!'''!''' $where ' is the ip address range( This 3ey is reJuired if (seD?5P 4 NO&
StaticAddress'nd

Galue) <IP/#ddress> &?ample Synta?) Static%ddress&nd N '''!'''!'''!''' $where ' is the ip address range( This 3ey is reJuired if (seD?5P 4 NO!
'AcludeAddress

Galue) <IP/#ddress3 D IP/#ddress:> &?ample Synta?) &?clude%ddress N '''!'''!'''!''' -***!***!***!*** $where ' and * are +7 ranges to e?clude(

This 3ey is used to e4clude a range of +7 addresses when a range of +7 addresses is 4eing assigned manually! +t reJuires that St#tic ddress-e*in and St#tic ddressEnd 4e specified already!
ClientCan5eIuestI.Address

Galue) !ES 2 NO &?ample Synta?) ClientCan,eJuest+7%ddress N *es Default is No!


IpAClientAccess

Galue) Net<or= 2 T6is5om$uter &?ample Synta?) +p?Client%ccess N ThisComputer Default is Networ3!


AutomaticNetwor!Num;ers

Galue) !ES 2 NO &?ample Synta?) %utomaticNetwor3Num4ers N No Default is !ES!


Networ!Num;er0rom

Galue) <IP'/net/number> &?ample Synta?) Networ3Num4er#rom N num4er $where num4er is the he? num4er defined 4elow( Galid num4ers range from - to "?#######&! This 3ey is reJuired if utom#ticNet<or=Numbers 4 NO&
AssignSameNetwor!Num;er

Galue) !ES 2 NO &?ample Synta?) %ssignSameNetwor3Num4er N No

Default is !ES!
ClientsCan5eIuestIpANodeNum;er

Galue) !ES 2 NO &?ample Synta?) ClientsCan,eJuest+p?NodeNum4er N *es Default is NO!

?Bport section nameC@


.ortName

Galue) 5OM3 2 5OM: 2 5OMCD5OM:F &?ample Synta?) 7ortName N C6M0 This 3ey indicates the names of the ports to 4e configured in a particular port section!
De8iceType

Galue) Modem &?ample Synta?) De.iceType N Modem This 3ey indicates the type of de.ice ,%S should install! TodayO the only a.aila4le de.ice type is a modem!
.ort&sage

Galue) Di#lOut 2 Di#lIn 2 Di#lInOut &?ample Synta?) 7ortUsage N Dial+n6ut The Port(s#*e 3ey defines the dialing properties for the ports 4eing configured!

?BN'T4+N .arametersC@
This parameter is left empty 4ecause Networ3 Monitor and the agent does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BSTC.I. .arametersC@
This parameter is left empty 4ecause simple TCM7+7 does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BSA. .arametersC@
This parameter is left empty 4ecause S%7 does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BTC..5INT .arametersC@
This parameter is left empty 4ecause TC7M+7 7rinting does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BD6C. .arametersC@
This parameter is left empty 4ecause DAC7 does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BDNS .arametersC@
This parameter is left empty 4ecause DNS does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?BWINS .arametersC@
This parameter is left empty 4ecause W+NS does not reJuire any e?tra parameters to install! #ptions in this section can specified in a $"1 or $N(TT2N".T3T.

?Binternet in$ormation ser8er sectionC@


This section contains parameters for installing the +nternet +nformation Ser.er $++S(! % .alue of - for each of the parameters 4elow implies the component should 4e installedO whereas a .alue of " implies the component should not 4e installed!
InstallIN'TST.

Galue) 1 2 3 &?ample Synta?) +nstall+N&TST7 N Specifies whether +nternet Ser.ices will 4e installed! Default is -!
InstallAD4IN

Galue) 1 2 3 &?ample Synta?) +nstall%DM+N N Specifies whether the +nternet Ser.ice Manager will 4e installed!
Install0T.

Galue) 1 2 3 &?ample Synta?) +nstall#T7 N Specifies whether the #T7 Ser.ice will 4e installed!
0T.5oot

Galue) <0t$ root directory> &?ample Synta?) #T7,oot N C)L#T7 Specifies the .irtual root for the #T7 ser.ice!
InstallWWW

Galue) 1 2 3 &?ample Synta?) +nstallWWW N Specifies whether the WWW Ser.ice will 4e installed!
WWW5oot

Galue) <<<< root directory> &?ample Synta?) WWW,oot N c)LWWW Specifies the .irtual root for the WWW ser.ice!
InstallG+.6'5

Galue) 1 2 3 &?ample Synta?) +nstall@67A&, N -

Specifies whether the @opher Ser.ice will 4e installed!


Gopher5oot

Galue) C*o$6er root directory> &?ample Synta?) @opher,oot N C)L@,oot Specifies the .irtual root for the @opher ser.ice!
InstallDir

Galue) <internet ser"ices inst#ll directory> &?ample Synta?) +nstallDir N C)L+Ser. Specifies the installation directory for all components of +nternet Ser.ices!
InstallW,SA4.

Galue) 1 2 3 &?ample Synta?) +nstallW/S%M7 N Specifies whether World Wide We4 sample files will 4e installed!
Install6T4=A

Galue) 1 2 3 Specifies whether the AT8M form of the +nternet Ser.ice Manager will 4e installed!
GuestAccountName

Galue) Cn#meD &?ample Synta?) @uest%ccountName N name This 3ey is used to define the anonymous user name used in the WWWO #T7O and @67A&, ser.ices!
GuestAccount.assword

Galue) <$#ss<ord strin*> &?ample Synta?)

@uest%ccount7assword N password This is used to create the guest account password! +f it is not definedO ++S will create a random string for the guest account!

Sample &NATT'ND.T(T 0iles


Sample This UN%TT&ND!T'T file is a sample of what might 4e used in a corporate en.ironment! See the details referenced in this chapter for a description of each of the 3eys listed here!
[Unattended] ,onfirmAard;are 5 no NtUp2rade 5 no Win#/Up2rade 5 no Tar2et-ath 5 WINNT Jem-reinstall 5 +es !ileSystem5 ,onvertNT!S JemS1ip ula 5 yes NoWait&fter9UI*ode 5 / [9uiUnattended] JemS1ipWelcome 5 / Jem@lan1&dmin-ass;ord 5 / TimeMone 5 489*TB?%:??: ,entral Time 8US F ,anada:4 [User'ata] !ullName 5 4Cohn 'oe4 Jr2Name 5 4Wid2etsB&reBUs4 ,omputerName 5 N,omputer/O -roductId 5 4/)#BDE%G$I?4 ['isplay] ,onfi2ure&t=o2on 5 ? @its-er-el 5 $ XResolution 5 %D? +Resolution 5 D$? .Refresh 5 %? [Net;or1] InstallServices 5 Services=ist Install&dapters 5 &dapters=ist Install-rotocols 5 -rotocols Coin'omain 5 S &TT= ,reate,omputer&ccount 5 Himh< p;?/

[&dapters=ist] /% 5 [ /%-arams

/%-arams]

@usType 5 / Transceiver 5 # @usNum3er 5 ? Io,hannelReady 5 ) Io@ase&ddress 5 G$D InterruptNum3er 5 /? [Services=ist] NWW7ST& 5 NW,-arams N T*JN 5 InstallNet*on ST,-I- 5 InstallSimpleT,T,--RINT 5 InstallT,--rint [NW,-arams] P'efault=ocation 5 NWServer P'efaultScriptJptions 5 # [InstallNet*on] [InstallSimpleT,-] [InstallT,--rint] [-rotocols] NW=N7I-X 5 NW=in1-arams T, 5 T,-IN@! 5 Net@eui-arams '=, 5 '=,-arams [NW=in1-arams] [T,-I-] 'A,- 5 no 9ate;ay 5 /%E($I(I/(# Su3net 5 )EE()EE()EE(? WINS-rimary 5 /%E($I(I/()#I WINSSecondary 5 /%E($I(/%D()/$ 'NSName 5 msd(msn(eh6(com 'NSServer 5 /%E($I(I?())$< /%E($I(I/()D/< /%E($I(/(//$

[Net@eui-arams] ['=,-arams] Sample

This sample UN%TT&ND!T'T file installs Windows NT Wor3station !" and pro.ides e?amples of all of the options you can specify when 6em7reinstall N *es! This UN%TT&ND!T'T file would 4e used if you are installing Windows NT Wor3station !" on identically configured systems 1 for e?ample if you are a hardware manufacturer you would specify all of the de.ices in the computer! +n most cases you would not 3now this le.el of detail a4out the installed 4ase of your organi;ation! +f you do not 3now this le.el of detailO it is recommended that you omit those sections so Window NT setup will detect the de.ices installed in your systems! These options should only 4e used if a de.ice is not detected 4y Window NT !" setup!
[Unattended] ,onfirmAard;are 5 no NtUp2rade 5 no Win#/Up2rade 5 no Tar2et-ath 5 ;innt Jver;riteJem!ilesJnUp2rade 5 no Jem-reinstall 5 yes ,omputerType 5 4Standard -, B J *4<4J *4 7ey3oard=ayout 5 4USBInternational4 !ileSystem 5 =eave&lone LtendJ *-artition 5 ? NoWait&fterTeLtmode 5 / NoWait&fter9ui*ode 5 / [*assStora2e'rivers] 4I' ,'BRJ*8&T&-I /():/'ualBchannel -,I I' ,ontroller4 5 4Retail4 4Ne; J * S,SI for &daptec /EDL//%DL4 5 4J *4 ['isplay'rivers] 4J * 'isplay 'river /4 5 J * [7ey3oard'rivers] 4XT< &T< or nhanced 7ey3oard 8$#B/?D 1eys:4 5 R T&I= [-ointin2'evice'rivers] 4*icrosoft *ouse -ort *ouse 8includes @all-oint:4 5 J * [J *@oot!iles] hal(dll halD$%c(dll elliott(sys TXTS TU-(J *

[J *Q&ds] @anner 5 4' ,Rs Windo;s NT Setup4 @ac12round 5 test(3mp [9uiUnattended] &dvServerType 5 =&N*&NNT TimeMone 5 489*TB?$:??: -acific Time 8US F ,anada:0 TiHuana4 [User'ata] !ullName 5 4User Name4 Jr2Name 5 4*icrosoft4 ,omputerName 5 J *Q,omputer -roductId 5 4)IGIEBoemB???EIIEBDID%I4 [=icense!ile-rint'ata] &uto*ode 5 -erSeat ['isplay] ,onfi2ure&t=o2on 5 ? @its-er-el 5 #) Xresolution 5 %D? +resolution 5 D$? .refresh 5 %? &uto,onfirm 5 / [Net;or1] 'etect&dapters 5 'etect-arms Install-rotocols 5 Selected-rotocols=ist InstallServices 5 SelectedServices=ist Install', 5 J *Q'omain ['etect-arms] 'etect,ount 5 / =imitTo 5 =N7#IS&E?I N7III-arams =N7#IS&E?I 5 [ N7III-arams] Transceiver 5 ? InterruptNum3er 5 G Io@ase&ddress 5 G%$ [Selected-rotocols=ist] T, 5 T,-I--arms NW=N7I-X 5 I-X-arms N@! 5 Net@eui-arms

[T,-I--arms] 'A,- 5 yes [Net@eui-arms] [I-X-arms] [SelectedServices=ist] R&S 5 Remote&ccess-arameters [Remote&ccess-arameters] -ortSections 5 'ialoutSection 'ialout-rotocols 5 T,-/I[*odem] Install*odem 5 *odemSection ['ialoutSection] -ortName 5 ,J*) 'eviceType 5 *odem -ortUsa2e 5 'ialJut [*odemSection] ,om) 5 4Sportster )$$??B##%?? Lternal4

Con$iguring Networ! Adapters and Setup In$ormation 0iles $or Automated Installation
:uilding the Windows NT Setup Script Networ! Adapters Section

+f the networ3 adapter is auto-detected during a manual installationO the Detect%dapters options may4e used! The following is an e?ample of the sections reJuired in a Windows NT setup script to detect two different networ3 adapters! The networ3 adapter option name to the right of the 8imitTo is in the KNetwor3 %dapter 6ption NameK section later in this chapter! The networ3 adapter option name can also 4e found in the options section of each netcard +N#! Note: Not all net/or0 adapters are detected. In cases /!ere t!e net/or0 adapter is not detected, yo re1er to t!e ne>t e>ample. E>ample 9 This e?ample relies on Windows NT setup to detect the networ3 adapters!
[Net;or1]

'etect&dapters 5 'etect&daptersSection ['etect&daptersSection] 'etect,ount 5 ) =imitTo 5 ' , TA RWJR7STUR@J< 0 0 The parameter section is not re6uired if the parameters 0 detected are desired( If a particular parameter 0 needs to 3e chan2ed< then use the adapter parameters 0 option( 0 ' , TA RWJR7STUR@J 5 ' , TA RWJR7STUR@J-aramSection l% 5 l%-aramSection l%

[' , TA RWJR7STUR@J-aramSection] InterruptNum3er 5 E IJ@ase&ddress 5 / *emory*apped@ase&ddress 5 $E/I%$ @usType 5 / @usNum3er 5 ? [ l%-aramSection]

InterruptNum3er 5 E IJ,hannelReady 5 ? Transceiver 5 ? IJ@ase&ddress 5 G%$ @usType 5 / @usNum3er 5 ?

The use of the Dectect%dapters pro.ides the a4ility to ha.e one answer file for multiple networ3 adapters! E>ample 2 +f you find that the adapter is not auto-detected during a manual installation of Microsoft Windows NTO the +nstall %dapters options can 4e used to automatically specify the installation of networ3 adapters! +n e?amples two and three 4elowO you will find the information reJuired to specify a networ3 adapter! The networ3 adapter option name under the =Selected%daptersSection> is in the KNetwor3 %dapter 6ption NameK section later in this chapter!
[Net;or1] Install&dapters 5 Selected&daptersSection [Selected&daptersSection] l% 5 l%-aramSection

l%-aramSection]

InterruptNum3er 5 E IJ,hannelReady 5 ? Transceiver 5 ? IJ@ase&ddress 5 G%$ @usType 5 / @usNum3er 5 ?

E>ample 3
[Net;or1] Install&dapters 5 Selected&daptersSection [Selected&daptersSection] ' , TA RWJR7STUR@J 5 ' , TA RWJR7STUR@J-aramSection [' , TA RWJR7STUR@J-aramSection] InterruptNum3er 5 E IJ@ase&ddress 5 / *emory*apped@ase&ddress 5 $E/I%$ @usType 5 / @usNum3er 5 ? Determining Networ! Adapters .arameters in the &NATT'ND.T(T

Determining an adapter[s parameters can 4e accomplished .ia the ,&@&DT/0!&'& utility supplied with Windows NT !"! &.ery installed networ3 adapter has two 3eys in AB8MLS*ST&MLCurrentControlSetLSer.icesLO C7roductNameD and CSer.iceNameD that specify the option name for the card and the instance of the card respecti.ely! To find out the .alue of C7roductNameD and CSer.iceNameD chec3 the following registry .alues) AB8MLS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLNetwor3CardsL7roductName) ,&@ESF)CadapterEstringD Ser.iceName) ,&@ESF)CadapterEstringD The string assigned to Ser.iceName is what is needed to locate the parametersO for instanceO of the networ3 adapter installed! These parameters can 4e located in the registry under AB8MLS*ST&MLCurrentControlSetLSer.icesLCSer.iceNameDL7arameters %ll numeric .alues found in the parameters 3ey for the adapter ha.e 4een con.erted from he? .alues to decimal .alues for the unattend file! The names of

the parameters and non-numeric .alues can 4e directly translated to the unattend file!
+8er8iew o$ a Networ! Component .IN0 that Supports &nattended Installation

#or a networ3 component $adaptersO ser.icesO protocols( to 4e installed using the Unattended Setup mechanismO the componentVs 6&MN????!+N# files must chec3 certain +N# sym4ols and react accordingly! These sym4olsO ST#EUN%TT&ND&DO ST#E@U+EUN%TT&ND&DO and ST#EUN%TT&ND&DES&CT+6NO inform Windows NT Setup whether the installation is 4eing run in unattended mode or not! +n order to perform this modificationO you must 4e familiar with the Windows NT style +N# formats! To find out which mode setup is running inO your !+N# file must contain code similar to the following)
ifstr8I: S8PST!Q9UIQUN&TT N' ': 55 4+ S4 ifstr8I: S8P&utoNetInterfaceType: P5 44 set @usInterfaceType 5 S8P&utoNetInterfaceType: else set @usInterfaceType 5 / endif ifstr8I: S8P&utoNet@usNum3er: P5 44 set @usNum3er 5 S8P&utoNet@usNum3er: else set @usNum3er 5 ? endif 2oto adapterverify endif

+f setup is running in Unattended modeO then you must s3ip the +N# commands that 4rings up U+O dialogsO etc! These commands are usually of the form)
readBsyms !ile'ependent'l2S8PST!Q=&N9U&9 : ui start 4Input'l24

6nce the networ3 component +N# has .erified that setup is running in unattended modeO it then can use the ST#EU%TT&ND&D sym4ol to get the unattended filename! The ST#EU%TT&ND&DES&CT+6N sym4ol will 4e set 4y setup so the !+N# code can read it as needed! %ettin. "arameters 1or Net/or0 Adapter 3ards +f the component is an adapter cardO the !+N# file will ha.e to pass the parameter section for the card through the %ddDefaultNetCard7arameters in the UT+8+T*!+N# file that is shipped with Windows NT! To do thisO the following

3ey will 4e specified)


ifstr8I: S8PST!Q9UIQUN&TT N' ': 55 4+ S4 Shell S8Utililty(Inf:< &dd'efaultNet,ard-arameters< S87ey-arams: endif

This will cause the parameters listed in the UN%TT&ND!T'T file to 4e written to the registry! Note that the code a4o.e must 4e implemented after the default networ3 adapter parameters ha.e 4een written to the registry! See the 6&MN%D&0!+N# file included in Windows NT !"! ;eri1yin. and Testin. 3omponent .IN's Networ3 %dapter Cards) +nstall the particular networ3 card on Windows NT in attended mode! Chec3 the parameters it installs in the registry AB8MLSystemLCurrentControlSetLSe.icesLCadapterEname?DL7arameters where ? is an instance of the card! +t is usually -! Note the .alues of the parameters listed! +f the parameter .alues are not of the type ,&@EDW6,DO the dri.er for the adapter must 4e modified to generate ,&@EDW6,D .alues! Note that the Networ3%ddress parameter is of the type ,&@ESF! +nstall the networ3 adapter card in unattended mode using the new +N# you created! Chec3 the registry again to .erify that the parameters were installed correctly!
Feri$ying the +'4 0ile $or ST0DG&ID&NATT'ND'D

With the adapter$s( properly configured in the unattend file$s(O you must .erify that the appropriate 6&M file contains correct unattend code! Using the listing of Networ3 %dapters pro.ided in the KNetwor3 %dapter 6ption NameK section later in this chapterO locate the correct 6&MN%D??!+N# filename! +n the case of the +ntel &ther &?press -: 8%N %dapter the 6&MN%D+N!+N# file is used! Using a te?t editor open the 6&MN%D+N!+N# and search for the string KST#E@U+EUN%TT&ND&DK! +f the string is found then the file has 4een made Kunattend awareK! See the KNetwor3 %dapter 6ption NameK section for a list of +N#s that support unattended setup! +f the adapter is not normally auto-detected or is a third-party networ3 adapter not supported out of the 4o? 4y Windows NT !"O use a te?t editor to open 6&MN%DFF!+N# and search for the option name! 6nce the option name is foundO locate the appropriate directory listing which will point to a directory containing the 6&MS&TU7!+N# file! Using a te?t editorO open the 6&MS&TU7!+N# and search for ST#E@U+EUN%TT&ND&D! +f the string is foundO then the file has 4een made Qunattend awareR! See the KNetwor3 %dapter 6ption NameK section for a list of !+N#s that support unattended setup!

+f the ST#E@U+EUN%TT&ND&D is not found in the fileO you will ha.e to add additional code to ma3e the +N# file Kunattend awareK! +f the +N# is located in L+/8: directoryO then Microsoft has included the code to ma3e the +N# Kunattend awareK! +f the 6&MS&TU7!+N# is used and is part of the L+/8:LD,G8+2!N+C directoryO the hardware .endor pro.ided the +N# file and is responsi4le for including the code to ma3e the +N# Kunattend awareK! +n many cases the automation of the 6&MS&TU7!+N# can normally 4e handled with the following code additions! #or e?amples of the code see 6&MN%DTB!+N# in the TsystemrootTLsystem/0 directory! Search for adapteroptions in the 6&MS&TU7!+N# and insert the following code)
adapteroptions 5 > 0 0 555555555555555555555555555555555555555555555555555555555555 5 0 This section added for UN&TT N' ' setups to 3ypass user 0 prompts< called -J-S( 0 555555555555555555555555555555555555555555555555555555555555 5 0 set from 5 adapteroptions ifstr8i: S8PST!Q9UIQUN&TT N' ': 55 4+ S4 ifstr8i: S8P&utoNetInterfaceType: P5 44 set @usInterfaceType 5 S8P&utoNetInterfaceType: else set @usInterfaceType 5 / endif ifstr8i: S8P&utoNet@usNum3er: P5 44 set @usNum3er 5 S8P&utoNet@usNum3er: else set @usNum3er 5 ? endif 2oto s1ipoptions endif

Notice the goto s3ipoptions line a4o.e! The goto line must 4e .erified for a su4routine called s3ipoptions! +f the s3ipoptions su4routine does not e?istO e?amine the code of adapteroptions to locate the appropriate goto routine and su4stitute! The ne?t part of the automation code is added at to the end of the Kregistry parameters addK section which is usually part of the writeparameters section! The following code reads the parameters section of the unattend file and writes

the .alues to the registry!


Set NewGalue8ist N \\+nterruptNum4erO5$NoTitle(O5$I,&@EGTEDW6,D(O5$+,]Galue(^O_ \2usTypeO5$NoTitle(O5$I,&@EGTEDW6,D(O5$2usTypeNum(^O_ \2usNum4erO5$NoTitle(O5$I,&@EGTEDW6,D(O5$2usNum4er(^O_ \%dapterTypeO5$NoTitle(O5$I,&@EGTEDW6,D(O"^O_ \MediaTypeO5$NoTitle(O5$I,&@EGTEDW6,D(O-^O_ \MemoryMapped2ase%ddressO5$NoTitle(O5$I,&@EGTEDW6,D(O5$MemoryMapGalue(^O_ \+o2ase%ddressO5$NoTitle(O5$I,&@EGTEDW6,D(O5$+62ase%ddrGalue(^^ Shell 5$Utility+nf(O %ddGalue8istO 5$Bey7arameters(O 5$NewGalue8ist( W W NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN W ,ewrites the registry from the answer file! W NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN W ifstr$i( 5$IST#E@U+EUN%TT&ND&D( NN K*&SK Shell 5$Utility+nf(O %ddDefaultNetCard7arametersO5$Bey7arameters( endif

Installation o$ Networ! Adapters Dri8ers Not Supplied on the Windows NT ".# 5etail CD

+nstalling networ3 adapter dri.ers that are not supplied on the Windows NT !" ,etail CD reJuire all of the same steps as outlined a4o.e! The one added item is pro.iding Windows NT Setup with the location of the networ3 adapter file! The method descri4ed pro.ides the 4est .ersatility when dealing with .endor pro.ided dri.ers! Most networ3 installations are started .ia a 4atch file! Modify the 4atch file and insert the following commands 4efore the start of the W+NNT!&'& command) N&T US& F)LLS&,G&,L+/8: MBD+, C)LM*D,+G&,S C67* F)LD,+G&,S C)LM*D,+G&,S W+NNT M2 MU)F)LUN%TT&ND!T'T Aa.ing the dri.ers on the local dri.er will also simplify future trou4leshooting if the adapter dri.ers ha.e to 4e reinstalled!
[Net;or1] Install&dapters 5 &dapters=ist [&dapters=ist] J *&dapter 5 &dapter-arameters< ,:"*+'RI. RS [&dapter-arameters]

:ypassing the JCurrent Netcard .arameters Are Not Feri$ia;ly CorrectJ 4essage

During the installation of a Networ3 %dapter .ia %ttended or Unattended methodsO the following message may appear) KThe current netcard parameters are not .erifia4ly correct and may result in usage pro4lems or system failure! Use them anyway`K The pop-up message is a warning that the parameters entered for the adapter do not match the current physical settings of the card! There are cases when the pop-up message does appear when the settings can not 4e .erified despite the correct .alues! During an UN%TT&ND&D installationO the .erification of the adapter parameters can 4e 4ypassed! Note: T!e te>t t!at is sed in t!e dialo. 2o> resides in 6TI5IT&.IN'. The following e?ample will hold true for the maPority of Networ3 %dapter 6&MS&TU7!+N# files pro.ided 4y Microsoft or Third-7arty Gendors! This option should only 4e used if the parameters for the networ3 adapter ha.e 4een tested to ensure functionality! To locate the sections to modifyO Juic3ly do a search for G&,+#*EW%,N+N@ and compare it to the e?ample pro.ided! The reJuired changes are outlined in the following e?ample) Shell 5$Utility+nf(O,egistry&rrorStringOG&,+#*EW%,N+N@ ifint 5$5ShellCode( IN 5$ISA&88EC6D&E6B( De4ug-6utput KShellCode error) cannot get an error string!K goto ShellCode&rror endif set &rror N 5$5,"( W NNNNNNNNNNNNNNNNNNNNNNNNNN W Start of Changes W NNNNNNNNNNNNNNNNNNNNNNNNNN W Comment out the K@oto WarningK entry with a semicolon W W @oto Warning W W %dd the K@oto S3ip6ptionsK entry as follows! W @oto S3ip6ptions W NNNNNNNNNNNNNNNNNNNNNNNNNN W &nd of changes W NNNNNNNNNNNNNNNNNNNNNNNNNN s3ipoptions N_

ifint 5$6ldGersion&?isted( NN 5$T,U&(

Networ! Adapter +ption Name


Dri8er Supplied in the KI,8L Directory

The following adapters are part of the Windows NT !" CD and can 4e located in the L+/8: directory! The options name in the left column is the .alue needed for the =N&TW6,B> section of the UN%TT&ND!T'T! The 8iteral String in the middle column is the string displayed in Control 7anelLNetwor3 and used to locate the appropriate 6ption Name! Y N ST#E@U+EUN%TT&ND&D code presentO the +N# is Kunattend awareK!

Source=\I386 Options Name Literal String E5N;<* 3*om 3*$23 Et2erlin(=<* )dapter E5N;II > 3*om Et2erlin( II )dapter 8also II=1" and II=1" TP9 E5N;3EI!) 3*om Et2erlin( III EI!) )dapter E5N;3I!)$0% > 3*om Et2erlin( III I!)=P*<*I) )dapter E5N;3<*) 3*om Et2erlin( III <*) )dapter E5N;1" > 3*om Et2erlin(1"=Et2er5in(1" TP )dapter )<1$00T > )dvanced <icro Devices )<2100=)<1$00T )dapter )<DP*I )<D P*NET -amil, Et2ernet )dapter <)P5E *?<P)@ 32A3it D0al!peed To(enARing *ontroller NET-5X *?<P)@ Net-le#=Net-le#A2 ENETATR *ontroller 3?N!)I *?<P)@ Net-le#A2 D0alPort ENET *ontroller R?D)N *?<P)@ Net-le#A2 D0alPort TR *ontroller D.R)NG? *?<P)@ Net-le#A2 TR *ontroller 5T200 > *?P!=Da,!tar Digital 5ocalTal( )dapter 5T200<* *?P!=Da,!tar Digital 5ocalTal( )dapter 8<*)9 DE72$ DE* DE72$ Et2erW?R;! T0r o EI!) )dapter DE737 DE* DE737 Et2erW?R;! T0r o P*I TP )dapter DE73$ DE* DE73$ Et2erW?R;! T0r o P*I )dapter DE7$0 DE* DE7$0 Et2erW?R;! T0r o P*I )dapter DE$00 DE* DE$00 -ast Et2ernet P*I )dapter DE*100 > DE* Et2erW?R;! 5* )dapter DE*ETBERW?R;!T.R3? > DE* Et2erW?R;! T0r o )dapter DE*722 DE* Et2erW?R;! T0r o EI!) )dapter DE*101 > DE* Et2erW?R;! T0r o=5* )dapter DE*300 DE* -DDIcontroller=EI!) DE-P) > DE* -DDIcontroller=P*I <.5TI) DE* m0ltiaCs Et2ernet *ontroller D*21070 DE* P*I Et2ernet DE*c2ip 21070 D*21071 DE* P*I Et2ernet DE*c2ip 21071

INF File oemnadem.in& oemnade2.in& oemnadee.in& oemnade3.in& oemnaden.in& oemnade1.in& oemnadam.in& oemnadap.in& oemnadn&.in& oemnadn&.in& oemnadn&.in& oemnadn&.in& oemnadn&.in& oemnadlt.in& oemnadlm.in& oemnaddt.in& oemnaddt.in& oemnaddt.in& oemnaddt.in& oemnaddt.in& oemnadd1.in& oemnadd2.in& oemnadd7.in& oemnadd1.in& oemnadd3.in& oemnadd&.in& oemnaddt.in& oemnaddt.in& oemnaddt.in&

D*21170 D*21172 DE*!T)T > D)T)-IRE!T D)T)-IRE. D)T)-IRE7!T P*I<)*I!) P*I<)*<* P*I<)*7 NE2000I3<*?<P)T > I3<T?;> I3<T?;<* > I3<T?;) > I3<T?;2I!) > EE1" > EE1"<* IEEPR? > <!<DG<P!<1" > <!<DG<P)TP > <!<DG<PI!) > <!<DG<PEI!) > <!<DG<PI!)*P > <!<DG<PPNP > <!<DG<PI!)* > <!<DG<P<*) > <!<DG<P<*32 > <!<DG<PP* > <!<DG<PP*I > <!<DG<PP*I3< > <!<DG<PP*<*I) > <I*R?DDNEP*<*I) > 5??P > NE2000<*) > NPEI!) NP<*) NE1000 > NE2000 > NE2000!?*;ETE) > NE3200 NE7000P*<*I) > )<1$00T1 > )<1$00T2 > P11%X > P13%0 > P1%%0 > WD1003E) WD1003W) WD1013EP)

DE* P*I -ast Et2ernet DE*c2ip 21170 DE* P*I -ast Et2ernet DE*c2ip 21172 DE* T0r o *2annel Et2ernet )dapter Digi Data-ire A I!)1!=T )dapter Digi Data-ire A I!)1. )dapter Digi Data-ire A I!)7!=T )dapter Digi P*I<)* A I!) )dapter Digi P*I<)* A <* )dapter Digi P*I<)*=7 )dapter I3< Et2ernet P*<*I) and *ompati le )dapter I3< To(en Ring 8I!)=P*<*I)9 )dapter I3< To(en Ring 7=1" )dapter =) I3< To(en Ring )dapter =) I3< To(enARing Net'or( 1"=7 I!) )dapter II Intel Et2er E#press 1" 5)N )dapter Intel Et2er E#press <*) )dapter Intel Et2erE#press PR? Et2ernet )dapter <adge !mart 1" Ringnode <adge !mart 1"=7 )T Pl0s Ringnode <adge !mart 1"=7 )T Ringnode <adge !mart 1"=7 EI!) Ringnode <adge !mart 1"=7 I!) *lient Pl0s Ringnode <adge !mart 1"=7 I!) *lient PnP Ringnode <adge !mart 1"=7 I!) *lient Ringnode <adge !mart 1"=7 <* Ringnode <adge !mart 1"=7 <*32 Ringnode <adge !mart 1"=7 P* Ringnode <adge !mart 1"=7 P*I Ringnode <adge !mart 1"=7 P*I Ringnode 83<9 <adge !mart 1"=7 P*<*I) Ringnode <icrod,ne NE7000 P*<*I) )dapter <! 5oop ac( )dapter NE=2 and *ompati le <* )dapter Net'or( Perip2erals -DDI EI!) Net'or( Perip2erals -DDI <*) Novell NE1000 )dapter Novell NE2000 *ompati le )dapter Novell NE2000 !oc(et E) )dapter Novell NE3200 EI!) )dapter Novell NE7000 P*<*I) )dapter Novell=)nt2em NE1$00T )dapter Novell=)nt2em NE2100 )dapter ProNETA7=1" p11%X NI* Proteon p13%X )dapter Proteon p1%%X )dapter !<* 8WD9 1003E =) !<* 8WD9 1003W =) !<* 8WD9 1013EP =)

oemnaddt.in& oemnaddt.in& oemnadde.in& oemnaddi.in& oemnaddi.in& oemnaddi.in& oemnaddi.in& oemnaddi.in& oemnaddi.in& oemnadni.in& oemnadt(.in& oemnadtm.in& oemnadtm.in& oemnadt2.in& oemnadin.in& oemnadim.in& oemnadep.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadma.in& oemnadni.in& oemnadl .in& oemnadnm.in& oemnadnp.in& oemnad&d.in& oemnadn1.in& oemnadn2.in& oemnadn2.in& oemnadne.in& oemnadni.in& oemnadam.in& oemnadam.in& oemnadpm.in& oemnadp3.in& oemnadp%.in& oemnad'm.in& oemnad'm.in& oemnad'm.in&

WD1013WP) !<*I!) > .3P* > .3P*E?TP > .3P!

!<* 8WD9 1013WP =) !<* 8WD9 Et2er*ard .ngermannA3ass Et2ernet NI.pc )dapter .ngermannA3ass Et2ernet NI.pc=E?TP )dapter .ngermannA3ass Et2ernet NI.ps )dapter

oemnad'm.in& oemnad'd.in& oemnad0 .in& oemnad0 .in& oemnad0m.in&

Dri8ers Supplied in the KD5F=I:KN'TCA5DK(8L and KI,8LKD5F=I:.NIC Directories

The following adapters are part of the Windows NT !" CD and can 4e located in the L+/8:LD,G8+2!N+C directory! The 6ptions Name in the left column is the .alue needed for the =N&TW6,B> section of the UN%TT&ND!T'T! The 8iteral String in the middle column is the string displayed in Control 7anelLNetwor3 and is used to locate the appropriate 6ption Name! To find the 6&MS&TU7!+N# fileO locate the option name in Tsystemroot TLsystem/0L6&MN%DFF!+N#! 6&MN%DFF!+N# pro.ides the source path under D,G8+2!N+C! Y N ST#E@U+EUN%TT&ND&D code present

Options Name 3*$01 E5IN;$24 3*$%2 > 3*$%0 > 3*$%4 > 3*$%$ > 3*%0$ > -5N; T5N;3EI!) )**NT > )**T?NEN221" > )5)NE0 > )T1400 )T1400 )2$"0P*I )NDT?; E21XX E22XX -30XX -40XX T20XX E<P*I *P@NDI! Net-le#3 Fenet

Source=\I386\DRIVLIB.NI Literal String 3*om 3*$01 I!) 1"A it Et2ernet )dapter 3*om 3*$24 Et2erlin(=<* 32 )dapter 3*om Et2er5in( III EI!) 30sA<aster )dapter 83*$%29 3*om Et2er5in( III P*I 30sA<aster )dapter 83*$%09 3*om -ast Et2er5in( EI!) 10=1003)!EAT )dapter 83*$%49 3*om -ast Et2er5in( P*I 10=1003)!EAT )dapter 83*$%$9 3*om -ast Et2er5in( X5 )dapter 83*%0$9 3*om -DDI5in( EI!) 5)N )dapter 3*om To(en5in( III I!) )dapter in EI!) mode 83*"1%39 )ccton EN1""# <PX2 PnP Et2ernet )dapter )ccton EN221" Et2ernet P*<*I) )dapter )daptec )T< 5)N Em0lation )dapter )llied Teles,n )T1400 Et2ernet )dapter )llied Teles,n )T1420 Et2ernet )dapter )llied Teles,n )TA2$"0 !eries P*I=100 Et2ernet )dapter )ndre' I!) II) To(en Ring )dapter *a letron E21XX Et2ernet )dapter *a letron E22XX Et2ernet )dapter *a letron -30XX -DDI )dapter *a letron -40XX -DDI )dapter *a letron T20XX To(enARing )dapter *ogent e<)!TERE P*I )dapter *ompa/ Et2ernet 5)N *ard *ompa/ Net-le#A3 *ontroller *ompe# ENET1" P=PNP Et2ernet )dapter

IR<)trac Digi!,nc-R Digi!,ncX2$ D5IN;DE220 > D5IN;DE"$0 > Die2lGDI+) Die2lGDI+)P*< Die2lGDI+)PR? Die2lG!2< Die2lG@.)DR? Die2lG!*?< Die2lGW)N E**)RD! BPTXP*I BP2427$ BP<*) BP24274) BP242743 BP242$0 BP242$2) H2$43) H2$44) H2$1$) H2$1$3 H2%40) H2%43) I3<-EP*I I3<T?;7 > !TRE)<ER I3<I!)ETBER > I3<ENIIN @.)DENET !TRE)<ER ETB1"I ETB32 E1003P*I > E10P*I EPR?NT E10PP*I > E1003EXP > -532 T;XP1" T;XP32 5IN;!D!E1" > 5IN;!D!E*2T > 5E* > 35.T?; > **103T

D*) IR<)trac To(enARing )dapter Digi !,ncPort -rame Rela, )dapter Digi !,ncPort X.2$ )dapter DA5in( DEA220 I!) Et2ernet )dapter DA5in( DEA"$0 Et2ernet P*<*I) )dapter Eicon DI+) I!DN I!) )dapter Eicon DI+) P*<*I) I!DN )dapter Eicon DI+) PR? I!DN )dapter 'it2 )dvanced D!P Eicon Primar, Rate I!DN )dapter Eicon @.)DR? I!DN )dapter Eicon !*?< I!DN )dapter Eicon +irt0al W)NA<iniport I!DN Inter&ace Eicon W)N )dapters BP 10=100TX P*I Et2ernet )dapter BP 2427$) P* 5)N )dapter=1 TP BP 2427") <* 5)N )dapter=1" TP BP 24274) P* 5)N )dapter=1" TP BP 242743 P* 5)N )dapter=1" TP Pl0s BP 242$0 P* 5)N )dapter=1 T5 BP 242$2) P* 5)N )dapter=1" T5 Pl0s BP Des(Direct 8H2$43)9 10=100 I!) 5)N )dapter BP Des(Direct 8H2$44)9 10=100 EI!) 5)N )dapter BP Des(Direct 8H2$1$)9 10=100 P*I 5)N )dapter BP Des(Direct 8H2$1$39 10=100 P*I 5)N )dapter BP Des(Direct 8H2%40)9 103aseT=2 P*I 5)N )dapter BP Des(Direct 8H2%43)9 103aseT P*I 5)N )dapter I3< 100=10 P*I Et2ernet )dapter I3< )0to 1"=7 To(enARing I!) )dapter I3< )0to 5)N!treamer P*I )dapter I3< I!) Et2ernet )dapter I3< 5)N )dapter=) &or Et2ernet I3< Peer<aster !erver )dapter I3< !treamer -amil, )dapters I*5 Et2erTeam1"i )dapter I*5 Et2erTeam32 )dapter Intel 12$$4A ased 10=100 Et2ernet P*I )dapter Intel Et2erE#press PR?=10 P*I 5)N )dapter Intel Et2erE#press PR?=10E I!) )dapter Intel Et2erE#press PR?=10E P*I )dapter Intel Et2erE#press PR?=1003 P*I )dapter Intel -las232 EI!) 5)N )dapter Intel To(enE#press 1"=7 )dapter Intel To(enE#press !erver )dapter 5in(!,s Et2er1" 5)N *ard 5in(!,s Et2ernet*ard P*<*I) <adge )T< 5)N Em0lation *lient <adge 3l0eE To(en Ring )dapter <ega2ert6 **103T=2 Et2ernet P*<*I) )dapter

XHE<3211 > NE100P*I <G!5 N!*NE7100 > N*RT?; NP)T2 NP)T3 N*PNi'R)! G?*)RD ?*E2X< ?100P*I ?*E7X<P10 > ?*E7X<P100 > G?*)RD<P*<*I) > *?<3? > ?*T;1" > ?*T;32 ?T*H?DNT E!3210 NI"$10 RT5102% Rns-DDI !<*121" !<*171" !<*1732 !<*%232 !<*%332 !<*1232 )*5!ER !;T?;NT !;-ENT !;-PNT !;ETBNT !;ETBNT !;-INT !;-<NT !;T?;NTGP*I !;T?;NT T*F707$e T*F707"e )5$" )5T1 .!R3RI W)+E5)NGI!) W)+E5)NG<*) *ENDI!3

<ega2ert6 XHE<3211 Et2ernetE<odem P*<*I) )dapter <icrod,ne NE10=100 P*I )dapter <icroGate !,nc5in( Internet )dapter National !emicond0ctor In&o<over NE7100 N*R !tar5)N 1"=7 To(enARing )dapter Net'or( Perip2erals -DDI A )T2 Net'or( Perip2erals -DDI A )T3 Net'or( Perip2erals N0*ard P*I -DDI Ni'ot Net'or(s Ni'R)! )dapter ?licom Et2ernet Go*ard ?licom Et2ernet I!)=I+ )dapter ?licom Et2ernet P*I 10=100 )dapter ?licom Et2ernet P*I=II 10 )dapter ?licom Et2ernet P*I=II 10=100 )dapter ?licom Go*ard ET=<odem 211 ?licom Go*ard TR 1"=7 ?licom Go*ard TR=<odem 177 ?licom To(en Ring 1"=7 )dapter ?licom To(en Ring !erver )dapter ?sitec2 Hac( o& Diamonds Tr0mpcard Racal Interlan E!3210 EI!) Et2ernet )dapter Racal Inter5an X5erator=E3=NI"$10 )dapters Realte( RT5102% P*I )dapter RN! 2200 P*I -DDI 5)N *ontroller !<* 121" Et2er*ard Elite1" .ltra !<* 171" Et2erEI !<* 1732 Et2erPo'er P*I Et2ernet )dapter !<* %232 -ast Et2ernet )dapter !<* %332 Et2erPo'er10=100 P*I -ast Et2ernet )dapter !<* EI!) Et2er*ard Elite32 .ltra )dapter !tar Gate )*5=)vanstar -amil, )dapter !,s;onnect !;ANET 7=1"E To(en Ring )dapter !,s;onnect !;ANET EI!) -DDI )dapter !,s;onnect !;ANET -DDI P*I )dapter !,s;onnect !;ANET G1" Et2ernet )dapters !,s;onnect !;ANET G32E Et2ernet )dapters !,s;onnect !;ANET I!) -DDI )dapter !,s;onnect !;ANET <*) -DDI )dapter !,s;onnect !;ANET To(en Ring P*I )dapter !,s;onnect !;ANET TR7=1"E To(en Ring )dapter T2omasA*onrad T*707$ To(en Ring )dapter T2omasA*onrad T*707" To(en Ring )dapter ..!. Ro otics )llegra $" -rame Rela, ..!. Ro otics )llegra T1 -rame Rela, ..!. Ro otics !portster I!DN )dapter Wave5)N I!) 30s )dapter Wave5)N <*) 30s )dapter Xircom *redit*ard Et2ernet

*E2XP! *E<21XP! *<2NDI!3 *TNDNT X*!PE2 X*!PE3

Xircom *redit*ard Et2ernet IIps Xircom *redit*ard Et2ernetE<odem 21.1 Xircom *redit*ard Et2ernetE<odem II Xircom *redit*ard To(en Ring Xircom Poc(et Et2ernet II Xircom Poc(et Et2ernet III

+'4 Install +ptions that Can ;e &sed with &NATT'ND.T(T


[Unattended] J *-reinstall 5 +es ,omputerType 5 4Standard -,4<4R T&I=4 [-ointin2'evice'rivers] 4*icrosoft *ouse -ort *ouse 8includes @all-oint:4 5 4R T&I=4 [*assStora2e'rivers] 4Sym3ios =o2ic ,$/? -,I S,SI Aost &dapter4 5 4R T&I=4 [7ey@oard'rivers] 4XT< &T< or ['isplay] Inf!ile 5 4chips(inf4 InfJption 5 4,hips .ideo &ccelerator8%D#?? %D#/? %EEDE %EED$ %EEE?:4 Install'river 5 / [J *&ds] [J *@oot!iles] TXTS TU-(J * J *A&=('== J *S,SI(S+S T(TS'T&..SI0 'ntries $or 5etail-Supplied 0iles that Wor! with +'4 +ptions in the &NATT'ND.T(T nhanced 7ey3oard 8$#B/?D 1eys:4 5 4R T&I=4

5om$uter Ty$es
Ex#m$le: )(n#ttended+ 5om$uterTy$e 4 >St#nd#rd P5>8>%ET IL> ,etail 6ptions) K%ST Manhattan SM7K

KCompaJ System7ro Multiprocessor or -""T Compati4leKOK,&T%+8K KCorollary C-4us %rchitectureKOK,&T%+8K KCorollary C-4us Micro Channel %rchitectureKOK,&T%+8K K+2M 7SM0 or other Micro Channel-4ased 7CKOK,&T%+8K KM7S Uniprocessor 7CKOK,&T%+8K KM7S Multiprocessor 7CKOK,&T%+8K KM7S Multiprocessor Micro Channel 7CKOK,&T%+8K KNC, System /""" Model //:"M/ 9"M/99"KOK,&T%+8K K6li.etti 8S'9"/"M "KOK,&T%+8K KStandard 7CKOK,&T%+8K KStandard 7C with C-Step i 8:KOK,&T%+8K KWyse Series <"""i Model < "M7M<:"M7KOK,&T%+8K

,eybo#rd L#youts
Ex#m$le: )(n#ttended+ ,ey-o#rdL#yout 4 >(SDIntern#tion#l> ,etail 6ptions) K%l4anianK K2elarusianK K2elgian DutchK K2elgian #renchK K2ra;ilian $%2NT(K K2ulgarianK K2ulgarian 8atinK KCanadian &nglish $Multilingual(K KCanadian #renchK KCanadian #rench $Multilingual(K KCroatianK KC;echK KC;ech $]W&,T*(K KDanishK KDutchK K&stonianK K#innishK K#renchK K@ermanK K@erman $+2M(K K@ree3K K@ree3 8atinK K@ree3 $00"(K K@ree3 $00"( 8atinK K@ree3 $/-9(K

K@ree3 $/-9( 8atinK KAungarianK KAungarian -"--3eyK K+celandicK K+rishK K+talianK K+talian $- 0(K K8atin %mericanK K8at.ianK K8at.ian $]W&,T*(K K8ithuanianK KNorwegianK K7olish $7rogrammers(K K7olish $0- (K K7ortugueseK K,omanianK K,ussianK K,ussian $Typewriter(K KSer4ian CyrillicK KSer4ian 8atinK KSlo.a3K KSlo.a3 $]W&,T*(K KSlo.enianK KSpanishK KSpanish .ariationK KSwedishK KSwiss #renchK KSwiss @ermanK KTur3ish #K KTur3ish ]K KU3rainianK KUnited BingdomK KUSK KUS-D.ora3K KUS-D.ora3 for left handK KUS-D.ora3 for right handK KUS-+nternationalK

Mouse Dri"ers
Ex#m$le: )Pointin*De"iceDri"ers+ >Microso0t Mouse Port Mouse Gincludes -#llPointH> 4 >%ET IL> ,etail 6ptions)

KMicrosoft Mouse 7ort Mouse $includes 2all7oint(K N K,&T%+8K K8ogitech Mouse 7ort MouseK N K,&T%+8K KMicrosoft +n7ort 2us MouseK N K,&T%+8K KMicrosoft Serial MouseK N K,&T%+8K KMicrosoft 2all7oint Serial MouseK N K,&T%+8K K8ogitech Serial MouseK N K,&T%+8K KMicrosoft $@reen 2uttons( or 8ogitech 2us MouseK N K,&T%+8K KNo Mouse or 6ther 7ointing De.iceKO N K,&T%+8K

S5SI Dri"ers
Ex#m$le: )M#ssStor#*eDri"ers+ >Symbios Lo*ic 5I31 P5I S5SI ?ost d#$ter> 4 >%ET IL> ,etail 6ptions) K%daptec %A%--9-'M%A%--90'M%+C-:':" SCS+ %dapterK N K,&T%+8K K%daptec %A%--9 'M%A%--: ' SCS+ Aost %dapterK N K,&T%+8K K%daptec %A%--< ' &+S% SCS+ Aost %dapterK N K,&T%+8K K%daptec %A%-0< 'M%A%-08 'M%+C-<<<' SCS+ %dapterK N K,&T%+8K K%daptec %A%-09 'M%A%-/9 'M%+C-<8'' SCS+ ControllerK N K,&T%+8K K%MD 7C+ SCS+ ControllerM&thernet %dapterK N K,&T%+8K K%M+scsi SCS+ Aost %dapterK N K,&T%+8K K2us8ogic SCS+ Aost %dapterK N K,&T%+8K K2us8ogic #lash7ointK N K,&T%+8K KCompaJ /0-2it #ast-Wide SCS+-0M&K N K,&T%+8K KCompaJ Dri.e %rrayK N K,&T%+8K KDell Dri.e %rrayK N K,&T%+8K KD7T SCS+ Aost %dapterK N K,&T%+8K K#uture Domain TMC-<"""&' &+S% SCS+ Aost %dapterK N K,&T%+8K K#uture Domain 8'' SCS+ Aost %dapterK N K,&T%+8K K%daptec 090"M09"9 M #uture Domain -:''M7C+MSCS+0@oK N K,&T%+8K K+2M MC% SCS+ Aost %dapterK N K,&T%+8K K+D& CD-,6M $%T%7+ -!0(M7C+ +D& ControllerK N K,&T%+8K KMitsumi CD-,6M ControllerK N K,&T%+8K KMyle? D%C9:"MDigital SW'C,-&? ,aid ControllerK N K,&T%+8K KNC, 9/C9' SCS+ Aost %dapterK N K,&T%+8K KNC, C<"" SCS+ Aost %dapterK N K,&T%+8K KNC, 9/C<-" SCS+ Aost %dapterK N K,&T%+8K KSym4ios 8ogic C8-" 7C+ SCS+ Aost %dapterK N K,&T%+8K K6li.etti &SC--M&SC-0 SCS+ Aost %dapterK N K,&T%+8K K]8ogic 7C+ SCS+ Aost %dapterK N K,&T%+8K KMB&7anasonic CD-,6M ControllerK N K,&T%+8K KSony 7roprietary CD-,6M ControllerK N K,&T%+8K KUltraStor - #M- #2M/ #M/ #%M/ #2 SCS+ Aost %dapterK N K,&T%+8K

KUltraStor 0 #M0 #% SCS+ Aost %dapterK N K,&T%+8K

,eybo#rd Dri"er
Ex#m$le: ),ey-o#rdDri"ers+ >'T8 T8 or En6#nced ,eybo#rd GICD31J =eysH> 4 >%ET IL> ,etail 6ptions) K'TO %TO or &nhanced Bey4oard $8/--" 3eys(K N K,&T%+8K .ull Ex#m$le: =Unattended> 6&M7reinstall N *es ComputerType N KStandard 7CKOK,&T%+8K Bey2oard8ayout N KUS-+nternationalK =7ointingDe.iceDri.ers> KMicrosoft Mouse 7ort Mouse $includes 2all7oint(K N K,&T%+8K =MassStorageDri.ers> KSym4ios 8ogic C8-" 7C+ SCS+ Aost %dapterK N K,&T%+8K =Bey2oardDri.ers> K'TO %TO or &nhanced Bey4oard $8/--" 3eys(K N K,&T%+8K

Third-.arty Fideo Display Dri8ers and Display Settings


+ptions $or 4icroso$t-Supplied Fideo Dri8ers %.art o$ I,8LMAutoDetected)

The following entries are needed to automate the setup of detected .ideo displays during unattended setup! =Display> 2its7er7el N -: ',esolution N -"0 *,esolution N <:8 G,efresh N :" #lags N " %utoConfirm N Note: A to3on1irm sets t!e display adapter val es d rin. set p a tomatically. 3on1irmAt5o.on allo/s t!e ser to set t!e display adapter val es on lo.on. To determine the e?act .alues neededO the use of ,&@&DT/0!&'& is the 4est option! Determining an adapter[s parameters can 4e accomplished .ia the ,&@&DT/0!&'& utility supplied with Windows NT !"! &.ery installed .ideo adapter has a 3ey in AB8MLS*ST&MLCurrentControlSetLCDisplay

BeyDLDe.ice"O To find out the .alue of CDisplay BeyD chec3 the following registry .alues! AB8MLAardwareLDe.iceMapLGideoL Dou4le-clic3 on LDe.iceLGideo" in the left window of ,&@&D+T/0!&'&! Write down the string for the registry path! &?ample) L,&@+ST,*LMachineLSystemLCurrentControl""-LSer.icesLatiLDe.ice"
Note t!e strin. ri.!t a1ter %ervices. In t!e e>ample, it is ATI. ATI is t!e ?Display <ey@.

Now go to AB8MLSystemLSer.icesLCurrentControlSetL%T+LDe.ice"! The .alues needed) 2its7er7elO 'resolutionO *resolutionO GrefreshO and #lags can 4e con.erted from he? to decimal and entered in the UN%TT&ND!T'T! The string assigned to Ser.iceName is what[s needed to locate the parameters for instance of the networ3 adapter installed! These parameters can 4e located in the registry under AB8MLS*ST&MLCurrentControlSetLSer.icesLCSer.iceNameDL7arameters! %ll numeric .alues found in the parameters 3ey for the adapter ha.e to 4e con.erted from he? .alues to decimal .alues for the unattend file! The names of the parameters and non-numeric .alues can 4e directly translated to the unattend file!
+ptions $or +'4-Supplied Fideo Dri8ers

Setting .ideo dri.ers supplied 4y the 6&M is a little more difficult and reJuires parsing the information file supplied for the dri.er! The following e?ample shows the use of the +nf#ileO +nf6ptionO and +nstallDri.er options! 6em7re+nstall must 4e set to Q*esR for options to 4e used! =Display> +nf#ile N Kchips!infK +nf6ption N KChips Gideo %ccelerator$: /"" : /-" :99 9 :99 8 :999"(K +nstallDri.er N 2its7er7el N -: ',esolution N 8"" *,esolution N :"" G,efresh N :" %utoConfirm N To properly install the dri.er and ma3e the files a.aila4le to setupO the following directory must 4e created L56&M5LD+S78%* and the !S*SO !D88O and !+N# files ha.e to 4e copied to the directory! Determining the +nf6ption is the most difficult part of the process!

The following information is an e?ample for the a4o.e =D+S78%*> section! +n the case of the Chips Z Technologies dri.erO the CA+7S!+N# needs to 4e opened to get the information for the +nf6ption! +n the CA+7S!+N# file search for the following stringO =Manufacturer>! Under this heading the following information is foundO TchipsTNchips!Mfg! -! Search for =chips!Mfg>! Under the heading the following information is found) Chips Gideo %ccelerator$: /"" : /-" :99 9 :99 8 :999"( N chips 0! The information to the left of the eJual sign is placed in Juotes and then placed to the right of the eJual sign for +nf6ption as in the e?ample 4elow) +nf6ption N KChips Gideo %ccelerator$: /"" : /-" :99 9 :99 8 :999"(K /! Use the same method for determining the options for the display as outlined in the pre.ious section!

T(TS'T&..+'4 and ?+'4:oot0iles@


%ny file in the L+/8:L56&M5LT&'TM6D& directory is copied during setup to L 5LT&'TM6D&! #iles that are specified in the =6&M2oot#iles> section are then copied from L5LT&'TM6D& to L5W+NENT5!U2TL56&M5! The L 5W+NENT5!U2TL56&M5 directory is accessed 4y setup 4ased on the T'TS&TU7!6&M =Dis3s> section! #or additional information on T'TS&TU7!6&M and Windows NT De.ice Dri.ersO consult the Microsoft Windows NT Gersion !" De.ice Dri.er Bit $DDB(!
T(TS'T&..+'4 0ile7 0ormat and Sample

% T'TS&TU7!6&M file consists of se.eral sections that use the following general format) =SectionName> 3ey N .alue-O.alue0O!!! The name of the section is enclosed in sJuare 4rac3etsO = >! The pound sign $a( or semicolon $W( character at the 4eginning of a line indicates a comment! Strings with em4edded spacesO commasO or hashes must 4e enclosed in dou4le Juotes $KK(! The following sections must 4e included) Dis=s Section

The =Dis3s> section lists all dis3s in the dis3 set! =Dis3s> d- N descriptionOtagfileOdirectory d0 N descriptionOtagfileOdirectory ! ! d-O d0O !!! Bey that can 4e used in su4seJuent sections to identify the dis3! description Dis3 name string used to prompt the user to insert the dis3! tagfile Specifies the name of the file whose presence on the dis3 indicates to the Setup program that the correct dis3 has 4een inserted! The filename should 4e specified as a full path from the root for e?ampleO Lyourtagfile!e?tO 4ut it should not specify a dri.e! directory Specifies the directory on the dis3 where the files are located! The directory should 4e specified as a full path from the root for e?ampleO Ldis3dirO 4ut it should not specify a dri.e! De0#ults Section The =Defaults> section lists the default option for each hardware component supported 4y this file $as indicated 4y the presence of a =component> section for the component(! The default is highlighted in the menu of options presented to the user! =Defaults> component N +D ! component Specifies one of the following components) computerO displayO 3ey4oardO mouseO CD-,6MO or SCS+! 5" Specifies a string that identifies the default option! This string matches an +D specified in the corresponding =component> section! 5om$onent Section % =component> section lists the options a.aila4le for a particular component! =component> +D N description

! 5" Specifies a uniJue string $within this section( that identifies the option! #or the computer componentO if this string ends in KEupKO setup copies the uniprocessor 3ernelW if this string ends in KEmpKO Setup copies the multiprocessor 3ernelW if it ends in neitherO the results are unspecified and you might get either 3ernel! .iles&com$onent&ID Section % =#iles!component!+D> section lists the files that should 4e copied if the user selects a particular component option! 6ne section of this type must 4e present for each option listed in each component section! The component portion of the section name corresponds to the name of a =component> sectionO and the +D portion corresponds to an +D 3ey in a =component> section! =#iles!component!+D> fileEtype N sourceEdis3Ofilename=O3eyname> filetype +dentifies the type of file! 6ne of the following is specified) dri.er Galid for all components! #ile is copied to systemrootLsystem/0Ldri.ers! 7ort Galid for 3ey4oardO mouseO and SCS+ components! %llows distinction 4etween port and class dri.er 4ut eJui.alent to dri.er type! Class Galid for 3ey4oard and mouse components! +f specifiedO replaces the standard class dri.er! #ile is copied to systemrootLsystem/0Ldri.ers! dll Galid for all components! Useful for @D+ portion of a display dri.er! #ile is copied to systemrootLsystem/0! hal Galid only for computer component! #ile is copied to systemrootLsystem/0Lhal!dll $8"/8:M8" 8:(O or to LosLwinntLhal!dll on the system partition $%,C(! inf Galid for all components! Used to copy a @U+ +N# file for use with system maintenance setup! #ile is copied to systemrootLsystem/0! detect Galid for the computer component $8"/8:M8" 8: only(! +f specifiedO replaces the standard 8"/8:M8" 8: hardware recogni;er! #ile is copied to c)Lntdetect!com!

source6disk +dentifies the dis3 from which to copy the file and must match an entry in the =Dis3s> section! filename Name of the file not including the directory path! The filename is appended to

the directory specified for the dis3 in the =Dis3s> section to form the full path of the file on the dis3! "river7ey Name of the 3ey to 4e created in the registry ser.ices tree for this file if the file is of type dri.erO portO or class! This .alue is used to form =Config!Dri.erBey> section names! 5on0i*&Dri"er,ey Section % =Config!Dri.erBey> section specifies .alues to 4e set in the registry for particular component options! ,eJuired .alues in the Ser.icesLDri.erBey 3ey are created automatically! Use this section to specify additional 3eys to 4e created under Ser.icesLDri.erBey and .alues under Ser.icesLDri.erBey and Ser.icesLDri.erBeyLsu43eyEname! =Config!Dri.erBey> .alue N su43eyEnameO.alueEnameO.alueEtypeO.alue!!! ! subkey6name Specifies the name of a 3ey under the Ser"icesLDri.erBey tree in which to place the specified .alue! The 3ey is created if it does not e?ist! +f the empty string $KK( is specifiedO the .alue is placed under the Ser"icesLDri.erBey tree! value6name Specifies the name of the .alue to 4e set within the 3ey! .alueEtype % string li3e ,&@EDW6,D that identifies the type of data for this .alue! value Specifies the actual .alueW its format depends on .alueEtype! The following types can 4e specified in the .alueEtype field in =Config!Dri.erBey> sections) ,&@EDW6,D 6ne .alue is allowedW it must 4e a string of --8 he? digits! #or e?ample) "#lue N parametersONum4er6f2uttonsO,&@EDW6,DO"'0 ,&@ESFO ,&@E&'7%NDESF 6ne .alue is allowedW it is interpreted as the ;ero-terminated string to 4e stored!

#or e?ample) "#lue N parametersODescriptionO,&@ESFOKThis is a te?t stringK ,&@E2+N%,* 6ne .alue is allowedW it is a string of he? digitsO each pair of which is interpreted as a 4yte .alue!

#or e?ample $stores the 4yte stream ""O/ OecO dO" O9a() "#lue N parametersODataO,&@E2+N%,*O""/ eC D" 9a ,&@EMU8T+ESF Multiple .alue arguments are allowedW each is interpreted as a component of the multis;!

#or e?ample) .alue N parametersOStringsO,&@EMU8T+ESFOString-OKString 0KOstring/

Ex#m$le o0 t6e )Oem-oot.iles+ Section 0or t6e Ex#m$le T'TSET(P&OEM =6em2oot#iles> myhal!dll aha-9 ?!sys t?tsetup!oem Ex#m$le T'TSET(P&OEM .ile =Dis3s> d/ N KA%8 Support for Windows NTKOLoemhal!tagOL d- N KStorage Support for Windows NTKOLoemstor!tagOL =Defaults> A%8 N eEisaEup scsi N aha-9 ? =Computer> eEisaEup N KCustome A%8KOfiles!none =#iles!Computer!eEisaEup> A%8 N d/Omyhal!dll =SCS+> aha-9 ? N K%daptec %A%--9 ?M-: " - 6&MK =#iles!scsi!aha-9 ?> dri.er N d-Oaha-9 ?!sys!sysO aha-9 ?

=Config!aha-9 ?>
'rror 4essages When Wor!ing with T(TS'T&..+'4

Error: Windows NT Setup #ile caused a une?pected error $"( at the line -0-/ in d)LntLpri.ateLntosL4ootLsetupLoemdis3!c 7ress any 3ey to continue! Solution: The .aria4le A%8 is not defined correctly for the section =#iles!Computer!??????> in the T'TS&TU7!6&M! Incorrect Structure =#iles!Computer!eEisaEup> eEisaEup N d/Omyhal!dll 5orrect Structure =#iles!Computer!eEisaEup> A%8 N d/Omyhal!dll Note the differences of the line under the =#iles!Copmuter!eEisaEup> for 4oth e?amples! Error: Windows NT Setup #ile L5W+NENT5!U2TL56&M5LA%8LA%8!D88 could not 4e loaded! The error code is -8 Setup cannot continue! 7ress any 3ey to e?it! Solution: The path defined under the =Dis3s> section is incorrect! Windows NT Setup does not allow for su4directories under L56&M5LT&'TM6D&! %ll component files must 4e placed in the T&'TM6D& directory! Synta? for the =Dis3s> =Dis3s> d- N descriptionOtagfileOdirectory d0 N descriptionOtagfileOdirectory

C6A.T'5 , C+N0IG&5ING 4AC6IN'-S.'CI0IC


Incorrect Structure =Dis3s> d/ N KA%8 Support for Windows NTKOLoemhal!tagOLA%8 d- N KStorage Support for Windows NTKOLoemstor!tagOLSCS+ 5orrect Structure =Dis3s> d/ N KA%8 Support for Windows NTKOLoemhal!tagOL d- N KStorage Support for Windows NTKOLoemstor!tagOL +n many cases when using a T'TS&TU7!6&M pro.ided 4y a third-party .endorO the directory would ha.e to 4e modified and set to L! Windows NT !" setup includes a feature that allows you to configure machinespecific information without ha.ing to create a uniJue setup script file for each machine! This allows you to create a generic setup script for multiple systems and specify settings uniJue to each machine as needed in a separate file called a UniJueness Data4ase #ile $UD2(! This and other methods of configuring settings that are machine-specific allow you to minimi;e the time spent 4y a setup technician at each des3top! +n this section you will find the following methods discussed) Create uniJue setup script files for each machine! Modify the machine-specific settings after character mode setup! Useful for those using dis3 duplication to distri4ute Windows NT !"! Configure machine-specific information using UniJueness Data4ase #iles $!UD2(!

Create &niIue Setup Script 0iles $or 'ach Computer


Creating uniJue setup script files for each computer is the most simple method of configuring machine-specific information! +n additionO this method can ha.e a positi.e impact on cost of ownership since you can sa.e the original machine setup script file and use it in the future if you ha.e a hardware pro4lem that reJuires you to re-install the operating system and software applications! *ou can simply replace the failed hardware component or the entire computer and run Windows NT setup with your script again! There can 4e an up front cost associated with this method since you will li3ely find the need for a tool to automate the process of customi;ing each machine-specific setup scriptO a tedious and error prone tas3 when done with a simple te?t editor! The o.erall process is simpleO start 4y creating a Windows NT !" setup script file that includes all of the settings necessary for your preferred client configuration! This setup script file will 4e your template! Then copy the template to a uniJue filenameO modify it to include machine-specific information

with a te?t file editor such as Notepad!e?eO and sa.e the file! %utomating the process of customi;ing the template setup script with machine-specific information will li3ely mean creating your own tool! #or e?ampleO you could create a program that would replace to3ens you ha.e placed in your setup script template file! The program could pro.ide the setup technician with a user interface prompt as3ing for the computer name and networ3 cardO including networ3 card settingsO and replacing the to3ens you placed in the setup script file with strings you ha.e pre-tested then writing the uniJue setup script to dis3O pre.enting user error and speeding the process!

4odi$y the 4achine-Speci$ic Settings A$ter the Character 4ode .ortion o$ Windows NT ".# Setup
Windows NT !" setup has two distinct modes during the first modeO called character modeO one of the tas3s accomplished is to copy all of the files necessary to complete the setup process to a temporary directory on the local hard dri.e! +f you intend to use dis3 duplication to distri4ute Windows NT !" this is the point where you turn off the computer and duplicate the hard dri.e for other systems! This method of distri4ution presents a pro4lem if your goal is to create an entirely automated setup process that reJuires no input from a setup technician or an end user! This is 4ecause there is not an o4.ious way to set machine-specific settings 4efore shipping the machine to the end user! Aowe.erO you can do this in one of two ways! +f you ha.e set the machinespecific information in the setup script you createdO you can modify those settings on each of the duplicated hard dri.es! The second method can 4e used if you included a !UD2 file as one of the parameters for your Windows NT setup command line!
'diting the Windows NT ".# Setup Script %&NATT'ND.T(T) A$ter Character 4ode Setup

During te?t mode setup a modified .ersion of your original setup script file is copied to a temporary directory on your local hard dri.e! 2y editing this file on each of the duplicated hard dri.es 4efore shipping the computers to your end usersO you can create a process that reJuires no input from the end user during the graphical mode portion of Windows NT setup! To do this use an MS-D6S 4oot dis3 to start the computer after installing the duplicated hard dri.e! Then edit the C)L5W+NENT5!U2TLW+NNT!S+# file and replace the settings uniJue to the computer! Note that the W+NNT!S+# file is not an identical copy of your original setup script $UN%TT&ND!T'T(O so you cannot replace the entire file! #or e?ampleO if you set the computer name in your original setup script file to K,eplaceMeK you would open the file and search for that stringO then replace it with the uniJue computer name for that computer!
'diting the &niIueness Data;ase 0ile %.&D:) A$ter Character 4ode Setup

During te?t mode setup a copy of the !UD2 file that you included on the

Windows NT !" setup command line is copied to the temporary directory on the local hard dri.e! *ou can replace this file with one that contains the uniJue settings for this computer! To do this use an MS-D6S 4oot dis3 to start the computer after installing the duplicated hard dri.e! Then either edit or replace the !UD2 file in the temporary directory created 4y Windows NT setup! *ou can locate this file 4y using the following MS-D6S command $for MS-D6S 9!" or later() D+, C)LY!UD2 MS Note: T!e ID t!at yo speci1ied on t!e Windo/s NT 4.7 set p command line /ill 2e t!e same 1or eac! o1 t!e drives yo !ave d plicated. &o m st ma0e c!an.es to t!e sections speci1ied in t!e .6D- 1ile 1or t!e ID yo speci1ied. &o /ill 1ind more in1ormation a2o t creatin. .6D- 1iles later in t!is section.
Con$igure 4achine-Speci$ic In$ormation &sing &niIueness Data;ase 0iles %.&D:)

Windows NT setup includes a feature designed to ena4le you to create one common Windows NT !" setup script for use with a num4er of target computers to o.ercome the pro4lem of KAow to specify machine-specific information`K with out creating a uniJue setup script for each computer 4y specifying the uniJue settings in a separate data4ase file! This file is a UniJueness Data4ase #ile $!UD2(! !UD2s are used to pro.ide replacements for sections of setup scriptO or supply additional section! This file is inde?ed using strings called UniJue+Ds! The !UD2 is used to specify a set of sections that should 4e merged into the setup script file at the start of @U+ setup! This process ta3es place 4efore any affected components actually read the internal representation of the setup script fileO and is transparent to the user! Note: T!e Windo/s NT set p command line parameter is A6D' 2 t t!e 1ile name e>tension 1or t!e 6niB eness Data2ase 'ile is .6D-. %peci1yin. a 6niB e ID To specify a UniJue+D during setupO you must run W+NNT!&'& or W+NNT/0!&'& command using the following parameter) MUD#)+D=Odata4aseEfilename> Where) +D is the UniJue+D that is used while installing Windows NT on this computerO and data4aseEfilename is the filenameO including the full pathO of the !UD2!

+f 4oth the UniJue+D and the filename of the !UD2 are specifiedO the !UD2 is copied to the local dri.e during Te?t Mode SetupO and is used during @U+ mode setup without user inter.ention! The !UD2 file can 4e any legal MS-D6S filename! +f only the UniJue+D is specified on the setup command lineO setup will prompt the user for a dis3 with a !UD2 file named 5UniJue5!ud4! This dis3 must 4e prepared 4y the administrator in ad.ance! The user is prompted for this dis3 during the graphical $@U+( mode of setup! +n either caseO if the supplied !UD2 is corrupt or if setup cannot locate the specified UniJue+DO the user is prompted to insert a dis3 that contains the fi?ed !UD2O or Cancel! +f the user clic3s CancelO the .alues in the setup script file will 4e used! These might not 4e appropriate for the computer! 3reatin. t!e .6DThe !UD2 file is a te?t fileO use any standard te?t editor to create the !UD2 file! The first section of the !UD2 is =UniJue+ds>! This section lists all UniJue+Ds that are included in your UniJueness Data4ase #ile! The information on the left is the UniJue+DO which can contain any character e?cept an asteris3 $Y(O spaceO commaO or eJual $N( character! The information on the right is a list of sectionsO the names which should match the names in the corresponding section in the setup script file! The format is as follows) =UniJue+ds> id- N section-Osection0 id0 N section-Osection0 id/ N section-Osection/Osection #or e?ampleO if you planned to use computer names 4ased on user email names as the UniJue+DsO this section might resem4le the following) =UniJue+ds> computer- N UserDataOUnattended computer0 N UserDataOUnattended computer/ N UserDataO@uiUnattendedONetwor3 The sections following =UniJue+ds> are referenced in =UniJue+ds>! These names can ta3e either of two forms) they can match the section name in the setup script file $for e?ampleO =Unattended>(O or they can 4e preceded 4y the UniJue+D and a colon $for e?ampleO =computer-)UserData>(! This allows you to create speciali;ed replacement sections for each computer name! +f 4oth a general section $such as =Unattended>( and an +D-specific section $such as =computer0)Unattended>( are includedO Windows NT setup gi.es

precedence to the +D-specific section! The sections in the !UD2 can contain any possi4le 3eys and .alues for the same-named sections in the setup script file! *ou can replaceO addO or delete .alues in your setup script file! During setupO each 3ey specified in a referenced section o.errides the .alue for the same 3ey in the setup script file! +f a 3ey is specified in the setup script fileO 4ut not in the !UD2 section referenced 4y the UniJue+DO the .alue specified in the setup script file is used! +f a section is referenced in the =UniJue+ds> section 4ut does not e?istO the user will 4e prompted to insert a dis3 containing a .alid !UD2 file! Replacin. a 5ine in %et p %cript +f 4oth the setup script and the !UD2 section contain a line that is referenced 4y the UniJue+DO the .alue specified in the !UD2 is used instead of the .alue in setup script! This is eJui.alent to replacing the line in setup script! Addin. a Ne/ 5ine to %et p %cript +f the !UD2 section contains a line that is referenced 4y the UniJue+D 4ut the setup script file does notO the .alue specified in the !UD2 is used! This is eJui.alent to adding the line to setup script! Deletin. a 5ine 1rom %et p %cript +f a 3ey is specified in the setup script fileO and it appears in the !UD2 section that is referenced 4y the UniJue+D with no .alue to the right of the eJual signO the default .alue is used! This is eJui.alent to commenting out the 3ey in the setup script file! +f a 3ey is specified in the !UD2O 4ut the .alue is left 4lan3O no .alue is used for that 3ey e.en if it is specified in setup script! This might result in the user 4eing prompted for the information! The following sections are not permitted in the !UD2 file!
[UNATTENDED] [MassStorageDrivers] [KeyboardDrivers] [PointingDeviceDrivers] [OEMBootFiles] [OEM_Ads] [Dis lay] [Mode!]

*ou can create a single !UD2 file with UniJue+Ds for all of your computers or many !UD2 filesO one for each machine! *ou might find that creating

indi.idual !UD2 files for each computer is easier to manage than a single encompassing !UD2 file!

!"ample #
+n this e?ampleO the =Userdata>O =@uiUnattended>O and =Networ3> sections will 4e merged into the setup script file! See the sample setup script file at the end of this chapter as a reference! The following e?ample !UD2 file includes settings for a single computer! =UniJue+Ds> Computer+D- N UserdataO@uiUnattendedONetwor3 =UserData> #ullName N KUser +D--K ComputerName N KM%CA+N&--K =@uiUnattended> TimeFone N K $@MT-"9)""( &astern Time $US Z Canada(K =Networ3> HoinDomain N KDomain&astK The settings specified in this !UD2 file will 4e merged during the @U+ mode of Windows NT setup!

!"ample $
This e?ample shows the use of the UniJue+D to specify multiple machine +Ds within the same UD2! Note that each section has the UniJue+D included! The UniJue+D specified on using the MUD# parameter would 4e change to match the UniJue+D for each computer 4ut the !UD2 filename would 4e the same! %lso note that this !UD2 file would merge the same .alues for Computer+D- in e?ample - a4o.e) =UniJue+Ds> Computer+D- N UserdataO@uiUnattendedONetwor3 Computer+D0 N @uiUnattendedOUserdataOModemO%dapters8istO&&-:7aramsO7rotocols8istOTC7 +77aramsO SelectedSer.ices8istO+nstallCSNW =Computer+D--UserData> #ullName N KUser +D--K ComputerName N KM%CA+N&--K =Computer+D--@uiUnattended> TimeFone N K $@MT-"9)""( &astern Time $US Z Canada(K

=Computer+D--Networ3> HoinDomain N KDomain&astK =Computer+D0)@uiUnattended> 6&MS3ipWelcome N 6em2lan3%dmin7assword N TimeFone N K$@MT-":)""( Central Time $US Z Canada(K Detached7rogram N KC)L,&@+N+!&'&K %rguments N KC)L,&@+N+!+N+K =Computer+D0)UserData> #ullName N KUser NameK 6rgName N K&ngineering DepartmentK ComputerName N K67BNT "-/K 7roduct+D N K-0/--0/ 9:<K =Computer+D0)NetWor3> HoinWor3@roup N engineering =Computer+D0)%dapters8ist> &&-: N &&-:7arams W Wor3s #ine =Computer+D0)&&-:7arams> 2usType N Transcei.er N / 2usNum4er N " +oChannel,eady N 0 +o2ase%ddress N <:8 +nterruptNum4er N 9 =Computer+D0)7rotocols8ist> N2# N Net2eui7arams NW8NB+7' N NW8+NB+7'7arams TC N TC7+77arams D8C N D8C7arams =Computer+D0)TC7+77arams> DAC7 N *es =Computer+D0)SelectedSer.ices8ist> NWWBST% N +nstallCSNW N&TM6N N +nstallNetMon =Computer+D0)+nstallCSNW> IDefault8ocation N TheNo.ellNet

IDefaultScript6ption N -

Sample setup script %ile use& %or re%erence %or t'e a(o)e .*DB.
=Unattended> 6&M7reinstall N *es NoWait%fterTe?tMode N NoWait%fter@U+Mode N #ileSystem N 8ea.e%lone &?tend6em7artition N " ConfirmAardware N No NtUpgrade N no Win/-Upgade N no 6.erwrite6em#iles6nUpgrade N yes Target7ath N winnt ComputerType N KMy Super Dupper A%8 - 6&MKOK6&MK Bey2oard8ayout N KUS-+nternationalK 6emS3ip&ula N *es =MassStorageDri.ers> K%daptec %A%--9 'M%A%--: ' - 6&MK N K6&MK =DisplayDri.ers> =Bey2oardDri.ers> K'TO %TO or &nhanced Bey4oard $8/--" 3eys(K N K,&T%+8K =7ointingDe.iceDri.ers> KMicrosoft Mouse 7ort Mouse $includes 2all7oint(K N K,&T%+8K =6&M%ds> 2anner N KWindows NT Sample 6&M 2annerK 8ogo N oemlogo!4mp 2ac3ground N oem4gnd!4mp =6&M2oot#iles> T'TS&TU7!6&M %A%-9 '!S*S M*A%8!D88 6&MA%8!T%@ 6&MST6,!T%@ =@uiUnattended> =UserData> =Display>

2its7er7el N -: ',esolution N -"0 *,esolution N <:8 G,efresh N :" #lags N " %utoConfirm N =Modem> =NetWor3> +nstall%dapters N %dapters8ist +nstall7rotocols N 7rotocols8ist +nstallSer.ices N SelectedSer.ices8ist =%dapters8ist> =&&-:7arams> =7rotocols8ist> =Net2eui7arams> =NW8+NB+7'7arams> =TC7+77arams> =D8C7arams> =SelectedSer.ices8ist> STC7+7 N +nstallSimpleTC7 TC77,+NT N +nstallTC77rint =+nstallCSNW> =+nstallNetMon> =+nstallSimpleTC7> =+nstallTC77rint>

C6A.T'5 " WIND+WS NT ".# A..=ICATI+N .5'-INSTA==ATI+N T++= %S/SDI00.'(') +8er8iew


Windows NT !" includes a tool that ena4les you to distri4ute and install applications automatically during or after Windows NT setup which can significantly reduce deployment time and costs! This toolO the System Difference Tool $S*SD+##!&'&(O can 4e used to record the changes made to your system when an application is installedO for e?ampleO capture those changes in a Kpac3ageKO and then KapplyK or install the pac3age on another system during or after the setup process! The System Difference Tool can 4e used to distri4ute files or ma3e application configuration changes during the setup process in addition to distri4uting and installing applications! +t can 4e used to pre-install applications that do not pro.ide a KsilentK or KunattendedK setup! +t can also 4e used to create Kpac3agesK to 4e distri4uted after Windows NT has 4een setup! 8ater in this section you will find step 4y step instructions on how to use the System Difference Tool to pre-install an application!

Installing S/SDI00.'('
The System Difference Tool is included on the Windows NT ,etail CD! To install the toolO simply copy S*SD+##!&'& and S*SD+##!+N# to a directory on your hard dri.e! These files are located in the LsupportLdeptools directory on your Windows NT ,etail CD!

S/SDI00.'(' .arameters and SyntaA


The form of a S*SD+## command line is as follows) S*SD+##!&'& =Msnap X Mdiff X Mapply X Mdump X Minf> =Mlog)logEfile> =switches> !!! 6ne of the command line parametersO MsnapO MdiffO MapplyO MdumpO or Minf must 4e specified! This parameter is the System Difference Tool mode! See 4elow for descriptions of these modes and the options they use! log6file is the optional name of a log fileO to which S*SD+## writes information descri4ing its actions! The log file is not used in apply or dump modes! switches pro.ide additional control o.er .arious operations! Some are general to all modes and others are per-mode and documented in the

sections that follow! Switches that are common to all modes are as follows) %u b @enerate Unicode te?t files When the System Difference Tool runs in Msnap or Mdiff modeO it loo3s for a file called S!SDI..&IN. in the same directory that S*SD+##!&'& is located! S*SD+##!+N# contains information that is used to e?clude certain filesO registry 3eysO etc! from 4eing included in a pac3age!
Msnap 4ode

,un the System Difference tool in Esn#$ mode to create a Ksnap shotK of the system which will 4e the point of comparison for Mdiff mode! S*SD+## Msnap =Mlog)logEfile> snapshotEfile snapshot6file may 4e any .alid Win/0 filename! % snapshot of the system will 4e recorded in this file! Ex#m$le: S*SD+## MSN%7 Mlog)C)L+M%@&SLSN%7!86@ C)L+M%@&SL%77SSN%7!+M@
Mdi$$ 4ode

,un the System Difference Tool in Edi00 mode to create a Kpac3ageK or sysdiffEfile that includes changes made to the system after the snapshotEfile was created! The sysdiffEfile can include all of the files copied to the systemO changes to the system registryO and changes made to configuration files such as the System!ini! S*SD+## Mdiff =Mlog)logEfile> =Mc)comment> snapshotEfile sysdiffEfile comment is optional and specifies a human-reada4le comment to 4e inserted in the S*SD+## pac3age file! 6nly specify the Mc switch if you will 4e applying the S*SD+## pac3age using the Mapply mode to 4e descri4ed later in this document! This comment is then used during apply mode to tell the user what is 4eing applied! 2e sure to use Juotes when appropriate) i!e!O Mc)KThis is a pac3age titleK reJuires Juotes $as shown(! snapshot6file specifies a file generated 4y an earlier in.ocation of S!SDI.. Esn#$ on the same Windows NT installation! $S*SD+## will fail if snapshotEfile is from a different Windows NT installation!( sysdiff6file may 4e any .alid Win/0 filename! The specified file will 4e the output of S*SD+## and will 4e suita4le for application to a Windows NT installation and end-user setup time $.ia S!SDI..E#$$ly(! Ex#m$le:

S*SD+## MD+## Mlog)C)L+M%@&SLD+##!86@ C)L+M%@&SL%77SN%7!+M@ C)L+M%@&SL%77D+##!+M@


Mapply 4ode

The synta? for using S*SD+## in Mapply mode is) S*SD+## Mapply Mm sysdiffEfile sysdiff6file is the file created when running the System Difference Tool in Edi00 mode! Note the TSystem,ootT must 4e the same as it was on the system that was used to generate 8 "5116file! +n other wordsO if you generate a S*SD+##Efile on a Windows NT installation in C)LW+NNTO then that S*SD+##Efile can 4e applied on other computers only if they are running Windows NT installed in C)LW+NNT! Mm 1 Use this switch if you are using the System Difference Tool to pre-install a pac3age during Windows NT setup 4y including the S*SD+## Mapply command to the CMD8+N&S!T'T file on your distri4ution share! When the System Difference Tool generates a pac3age during Mdiff modeO it captures changes made to the directory where the current userVs profile is stored! When you specify this flagO the System Difference Tool will apply these changes to the Default User profile instead! % new user that logs on to Windows NT !" for the first time will get a copy of the Default User profile which will include the shortcuts to the applications created during that application setup! #or e?ampleO if you use the %dministrator profile to create the System Difference Tool pac3ageO as is suggested 4elowO shortcuts $!8NB files( for the Start Menu are typically created in the TWinDirTL7rofilesL%dministratorLStart MenuL7rograms directory! 2y using the Mm switch with the System Difference Tool in Mapply modeO the same shortcuts will 4e copied to TWinDir TL7rofilesLDefault UserLStart MenuL7rograms instead of the %dministrator profile! When new users log on to the system they will get a copy of the KDefault UserK profile! Ex#m$le: S*SD+## M%778* Mm C)L+M%@&SL%77SD+##!+M@
Dump 4ode

This mode is useful as a diagnostic! +t outputs a human-reada4le form of the contents of a S*SD+## pac3age to a te?t file! The synta? is) S*SD+## Mdump sysdiffEfile dumpEfile sysdiff6file is a Win/0 path to a file that was created 4y S*SD+##[s Mdiff mode!

dump6file is a Win/0 path to a te?t file that will 4e created and will contain the dump! #or instanceO if you create a pac3age and want to 3now what is in itO you can use the Mdump switch to create a te?t file for later analysis! Ex#m$le: S*SD+## MDUM7 C)L+M%@&SL%77SD+##!+M@ C)L+M%@&SL%77SD+##!DM7
Min$ 4ode

This mode is used to prepare a Windows NT distri4ution point for application pre-installation! The Minf mode accomplishes three primary tas3s) Creates an !+N# that includes all of the changes to configuration files trac3ed when Mdiff mode was run! 7rimarily this includes changes made to the system registry! Creates an 56&M5 directory tree that includes the files that were copied to the system 4etween the Msnap and the Mdiff mode! These files are e?tracted from the sysdiffEfile created during Mdiff mode and copied to the KmirrorK directory structure in the L56&M5 directory on the Windows NT distri4ution share point! The directory tree is created using only 8!/ names to ensure ma?imum compati4ility with file distri4ution tools! % 5 5,&N%M&!T'T file is created in the directory of the distri4ution directory containing the files that need to 4e con.erted to long filenames! %dds the appropriate command line to CMD8+N&S!T'T to ensure that the changes are applied during setup! The synta? for Minf mode is) S*SD+## Minf =Mm> sysdiffEfile oemEroot %m is the same as for Mapply mode! Use of this flag is mandatory failure to use it will result in the final result on the end user[s machine not wor3ing properly! sysdiff6file is a Win/0 path to a file that was created 4y the System Difference Tool in Mdiff mode! oem6root is the Win/0 path of a directory! The 56&M5 structure will 4e created in this directoryO and the !+N# will 4e placed in the 56&M5 directory with a name 4ased on the name of the S*SD+##Efile! % CMD8+N&S!T'T will also 4e generated or appended $this file will always 4e %NS+ regardless of whether Mu was specified(! Ex#m$le: S*SD+## M+N# Mm C)L+M%@&SL%77SD+##!+M@ F)L

Tip - After you ha&e created the snapshot file using the System Difference Tool in 'snap mode! (e &ery careful not to ma)e changes to the system that you do not want to include in the S*SDI++,file created during 'diff mode$ It is not uncommon for someone to mista)enly change something a(out the system configuration! nor is it unusual (ecause the (ase system is li)ely in a la( where a lot of testing is ta)ing place$ +or e%ample! if an application error occurs during application setup or configuration you should start o&er and do not ma)e changes to the color depth! &ideo resolution! computer name! user name! or user password$ These type of mista)es can result in a lot of wasted time and energy trying to determine the source of the error$ In general it is a good idea to -.uarantineyour (ase system after the snapshot file is created$

:uilding Application Images $or .reInstallation

The System Difference Tool $S*SD+##!&'&( can 4e used to pre-install most standard producti.ity applications! When possi4le you should use an applicationVs Ksilent modeK or Kunattended modeK setup feature if it is a.aila4le! +n some cases you will find that S*SD+##!&'& will not install a standard producti.ity application correctly! Microsoft does not support the use of S*SD+##!&'& for the installation of system ser.icesO applications that include system ser.icesO de.ice dri.ersO or networ3 client software! System ser.ices and de.ice dri.ers write to trees or .alues in the registry which are dynamic or were found to 4e sensiti.e to access 4y S*SD+##!&'& during testing! These trees and .alues are e?cluded from the Msnap and Mdiff modes in the S*SD+##!+N# file! +n some cases you may find that S*SD+##!&'& will successfully install these types of softwareO 4ut you cannot 4e sure until you test unless you 3now which trees and .alues the ser.ice or de.ice dri.er you are installing writes to in the registry! When you are in the process of creating System Difference Tool pac3agesO it is a good practice to create and test each pac3age separately rather than creating a snapshot file then installing se.eral applications 4efore creating a S*SD+##Efile pac3age! When you are testing it is also a good practice to test 4oth Mapply mode and Minf mode! +f one mode fails try the other!

Note # W!ile yo can se %&%DI'' Aapply to install an application or per1orm testin. o1 a %&%DI'' pac0a.e, yo s!o ld 2e a/are t!at r nnin. t!e same command 2y addin. t!e command to 3,D5INE%.TXT operates very di11erently $see 3!apter C, )3 stomiDin. Windo/

NT) 1or more in1ormation on 3,D5INE%.TXT(. -y r nnin. %&%DI'' Aapply sin. 3,D5INE%.TXT or 2y sin. Ain1 mode to add a pac0a.e to yo r distri2 tion s!are, yo are addin. c!an.es to t!e re.istry 1ile NT6%ER.DAT 1or De1a lt 6ser in t!e "ro1iles directory. D rin. Windo/s NT set p a special 6ser Eive is loaded into E<E&F3 rrrentF6ser. T!is is t!e only time t!at t!is Eive accessi2le. A1ter Windo/s NT set p is complete t!is Eive is /ritten as NT6%ER.DAT in t!e De1a lt 6ser pro1ile. Eac! ne/ ser t!at lo.s in .ets a copy o1 t!e Eive. Three Steps to :uilding an Application Image

Create an initial snapshot of your system! Use an account that has administrati.e pri.ileges on the local machine to ta3e a KsnapshotK of the state of your system! Use S*SD+## Msnap to create a snapshot file! +nstall the application and ma3e any configuration changes! 2e .ery careful not to ma3e any unintended changes to the system and use the same administrati.e account when installing the application! Create the application pac3age! Use S*SD+## Mdiff to create the pac3age!

Adding an Application Image to the Distri;ution Ser8er


The System Difference Tool has two modesO Minf and Mapply modeO that can 4e used to add an application image to your distri4ution ser.er! The two modes are interchangea4le 4ut ha.e some su4tle differences that may determine which method would wor3 4est in your en.ironment! +n 4oth casesO you must add 6&M7reinstallN*es to the =Unattended> section of your Windows NT setup script file!
S/SDI00 Min$ 4ode

S*SD+## Minf mode is the preferred method 4ecause) +t reJuires less manual effort on your part! +t is possi4le to edit the pac3age if pro4lems arise or if you find editing necessary for some other reason! +t can 4e more efficient on the networ3 4ecause the files 4eing copied are usually much smaller! %dding an application image to your distri4ution ser.er in Minf mode is automated! %ll necessary files in the pac3age are copied to the distri4ution ser.er and the command line that installs the pac3age is added to the CMD8+N&S!T'T! See Chapter 9O KCustomi;ing Window NTK for more information on CMD8+N&S!T'T! Using Minf mode ma3es it easier to ma3e manual changes to the contents of the pac3age! The Windows 99 style !+N# file that is used 4y Windows NT setup to ma3e the necessary changes to the registry and other system configuration files is also e?tracted from the System Difference Tool pac3age! This file is a te?t file that can 4e e?amined and edited to alter the configuration changes that ha.e 4een made in the registry or another system configuration file! %lsoO each of the files that were included in the application and su4seJuently added to the S*SD+## pac3age are e?tracted from the pac3ageO and then copied to the

56&M5 directory on your distri4ution share! +f neededO you can add files or remo.e files from that directory! See Chapter -O K@etting StartedK for more information on the 56&M5 directory! 2ecause each file is e?tracted from the System Difference Tool pac3age in Minf modeO the installation of the pac3age will li3ely result in significantly smaller files 4eing copied during the te?t mode phase of Windows NT setup than if Mapply mode were used! Copying smaller files o.er a networ3 can 4e more efficient than copying a .ery large file!
S/SDI00Mapply 4ode

S*SD+## Mapply mode is an alternati.e to Minf mode! +n general it is 4etter to use Minf modeO 4ut you may find that Mapply mode wor3s at times when Minf mode fails! Using Mapply mode can result in somewhat slower copying of the files necessary to install the application image since a single large file may copy more slowly o.er a networ3 than smaller files! +f a pac3age is a large application or application suiteO such as Microsoft 6fficeO it can 4e many mega4ytes in si;e! To .iew the changes 4eing made using S*SD+## Mapply modeO you must use S*SD+## Mdump mode! +f you want to ma3e changes to the application image pac3age such as changing the files copied or editing configuration changes applied during the application setupO you would ha.e to first install the applicationO manually edit the registry and manually remo.e or add any filesO then create your System Difference pac3age again! To use Mapply mode you must edit the CMD8+N&S!T'T to add the S*SD+## Mapply command and you must copy all necessary files including S*SD+##!&'&O S*SD+##!+N#O and the pac3age to the 56&M5 directory on your distri4ution ser.er! See Chapter 9O KCustomi;ing Windows NTK for more information on CMD8+N&S!T'T and Chapter -O K@etting StartedK for more information on the 56&M5 directory!

Trou;leshooting S/SDI00.'('

TI/- 0hec) the status windows displayed (y S*SDI++$121 for a -sysdiff a(ortedmessage$ The file listed a(o&e this entry is usually the file that S*SDI++$121 failed on$ S*SD+##!&'& uses the standard Windows error message reporting facilities! These are listed in the Win/0 SDB the Windows NT ,esource Bit! Some of the common error messages you may come across when running S*SD+##!&'& are listed 4elow!
'rror 4essage7 System 'rror 2.

Solution) This error translates to Kaccess deniedK and may 4e generated when the S*SD+## tool attempts to access restricted 3eys in the registry! The S*SD+## tool does not support system ser.iceO hardware dri.erO or other dri.er installations! To resol.e this issueO follow these steps) -! +dentify which program installed the system ser.iceO hardware dri.erO or other dri.er! 0! Create a new difference file without the program identified in step -! /! %pply the new difference file! ! +nstall the program using its own installation program!
'rror 4essage7 An incorrect or duplicate computer name is created a$ter applying the di$$erence $ile.

Solution) The master computer $the computer on which the S*SD+## tool snapped the originalO or snapEfile and created the difference file( has had its computer name changed 4etween the snap and the creation of the difference file! To correct this pro4lemO re-create 4oth the original file and the difference file ma3ing sure the computer name does not change or re-diff the machine if possi4le using the S*SD+##!+N# to e?clude this registry 3ey!
'rror 4essage7 Contact the 4anu$acturer...

Solution) +f you attempt to apply a difference file to a computer on which the TSystem,ootT folder is named differently from the TSystem,ootT folder on the computer on which the difference file was createdO you may recei.e the following error messages! % pro4lem e?ists with a file supplied 4y your computerVs manufacturer! Contact the manufacturer and report the following)

% snapshot or Mdiff file specified on the command line was created with a different sysroot and cannot 4e used now! Clic3 6B! Setup will continue 4ut certain applications or other features may not wor3 correctly!
'rror 4essage7 Di$$ 0ailed %errorN )

Solution) This error message indicates you spelled one of the S*SD+## command line arguments incorrectly! #or e?ampleO sysdiff Mdiff 4ase!img offic!imgO 4ut 4ase!img is really called 4ase0!img!
'rror 4essage7 Di$$ 0ailed %errorN, )

Solution) This error message indicates that some of the files the S*SD+## tool is trying to read are in use! To resol.e this issueO use one of the following methods) - Close all programsO restart the computerO and then run the S*SD+## tool without running any other programs! - Use the =&?clude#iles> section in the S*SD+##!+N# file! To .erify that you are using the correct S*SD+## utilitiesO chec3 the timeMdate stamps) Sysdiff!e?e 8M0M9: -)/"%M :8O/:8 4ytes NTW Sysdiff!e?e 8M9M9: -)/"%M :8O/:8 4ytes NTS %lsoO if pro4lems are suspected with the S*SD+##!+N#O try using the one that is on the Windows NT CD) Sysdiff!inf 8M0M9: -)/"%M 0O9"" 4ytes NTW Sysdiff!inf 8M9M9: -)/"%M 0O9"" 4ytes NTS
.ro;lem7 'mpty directories on the master machine are not processed ;y S/SDI00 Msnap.

Solution) 7lace a dummy file in the directory!


.ro;lem7 .INI $iles may not ;e updated or copied during S/SDI00Mapply or S/SDI00Min$.

Tip - If your S*SDI++$121 pac)age is causing Windows NT setup to hang or S*SDI++$121 stops responding 3hangs4 when using 'apply mode or 'inf mode! in some cases the cause of the hang is a single entry or update that S*SDI++$121 is trying to apply to the system$ To determine where it is failing! you can comment out portions of the $IN+ file that are created in 'inf mode$ +or e%ample! you could comment out portions of the $IN+ file until the pac)age installs completely$ Then narrow the the portion that is (eing commented out until you identify the line or section that is causing the pro(lem$ Once this has (een identified! you can determine whether there are other methods that can (e used to apply that change to your system$ Solution) +nstead of relying on S*SD+## to update the !+N+ fileO manually update the !+N+ fileO then copy it to the appropriate directory under the 56&M5LCDri.e 8etterD!
.ro;lem7 Networ!s with limited ;andwidth eAperience pro;lems when doing S/SDI00 Min$ to the distri;ution ser8er.

Solution) 7erform the operation to the local dri.eO then manually mo.e the 56&M5 tree o.er to the distri4ution ser.er .ia 'C67*!&'&!
.ro;lem7 .ac!age $ile dates are changed.

When the S*SD+## pac3age is used to apply software to computers running Windows NT Ser.er or Wor3stationO the dates on files that are applied .ia the pac3age are changed from their original date to the current date! This happens whether you are doing a S*SD+## Mapply or a S*SD+## Minf! Solution) @et the updated .ersion of S*SD+##!&'& from MicrosoftVs #T7 site! Consult the Microsoft Bnowledge 2ase for the e?act location!
.ro;lem7 The computer stops responding %hangs) when you use the S/SDI00 Mapply command.

Solutions) The target computer is running low on dis3 space or has run out of dis3 space!

#ree some dis3 space and reapply the difference file! There may 4e a pro4lem with one of the applications contained in the image! Try smaller images or image the applications one at a time until you determine which one is causing the pro4lem! Create a new pac3age without the pro4lem application! There may 4e a pro4lem updating an !+N+ file! See KS*SD+##!&'& Mapply or Minf fails when updating an !+N+ file or fails to copy the !+N+ files!K 4elow! The difference file may 4e damaged! This can occur for .arious reasonsO 4ut the most common one is the difference file 4ecomes damaged while 4eing created across the networ3! To .erify the integrity of the difference fileO follow these steps) Try to manually apply the difference file instead of using the Minf switch! Create the difference file on the local computer and then copy it to the networ3 ser.er instead of creating the file across the networ3! Manually apply the difference file from the local hard dis3!
.ro;lem7 The S/SDI00 tool ta!es a long time to $inish and the image $ile is eAtremely large.

Solution) +f you are creating the image on the local hard dis3O ma3e sure to e?clude the folder 4eing used to store the image file in the S*SD+##!+N# file in the =&?cludeDirectoryTrees> section! #or e?ampleO if you were running the S*SD+## tool from the C)L+mage folderO you would create an entry similar to) =&?cludeDirectoryTrees> C)L+mage
.ro;lem7 When you run the S/SDI00 toolO it appears on the screen ;rie$ly and then nothing else happens.

Solution) This can occur when an incorrect synta? for the S*SD+## tool is used on the command line!
.ro;lem7 Some o$ the changes are not applied when you run the S/SDI00 Mapply command.

Solution) When you apply a difference fileO it may seem that some user-specific settings are not applied! These settings are contained in AB&*EUS&,S or AB&*ECU,,&NTEUS&, in the registry! 2ecause these settings are userspecificO they are not displayed if you log on with a different account than the

one that created the difference file! The use of 7rofiles and 7olicy files pro.ide the functionality needed to pro.ide a uniform and controlled registry setting for users!
.ro;lem7 Networ! dri8es appear in 4y Computer a$ter you apply a di$$erence $ile.

Solution) Networ3 dri.es ha.e 4een created after snapping the 4ase file 4ut 4efore the difference file are applied to the new installation! These settings are in the registry 3eys and are shown on a per-user 4asis! +f you do not want additional networ3 dri.es to 4e mapped for a userO you must disconnect them 4efore creating the difference file!
.ro;lem7 Temporary $iles are le$t in the $older where you are creating S/SDI00.'(' $iles.

Solution) This 4eha.ior can occur if you end the S*SD+## tool prematurely! Delete the temporary files and re-create the S*SD+## files!
.ro;lem7 S/SDI00.'(' Mapply or Min$ $ails when updating an .INI $ile or $ails to copy the .INI $iles.

Solution) +f S*SD+##!&'& is hanging when updating an !+N+ file or is failing to update or copy !+N+ filesO then the !+N+ files can 4e updated manually and copied to the appropriate directories under 56&M5 to ensure they are distri4uted properly!

G0ide To )0tomating Windo's NT !et0p #+6


S#m$le S!SDI..&IN. .ile =Gersion> Signature N K5Windows NT5K =&?cludeDri.es> W W The first character on each line is the dri.e letter W of a dri.e to e?clude! W Wc Wd W @eneral notes for fileMdir e?clusion sections) W W Y) refers to all dri.es! W `) refers to the dri.e with the system on it! W )) is su4stituted with TsystemrootT W W 8ines that are not in .alid format $such as those that W donVt start with ?)L( are ignored! W

=&?cludeDirectoryTrees> W W &ach line is a fully-Jualified path of a tree to W 4e e?cluded! The directory and all of its su4trees W are e?cluded! W Y)Lrecycled Y)Lrecycler =&?cludeSingleDirectories> W W &ach line is a fully-Jualified path of a directory to 4e W e?cluded! The directoryVs su4dirs are N6T e?cluded! W ))Lsystem/0Lconfig ))Lsystem/0Llogfiles

=&?clude#iles> W &ach line is a fully-Jualified path of a file to 4e e?cluded! W +f it does not start with ?)L then we assume itVs a filename part

G0ide To )0tomating Windo's NT !et0p #+6

W for a file to 4e e?cluded where e.er it is found! W Y)Lpagefile!sys ntuser!dat ntuser!dat!log =+nclude#iles+nDir> W W &ach line in here is a fully Jualified path of a directory W whose files are all to 4e included in a diff $mar3ed as W addedMchanged(! Use this if you want to include files in the diff W that might not ha.e actually 4een changed! W =&?clude,egistryBeys> W W &ach line indicates a single registry 3ey to 4e e?cluded! W Su43eys of this 3ey are not e?cluded! W W The first field is one of AB8M or ABCU W The second field is the su43eyO which must N6T start with a L! W AB8MOSystemLDis3 AB8MOSystemLSelect AB8MOSystemLSetup ABCUOSoftwareLMicrosoftLWindowsLCurrentGersionL&?plorerL,unM,U =&?clude,egistryTrees> W W &ach line indicates a registry 3ey and su43eys to 4e e?cluded! W W The first field is one of AB8M or ABCU W The second field is the su43eyO which must N6T start with a L! W AB8MOS*ST&MLControlSet""AB8MOS*ST&MLControlSet""0 AB8MOS*ST&MLControlSet""/ AB8MOS*ST&MLControlSet"" AB8MOS*ST&MLControlSet""9 AB8MOS*ST&MLControlSet"": AB8MOS*ST&MLControlSet""< AB8MOS*ST&MLControlSet""8 AB8MOS*ST&MLControlSet""9 AB8MOS*ST&MLCurrentControlSetL&num AB8MOKS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLperfli4K

G0ide To )0tomating Windo's NT !et0p

#+,

C6A.T'5 2 C&ST+4IEING WIND+WS NT


=&?clude,egistryGalues> W W &ach line indicates a registry .alue entry to 4e e?cluded! W W The first field is one of AB8M or ABCU! W The second field is the su43eyO which must N6T start with L! W The third field is the .alue entry name!

+8er8iew
%fter you ha.e automated Windows NT setup and the installation of applicationsO you will li3ely find that you still ha.e a list of customi;ations or tas3s that must 4e completed 4efore turning the computer o.er to the end user! *ou may want to change the password policy for local machine accountsO disa4le and delete a ser.iceO or e?ecute some other tas3 that is outside of the capa4ilities of the Windows NT deployment tools! +n this chapter you will find e?amples of tools and methods that can 4e used to automate these tas3s! The e?amples pro.ided are solutions to some common Juestions! #or the answer to your specific Juestion a4out how to automate a post-setup tas3O consult the Microsoft 6n-line Bnowledge 2ase and Microsoft Tech-NetO your Juestion may ha.e already 4een as3ed and answered!

Distri;uting 0iles Automatically &sing Windows NT Setup


+n some cases the only customi;ation you may want to perform is as simple as copying files to the computer you are installing Windows NT on! These files can 4e Pust a4out any fileO for e?ample they might 4e templates for word processingO macros for a spreadsheet application or email forms! See the KCopy Custom #iles Using the 56&M5 DirectoryK section in Chapter -O K@etting StartedK for more information a4out distri4uting files using Windows NT setup!
Customi3ing the Start 4enu

Manually customi;ing the Start Menu in.ol.es organi;ing the files and directories in the KCS*ST&M ,66TDL7rofilesLStart MenuK directory! The easiest way to automate any customi;ations you want to ma3e is to use the %pplication 7re-+nstallation Tool $S*SD+##!&'&( to trac3 and apply additions to this directory! %lternati.elyO you can use System 7olicies to store all or part of the Start Menu on a networ3 share point! This will allow you to centrally manage the files and shortcuts for each user[s Start Menu and Des3top! See the Windows NT ,esource Bit for more information a4out System 7olicies! ,efer to Chapter O K%pplication 7re-+nstallation $S*SD+##!&'&(K in this document for detailed information on using S*SD+##!&'&!

G0ide To )0tomating Windo's NT !et0p

#+8

#ollow the instructions in Chapter O K%pplication 7re-+nstallation $S*SD+##!&'&(K for creating a pac3ageO 4ut rather than installing an applicationO copy any files or shortcuts to the Start Menu for the current user that you would li3e to appear on your custom Start Menu! *ou can also edit the KL7rofilesLDefault UserLStart MenuK directory or the K%ll UsersK directory! +f you copy files to the current userVs Start Menu profileO you must use the optional Mm switch when running KS*SD+## Minf!K The Mm switch will Kre-mapK the changes from the current userVs Start Menu to the KDefault User!K 2y mapping the changes to the KDefault UserKO you ensure that each user that logs on will get a copy of your customi;ed Start Menu! +f you do not use the Mm switchO a copy of the current userVs Start Menu will 4e copied to each system that you install from your networ3 distri4ution point! When you run KS*SD+## Minf MmK S*SD+##!&'& will create an 56&M5 directory and copy all of the files that you added to the 56&M5L55L7rofiles directory on your distri4ution point! S*SD+## will also create a special file that is used to translate the short filenames on the distri4ution share to long filenames! Note: I1 yo only intend to ma0e and trac0 c!an.es to t!e system in yo r directory str ct re, yo s!o ld delete t!e command t!at %&%DI'' adds to t!e 3,D5INE%.TXT 1ile in t!e *+E,* directory on yo r distri2 tion s!are. T!is command line e>ec tes t!e .IN' 1ile /!ic! incl des all o1 t!e re.istry and ot!er con1i. ration 1ile c!an.es t!at %&%DI'' trac0ed. To determine /!ic! command line to delete, t!ere /ill 2e more t!an one i1 yo !ave r n %&%DI'' Ain1 /it! more t!an one pac0a.e yo !ave created 1ind t!e command line t!at !as t!e same s 11i> as yo r %&%DI''F1ile. 'or e>ample i1 yo sed t!e 1ollo/in. command /!en r nnin. %&%DI'' Ain1: S*SD+## Minf Mm mydiff Then the command line the CMD8+N&S!T'T would 4e) Krundll/0 setupapiO+nstallAinfSection Default+nstall -08 !LM*D+##!+N#K The KM*D+##!+N#K file in this e?ample contains any configuration changes made when customi;ing the Start Menu! +f all you did was copy filesO this line is unnecessary and should 4e remo.ed from the CMD8+N&S!T'T file!

Tools to Customi3e Windows NT


The first step to automating the process of customi;ing Windows NT is to find a tool that will ma3e the necessary changes in your system configuration! To automate the processO the tool should include a feature that will allow you to e?ecute the process without user interaction! +n many cases this means that the tool can 4e run from a command line with command line parameters that specify the action to 4e ta3en! +n this section you will find some tools and e?amples that demonstrate how they might 4e used!
5'G'DIT.'('

Windows NT !" includes two registry editing tools) ,&@&DT/0!&'& and

G0ide To )0tomating Windo's NT !et0p

#+-

,&@&D+T!&'&! 2oth tools allow you to edit the Windows NT registry 4ut ,&@&D+T!&'& includes a command line switch featureO KMsKO that allows you to silently add and change registry 3eys and .alues! This is a powerful feature that can 4e used to customi;e the Windows NT !" configuration! ,&@&D+T!&'& is one of se.eral tools that can 4e used to ma3e KsilentK or KscriptedK changes to the registry! +f you find that limitations of ,&@&D+T!&'&O li3e the ina4ility to delete a registry 3ey or .alue ma3e it difficult or impossi4le to accomplish the needed customi;ationsO you should e.aluate the functionality of other registry editing tools such as ,&@+N+!&'&! #or more information a4out ,&@+N+!&'& see the Windows NT ,esource Bit! The first step when using ,&@&D+T!&'& to modify your Windows NT !" configuration is to locate the 3ey$s( or .alue$s( that you must edit! +f you do not 3now which to edit or addO the easiest way to locate them is to e?port the registry 4efore and after ma3ing the change you wish to automate and then compare the two te?t files using a file comparison utility! #or e?ampleO to determine what 3eys and .alues are changed when changing the Wallpaper on your des3top) ,un ,&@&D+T!&'&O highlight KMy ComputerKO then choose K,egistryK and K&?port ,egistry fileSK from the menu! Select a filename for the e?ported registry file! Change the Wallpaper on your des3top! ,epeat step -O 4ut choose a different filename for the e?ported registry file! ,un the file comparison utilityO #C!&'&O to compare the two files! Aere is an e?ample command line if the filenames you selected were K2&#6,&!,&@K and K%#T&,!,&@K) #C 4efore!reg after!reg #rom the file comparison utility you would learn that the .alue in the registry that has changed is KwallpaperK! With this information you can use the search feature of ,&@&D+T!&'& to find the 4ranch that includes KwallpaperK! +n this case it is KAB&*ECU,,&NTEUS&,LControl 7anelLDes3topK! Using your mouseO select the 4ranch in ,&@&D+T!&'& and e?port the selected 4ranch to a file W%8877,!,&@ for e?ample! +t is recommended that you edit the te?t file that is e?ported so only the .alue which ma3es the change is included! This will ensure that you do not ma3e any unintended changes to the registry! The ne?t step is to test your e?ported registry file! To do this simply dou4leclic3 the !,&@ file you created to import the changes into the registry! 6nce you ha.e .erified that the imported !,&@ file wor3s as e?pectedO add a command to your CMD8+N&S!T'T file that imports the !,&@ file silently! Using the e?ample a4o.e the command would 4e)

G0ide To )0tomating Windo's NT !et0p

##+

K,&@&D+T!&'& MS !LW%8877,!,&@K *ou must also copy ,&@&D+T!&'& and W%8877,!,&@ to the 56&M5 directory on your distri4ution ser.er! The KMSK switch causes ,&@&D+T!&'& to import the registry file in KsilentK mode! +f you do not use this switchO the user will 4e prompted with a message stating that KThe information has 4een successfully entered into the registryK and an K6BK 4utton the must 4e clic3ed to continue! #or information a4out the CMD8+N&S!T'TO see KUsing CMD8+N&S!T'T to %utomate 7rogram &?ecution K later in this chapter! 3on1i. rin. a %ystem to A tomatically 5o.on and E>ec te a "ro.ram 2y configuring a system to automatically logon the administrator and e?ecute a program or a 4atch fileO you can automate many of the steps in your procedure for customi;ing Window NT !"! The following e?ample uses the K%uto %dmin 8ogonK feature and the K,un 6nceK feature to automatically logon the %dministrator after Windows NT !" has completed setup on the first logonO then e?ecute a program named KCUST6M!CMDK at this first logon! Using a te?t editorO create a file named %UT686@!,&@ with the following information)
,&@&D+T =AB&*E86C%8EM%CA+N&LS6#TW%,&LMicrosoftLWindowsNTLCurrentGersionL Winlogon> KDefaultUserNameKNK%dministratorK K%uto%dmin8ogonKNK-K KDefault7asswordKNKK

DefaultUserName can 4e any .alid account! During setupO the only account installed that has access to configuring the system is the local administrator account! The %uto%dmin8ogon feature disa4les itself after the first logon if the Default7assword is 4lan3! The user will 4e prompted for a logon name and password on any su4seJuent logons! Note: To create te>t 1iles, yo s!o ld se t!e EDIT.EXE tility incl ded /it! Windo/s NT instead o1 N+TE"AD.EXE since EDIT.EXE does not se 6NI3+DE c!aracters. Using a te?t editorO create a file named ,UN6NC&!,&@ with the

G0ide To )0tomating Windo's NT !et0p

###

following information)
,&@&D+T =A3eyE8ocalEMachineLSoftwareLMicrosoftLWindowsLCurrentGersionL, un6nce> K,unThisKNKc)LL4atchLLcustom!cmdK

+f a 56&M5 directory does not e?ist on your Windows NT distri4ution share create one! See KStructure of the Distri4ution Share 7ointK in Chapter -O K@etting StartedK for information a4out the 56&M5 directory! Copy %UT686@!,&@O ,UN6NC&!,&@O and ,&@&D+T!&'& to the 56&M5 directory! ,&@&D+T!&'& is located in the W+NNT $TS*ST&M,66TT( directory 4y default! Create a 56&M5LCL2%TCA directory on your distri4ution share and copy your CUST6M!CMD file in this directory! The CUST6M!CMD file should 4e included and command lines needed to automate your customi;ations for Windows NT !"! See the ne?t section in this chapter for an e?ample! +f a CMD8+N&S!T'T file does not e?ist in the 56&M5 directoryO create one with a te?t editor! &nter the following information) =Commands> K!L,&@&D+T!&'& MS !L%UT86@!,&@K K!L,&@&D+T!&'& MS !L,UN6NC&!,&@K +f a CMD8+N&S!T'T e?istsO edit it so it includes the two new lines! Do not add another =Commands> section! &dit the Windows NT !" setup script file that is 4eing used and add the following line to the =UN%TT&ND&D> section) 6&M7re+nstall N *&S 3on1i. rin. %ystem to %0ip t!e Welcome %creen Using a te?t editorO create a file named %UT686@!,&@ with the following information)
,&@&D+T =AB&*E86C%8EM%CA+N&LS6#TW%,&LMicrosoftLWindowsNTLCurrentGersionL Winlogon> KDefaultUserNameKNK%dministratorK K%uto%dmin8ogonKNK-K

G0ide To )0tomating Windo's NT !et0p

##$

KDefault7asswordKNKK

DefaultUserName can 4e any .alid account! During setupO the only account installed that has access to configuring the system is the local %dministrator account! The %uto%dmin8ogon feature disa4les itself after the first logon if the Default7assword is 4lan3! The user will 4e prompted for a logon name and password on any su4seJuent logons! Note: To create te>t 1iles yo s!o ld se t!e EDIT.EXE tility incl ded /it! Windo/s NT instead o1 N+TE"AD.EXE 2eca se EDIT.EXE does not se 6NI3+DE c!aracters. Using a te?t editorO create a file named N6W&8C!,&@ that contains the following si? lines!
,&@&D+T =AB&*ECU,,&NTEUS&,LSoftwareLMicrosoftLWindowsLCurrentGersionL&?plorerL Tips> KDisplay+nitialTipWindowKNdword)"""""""" KShowKNhe?)""O""O""O"" KNe?tKNhe?)"/O""

Note: 5ine t/o is 2lan0, 2 t m st 2e present. +f a 56&M5 directory does note e?ist on your Windows NT distri4ution shareO create one! See KStructure of the Distri4ution Share 7ointK in Chapter -O K@etting StartedK for information a4out the 56&M5 directory! Copy N6W&8C!,&@ and ,&@&D+T!&'& to the 56&M5 directory! ,&@&D+T!&'& is located in the W+NNT $TS*ST&M,66TT( directory 4y default! Create a 56&M5LCL2%TCA directory on your distri4ution share and copy your CUST6M!CMD file in this directory! The CUST6M!CMD file should include and command lines needed to automate your customi;ations for Windows NT !"! See the ne?t section in this chapter for an e?ample! +f a CMD8+N&S!T'T file does not e?ist in the 56&M5 directoryO create one with a te?t editor! &nter the following information) =Commands> K!L,&@&D+T!&'& MS !LN6W&8C!,&@K

G0ide To )0tomating Windo's NT !et0p

##3

+f a CMD8+N&S!T'T e?istsO edit it so it includes the two new lines! Do not add another =Commands> section! &dit the Windows NT !" setup script file that is 4eing used and add the following line to the =UN%TT&ND&D> section) 6&M7re+nstall N *&S E>ec tin. a -atc! 'ile on 'irst 5o.on to 3 stomiDe Windo/s NT The pre.ious section includes an e?ample of the Windows NT K,un6nceK feature! +n this e?ample you will find a sample 4atch or !CMD file that includes e?amples of programs which can 4e used to customi;e Windows NT !"! 2e sure that the 4atch file has 4een thoroughly tested 4efore implementing! &?ample commands for !CDM or !2%T file) net use ;)Lmyser.erLsetupshare net use ;) Md net accounts Mforcelogoff)0" net accounts Mminpwlen)9 net accounts Mma?pwage)-0" net accounts Mminpwage)/" net accounts MuniJuepw)0 net config ser.er Msr.comment)KWindows NT !"K net user SuperUs- M%DD net localgroup M*@,6U7- M%DD MC6MM&NT)KSuper @roup -K net localgroup M*@,6U7- SuperUs- M%DD net share ,66TNC)L Munlimited Mremar3)KThe door is wide openK net user administrator password #or more information on the N&T!&'& program and other programs included that may 4e used to help customi;e Windows NTO run the NTCMDS!A87 help file! Some applications or utilities may not include a feature which allows you to silently e?ecute the program without user interaction! +n some cases you can wor3 around simple prompts 4y these programs 4y using the KpipeK to send a character to the application! #or e?ampleO if you wanted to use the KChange %C8SK utilityO C%C8S!&'&O to setup NT#S security features you would find that the user is prompted with a K%,& *6U SU,&`K message! The C%C8S!&'& command line utility does not pro.ide a M* switch that automatically answers with * for *es to the K%,& *6U SU,&` *MNK prompt! Aowe.erO you can use the echo command to pipe the character * to C%8CS!&'& in a 4atch file) echo yX cacls CfilenameD Mg CusernameD)CpermissionD

G0ide To )0tomating Windo's NT !et0p

##.

Note:T!ere is no space 2et/een t!e )y) and t!e pipe sym2ol )G).

%"E3IA5 N+TE A-+6T 3A35%.EXE.: I1 yo do not /ant to replace t!e Access 3ontrol 5ist $A35(, se t!e AE $edit( option. &o s!o ld 2e care1 l /!en editin. t!e A35 2eca se it is very possi2le to c!an.e t!e system so it 2ecomes inaccessi2le. Do not deny access to any Windo/s NT system 1iles or directories. Addin. %ilent Application %et p 3ommands to a -atc! 'ile %pplications that can 4e setup silently can also 4e run using the K,un 6nceK feature! #or e?ampleO to install Microsoft 6ffice 99 or Microsoft 6ffice 9< you could add the following command line to your 4atch file to run Microsoft 6ffice setup in KJuiet modeK) LLproductsLmsofficeLsetup MJ M3KCCD BeyDK CCD BeyD is the CD Bey from your Microsoft 6ffice CD 3 stomiDin. Windo/s NT 5o.on The following sample !,&@ files include e?amples of some commonly reJuested Windows NT 8ogon customi;ations) Changing the 9ogon Caption and Te4t
86@6N!,&@) ,&@&D+T =AB&*E86C%8EM%CA+N&LS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLWinlogon> K8egalNoticeCaptionKNKThis is the 8egal Notice CaptionK K8egalNoticeTe?tKNKThis is the 8egal Notice Te?tK K8ogon7romptKNK&nter a user name and password that is .alid for this system!K KWelcomeKNK@ood morning and welcome to a new day at Widgets %re UsIK

Note: I1 yo are sin. t!e previo s e>amples to a tomatically lo.on as administrator and r n pro.ram, yo s!o ld not import t!e 5e.alNotice3aption and 5e.alNoticeTe>t re.istry c!an.es sin. t!e 3,D5INE%.TXT 1ile. I1 yo do t!e system /ill not a tomatically lo.on t!e administrator 2eca se o1 t!e dialo. e 2o>es t!ese re.istry settin.s add to t!e lo.on process. Instead, add t!e command line to import t!ese re.istry settin.s to t!e )R n+nce) 0ey. )Welcome) # De1a lt is title only, no messa.e. T!e te>t entered appears in t!e caption 2ar 2eside t!e title o1 t!e -e.in 5o.on, 5o.on In1ormation, Wor0station 5oc0ed, and 6nloc0 Wor0station dialo. 2o>es. T!is val e entry does not appear in t!e Re.istry nless yo add it. Customi:ing Windows NT 9ogon #ptions
,&@&D+T

G0ide To )0tomating Windo's NT !et0p

##/

=AB&*E86C%8EM%CA+N&LS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLWinlogon> KDontDisplay8astUserNameKNK-K K7owerdown%fterShutdownKNK-K K,un8ogonScriptSyncKNK"K KShutdownWithout8ogonKNK-K

;"ont"isplay9ast$serName; - 2y defaultO Windows NT displays the name of the last person to logon in the Username space of the 8ogon +nformation dialog 4o?! +f you add this .alue entry and set it to -O the Username space is always 4lan3 when the 8ogon +nformation dialog 4o? appears! ;<owerdown(fter hutdown; - Default) " on Windows NT Ser.erO - on Windows NT Wor3station! Determines whether the Shut Down and 7ower 6ff option appears in the Shut Down Computer dialog 4o?! $This dialog 4o? appears when you press CT,8_%8T_D&8&T& and then clic3 the Shut Down 4utton!( The option appears only if the .alue of this entry is -! See also ShutdownWithout8ogon and NoClose! ;'un9ogon cript ync; - Default) "! Determines whether the logon script and 7rogram Manager are synchroni;ed! +f the .alue of this entry is -O 7rogram Manager does not 4egin loading the des3top until the logon script has finished running! +f the .alue is "O the logon script and 7rogram Manager can run simultaneously! Note: T!is val e entry also appears in E<E&F36RRENTF6%ERH%o1t/areH,icroso1tHWindo/s NTH3 rrent;ersionHWinlo.on. T!e E<E&F5+3A5F,A3EINE val e applies to all sers. T!e E<E&F36RRENTF6%ER val e applies only to t!e c rrent ser. &o can se t!e %ystem "olicy Editor to c!an.e t!is val e. KShutdownWithout8ogonK - Default) " on Windows NT Ser.erO - on Windows NT Wor3station! Specifies whether the Shut Down 4utton in the 8ogon +nformation dialog 4o? is ena4led! +f the .alue is set to -O users can clic3 the Shut Down 4utton to stop the operating system without logging on or turning off power to the computer! +f it is set to "O the Shut Down 4utton is disa4led! See also NoClose and 7owerdown%fterShutdown! pecifying "efault hut "own ettings ,&@&D+T
=AB&*ECU,,&NTEUS&,LS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLShutdown> K8ogoffSettingKNK"K KShutdownSettingKNK"K

The Shut Down su43ey contains .alues that ena4le you to specify and retain default Shut Down settings! This su43ey is not in the ,egistry unless you add it!

G0ide To )0tomating Windo's NT !et0p

##6

K8ogoffSettingK - Default) "! Specifies the default option for the 8ogoff dialog 4o?! Galid .alues are) " N 8ogoff - N Shut Down 0 N Shut Down and ,estart / N Shut Down and 7ower 6ff $when supported(! KShutdownSettingK - Default) "! Specifies the default .alue for the Shut Down Computer dialog 4o?! This dialog 4o? appears when you press CT,8_%8T_D&8&T& and then clic3 the Shut Down 4utton! Galid .alues are) " N 8ogoff - N Shut Down 0 N Shut Down and ,estart / N Shut Down and 7ower 6ff $when supported(
'Aecuting Commands During Windows NT Setup C4D=IN'S.T(T

Windows NT setup includes a feature that will allow you to e?ecute a program during the graphical mode portion of the setup! To ena4le this featureO you must use a Windows NT setup script $UN%TT&ND!T'T( file! The setup script must include K6&M7re+nstallN*esK in the =Unattended> section of the setup script! &ach of the programs or commands that you want to e?ecute must 4e added to a te?t file named CMD8+N&S!T'T! Then you must copy the file to 56&M5 directory on your Windows NT distri4ution share! #or more information on the 56&M5 directory see Chapter -O K@etting Started!K Note: %ome applications /ill not r n d rin. t!e .rap!ical mode portion o1 set p 2eca se sers !ave not 2een created 2y Windo/s NT set p. To r n applications t!at 1ail to r n d rin. Windo/s NT set p, se t!e )R n +nce) 1eat re descri2ed in t!e )3on1i. rin. %ystem to A tomatically 5o.on and E>ec te a "ro.ram) section earlier in t!is c!apter. Also, t!e application or command s!o ld !ave a silent scripted 1eat re so no ser interaction is reB ired. When the commands listed in CMD8+N&S!T'T are e?ecutedO the current directory will 4e the 56&M5 directory! To change the current directory you must specify the change directory commandO CDO in the CMD8+N&S!T'T file! Synta? for the CMD8+N&S!T'T file) =Commands> KCcommandE-DK KCcommandE0DK ! ! KCcommandE?DK Where)

G0ide To )0tomating Windo's NT !et0p

##,

CcommandE-DO CcommandE0D and so forth refer them to the commands in the order you want them to run when CMD8+N&S!T'T is called 4y @U+ Mode Setup! Note that all commands must appear in Juotation mar3s $KK(!
&sing the Windows NT Setup 'ngineO S'T&.A.I.D==

Windows NT !" includes a setup engineO S&TU7%7+!D88O that can 4e used to copy filesO update the registry and other configuration filesO and re4oot the system if necessary! This is a .ery powerful tool that can 4e used to customi;e Windows NT !" and distri4ute software! S&TU7%7+!D88 is the same engine that the %pplication 7re-+nstallation Tool $S*SD+##!&'&( uses to install software! *ou must use a Windows 99 style !+N# file to pro.ide the setup engine with the instructions necessary to complete your tas3! +nformation on writing and editing Windows 99 style !+N# files can 4e found in the Win/0 Software De.elopment Bit $SDB( and %ppendi? C of the KWindows 99 ,esource Bit!K 2ecause S&TU7%7+!D88 is not an e?ecuta4le fileO you must use an e?ecuta4le KwrapperK that will load and call the routines contained in S&TU7%7+!D88! *ou can use the ,UND88/0 system command to e?ecute an +nstall section in an !+N# file! The synta? of the command line is)
,UND88/0 S&TU7%7+!D88O+nstallAinfSection CsectionD Cre4oot-modeD Cinf-nameD

CsectionD parameter is any +nstall section in the !+N# file! Cre4oot-modeD parameter determines which of fi.e re4oot modes should 4e used! Note: T!e recommended val es 1or ?re2oot#mode@ are 1o r, i1 t!e .IN' 1ile is a Windo/s NT#s pplied .IN' 1ile, or 932 i1 t!e IN' 1ile is provided 2y yo . 6sin. any o1 t!e ot!er val es s!o/n 2elo/ may ca se t!e mac!ine to 2e re2ooted nnecessarily or ca se t!e mac!ine not to 2e re2ooted /!en it s!o ld 2e. The following list descri4es each re4oot mode) Ne.er ,e4oot Set Cre4oot-modeD to " or -08! Whate.er happensO the 7C will not 4e re4ooted! +t[s up to the client to determine if the 7C should 4e re4ooted! #or setupO this means there is a file C)LW+ND6WSLW+N+N+T!+N+ that is not ;ero 4ytes in si;e! %lways Silent ,e4oot Set Cre4oot-modeD to - or -09! The user will not 4e prompted with a K,e4oot the machineO *esMNoK dialog and the 7C will always re4oot! %lways 7rompt ,e4oot Set Cre4oot-modeD to 0 or -/"! The user will always 4e as3ed to respond to a K,e4oot the machineO *esMNoK dialog! Setup does not attempt to determine if a re4oot is necessary!

G0ide To )0tomating Windo's NT !et0p

##8

Silent ,e4oot Set Cre4oot-modeD to / or -/-! +f setup determines that the 7C needs to re4ootO there is no user interaction! 7rompt ,e4oot Set Cre4oot-modeD to or -/0! +f setup determines that the 7C needs to re4ootO it prompts the user with a K,e4oot the machineO *esMNoK dialog! #or e?ampleO the following command line installs the @ames optional component andO if Windows NT setup determines a re4oot is necessaryO as3s the user if they want the computer to re4oot immediately after the installation is complete! ,UND88/0 S&TU7%7+!D88O +nstallAinfSection games applets!inf

Notes: %ET6"A"I does not c!ec0 1or dis0 space reB ired to install any 1iles 2ein. copied. T!is is t!e responsi2ility o1 t!e administrator.

*our installation process should not include commands that are to e?ecute after the ,UND88/0 command has e?ecuted 4ecause the system may re4oot immediately at that pointO 4efore returning control of the system to another process! +f your installation process reJuires other commands that are to e?ecute after the ,UND88/0 commandO you should use the ,un6nce feature! See the KConfiguring System to %utomatically 8ogon and &?ecute a 7rogramK section earlier in this chapter for more information on the ,un6nce feature! The following e?ample ma3es the same changes to the registry as the e?ample in the KConfiguring System to %utomatically 8ogon and &?ecute a 7rogramK section a4o.e! The system is configured to automatically logon the administrator and e?ecute a program or a 4atch file! %UT686@!+N#
=Gersion> Signature N K5Windows NT5K =Default+nstall> %dd,eg N %dd,egistryBeys =%dd,egistryBeys> AB8MOKS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLWinlogonKOKDefault7asswordKOOKK AB8MOKS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLWinlogonKOKDefaultUserKOOK%dministratorK AB8MOKS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLWinlogonKOK%uto%dmin8ogonKOOK-K

G0ide To )0tomating Windo's NT !et0p

##-

AB8MOKS6#TW%,&LMicrosoftLWindowsLCurrentGersionL,un6nceKOK,unThisKOOKc)L4atchLcusto m!cmdK

To e?ecute %UT686@!+N# the following line would 4e added to CMD8+N&S!T'T! =Commands> Krundll/0 setupapiO+nstallAinfSection Default+nstall -08 !Lautolog!+N#K Removin. t!e Gop!er and World Wide We2 $WWW( %ervices This e?ample !+N# file remo.es the @opher Ser.ice and the World Wide We4 $WWW( ser.ices! These ser.ices are installed with 7eer We4 Ser.ices! ,&@D&8!+N# =.ersion> signatureNK5Windows NT5K =Default+nstall> Del,eg N Delete,egistryBeys =Delete,egistryBeys> AB8MOKSystemLCurrentControlSetLSer.icesL@67A&,SGCK AB8MOKSoftwareLMicrosoftL+NetMgrL7arametersL%dd6nSer.icesKOK@opherK AB8MOKSystemLCurrentControlSetLSer.icesLW/SGCK AB8MOKSoftwareLMicrosoftL+NetMgrL7arametersL%dd6nSer.icesKOKWWWK To e?ecute ,&@D&8!+N# the following line would 4e added to a 4atch file after you ha.e installed 7eer We4 Ser.ices) ,UND88/0 S&TU7%7+O+nstallAinfSection Default+nstall -08 !Lregdel!inf

Automating Installation o$ Windows NT Ser8ice .ac!s


There are three ways to automate the installation of a ser.ice pac3!

0et'o& #
%utomatically logon as the administratorO then use the K,un 6nceK feature to run the Windows NT Ser.ice 7ac3 +nstallation 7rogramO U7D%T&!&'&O in silent mode! See the earlier sectionO KConfiguring System to %utomatically 8ogon and &?ecute a 7rogramKO for an e?ample of automatically logging on as the administrator and running a program! %dd the command line for running U7D%T&!&'& in silent mode to the K,un6nceK 3ey in the registry! &?ample command line) LLNT#+8&SLS7LU7D%T&!&'& MU MF

G0ide To )0tomating Windo's NT !et0p

#$+

0et'o& $
Use the Windows NT setup switchO M&O to specify a command to 4e e?ecuted at the end of graphical mode setup! &?ample) W+NNT!&'& MU)UN%TT&ND!T'T MS)')L M&)K')LS7LU7D%T&!&'& MU MFK

0et'o& 3
+f you are using the Dis3 Duplication method of distri4uting Windows NT this is the recommended method of automating installation of Windows NT Ser.ice 7ac3s 4ecause all needed files are copied to the hard dri.e 4efore duplication rather than copying the files after the graphical mode portion of setup is complete! See Chapter - in this guide for more information a4out dis3 duplication! Copy the Windows NT Ser.ice 7ac3 source files to your networ3 distri4ution point! &?ample) copy d)Li/8:LY!Y c)LdistL5oem5 copy d)Lspcdrom! " c)LdistL5oem5 copy d)Ldis3- c)LdistL5oem5 Where d) is the CD ,6M dri.e letter and i/8: is the name of the target platform! &dit or create a CMD8+N&S!T'T file $using NotepadO for e?ample( with the following content! Sa.e the file in the 5oem5 directory of your networ3 distri4ution sharepoint! =Commands> K!Lupdate Mu M;K &dit or create your Window NT setup script file $UN%TT&ND!T'T( to ensure that it contains the following line under in the =Unattended> section) =Unattended> 6em7reinstall N yes

Automating Selection o$ Windows Accessories and Components


&ach Windows NT component or accessory has an associated setup information file $!+N#(! &ach !+N# uses the .alue +nstallType to specify whether the application is to 4e installed!

G0ide To )0tomating Windo's NT !et0p

#$#

+nstallType .alues) " N Manual 6nly -" N Typical or Custom - N TypicalO CustomO or 7orta4le The following !+N# files use the +nstallType .aria4le! The list of !+N# files can 4e found under the =2aseWin6ptions+nfs> in the S*SS&TU7!+N#! accessor!inf communic!inf games!inf mmopt!inf multimed!inf optional!inf pin4all!inf wordpad!inf +f none of the options in a particular !+N# are desiredO a semicolon can 4e placed at the 4eginning of the line! The following e?ample is the section for #ree Cell from the @%M&S!+N# for Windows NT !" Ser.er! 2y defaultO games are not installed on Windows NT Ser.er !"! Since Unattended Setup uses Typical for installation purposesO a .alue of -" can 4e used for +nstallType! 2y default +nstallType for #ree Cell is "! This is the .alue that is change! To install #ree CellO change +nstallType .alue to -"! =#reecell> 6ptionDesc Tip +con+nde? 7arent +nstallType Copy#iles %dd,eg Update+nis Uninstall Upgrade Detect

N T#reecellED&SCT N T#reecellET+7T N :0 WWindows mini-icon for dialogs N @ames N " WManual only N #reecellCopy#ilesSysO #reecellCopy#ilesAelp N #reecell%dd,eg N #reecell+nis N #reecellUninstall N #reecellUpgrade N T--TLfreecell!e?e

To ta3e ad.antage of the +nstallType .aria4le for manual or unattended installations of Windows NTO a certain amount of preparation is needed! The contents of the +/8: directory from the Windows NT !" CD needs to 4e copied to a distri4ution share!

G0ide To )0tomating Windo's NT !et0p

#$$

#or each !+N# file that needs to 4e modifiedO the file first needs to 4e e?panded and the original file renamed! %! &'7%ND @%M&S!+NE @%M&S!+N# 2! ,&N%M& @%M&S!+NE @%M&S!S%G
Note= The Windows NT version of 23<(N".232 needs to be used.

&dit the !+N# file and change the +nstallType .alue to one of the following .alues) " N Manual 6nly -" N Typical or Custom - N TypicalO CustomO or 7orta4le

List o% 1ccessor2 .INFs an& t'eir Settings


55ESSO%&IN. Calculator Character Map Clip4oard Giewer Cloc3 Des3top Wallpaper Document Templates Mouse 7ointers 64Pect 7ac3age 7aint ]uic3 Giew Screen Sa.ers 6pen @8 Screen Sa.ers Standard 5OMM(NI5&IN. Chat 7hone Dialer Ayper Terminal @ MES&IN. #reecell Mine Sweeper Solitaire PIN- LL&IN. 7in 2all MMOPT&IN. Media 6ptions Musica Sound Scheme

+nstallType N -" WTypicalO Custom +nstallType N -" WTypicalO Custom +nstallType N - WTypicalO 7orta4leO Custom +nstallType N - WTypicalO 7orta4leO Custom +nstallType N " WManual +nstallType N -" WTypicalO Custom +nstallType N " WManual +nstallType N - WTypicalO 7orta4leO Custom +nstallType N -" WTypicalO Custom +nstallType N -" WTypicalO Custom +nstallType N -" WTypicalO Custom +nstallType N -" WTypicalO Custom

+nstallType N - WTypicalO 7orta4leO Custom +nstallType N - WTypicalO 7orta4leO Custom +nstallType N - WTypicalO 7orta4leO Custom

+nstallType N " WManual +nstallType N " WManual +nstallType N " WManual

+nstallType N " WManual

+nstallType N -" WTypicalO Custom +nstallType N " WManual

G0ide To )0tomating Windo's NT !et0p

#$3

Hungle Sound Scheme ,o4otF Sound Scheme Utopia Sound Scheme M(LTIMED&IN. CD 7layer Media 7layer Sound ,ecorder Golume Control OPTION L&IN. %ccessi4ility 6ptions AO%DP D&IN. Word 7ad

+nstallType N " WManual +nstallType N " WManual +nstallType N " WManual

+nstallType N +nstallType N +nstallType N +nstallType N -

W CustomO TypicalO 8aptop W CustomO TypicalO 8aptop W CustomO TypicalO 8aptop W customO typicalO laptop

+nstallType N - WTypicalO 7orta4leO Custom

+nstallType N -" WTypicalO Custom

Automating Installation o$ .eer We; Ser8ices


Windows NT Wor3station 7eer We4 Ser.ices includes a silent installation mode 4ut this cannot 4e installed until after Windows NT has 4een completely installed! To automatically run 7eer We4 Ser.ices setup in silent modeO add the following at the command line to the ,un6nce registry 3ey! +N&TST7 -4 setup!t?t Where S&TU7!T'T is an te?t file with nothing 4ut a semi-colon in itO 7eer We4 Ser.ices setup reJuires a setup script file to run in silent mode li3e +nternet +nformation Ser.er for Windows NT Ser.erO 4ut does not ma3e use of any settings included in the file!

5emo8ing 4icroso$t Internet 'AplorerO 4icroso$t 'Achange ClientO and Image Fiewer
4icroso$t Internet 'Aplorer .#

To disa4le the installation of Microsoft +nternet &?plorer 0!" during setupO comment out or delete the +&'786,&!+N# entry in S*SS&TU7!+N#! S*SS&TU7!+N# is compressed on the Windows NT !" CD-,6M! 6n your networ3 distri4ution share use the &'7%ND utility to uncompress S*SS&TU7!+NE to S*SS&TU7!+N#! Note) &'7%ND!&'& must 4e run from within Windows NT! &?ample) e?pand S*SS&TU7!+NE S*SS&TU7!+N# ,ename S*SS&TU7!+NE to S*SS&TU7!68D! 2y defaultO setup will use the compressed .ersion if 4oth e?ist!

G0ide To )0tomating Windo's NT !et0p

#$.

6pen S*SS&TU7!+N# and search for +&'786,&!+N# and Kcomment outK or delete the line with +&'786,&!+N#! To Kcomment outK +&'786,&!+N# insert a semicolon in front of +&'786,&!+N#! &?ample) =+nfs!%lways> W ie?plore!infODefault+nstall
4icroso$t 'Achange Client

To disa4le the installation of the Microsoft &?change Client +C6N on the des3top during setupO Kcomment outK or delete the line with the MSM%+8!+N# entry in S*SS&TU7!+N#! S*SS&TU7!+N# is compressed on the Windows NT !" CD-,6M! 6n your networ3 distri4ution share use the &'7%ND utility to uncompress S*SS&TU7!+NE to S*SS&TU7!+N#! Note) &'7%ND!&'& must 4e run from within Windows NT! &?ample) e?pand S*SS&TU7!+NE S*SS&TU7!+N# ,ename S*SS&TU7!+NE to S*SS&TU7!68D! 2y defaultO setup will use the compressed .ersion if 4oth e?ist! &dit S*SS&TU7!+N# and search for MSM%+8!+N# and comment out that line 4y inserting a semicolon in front of MSM%+8!+N#! &?ample) =2aseWin6ptions+nfs> accessor!inf communic!inf games!inf image.ue!inf mmopt!inf W msmail!inf multimed!inf optional!inf pin4all!inf wordpad!inf
Image Fiewer

To disa4le the installation of +mage Giewer during setupO the +M%@&GU&!+N# entry in S*SS&TU7!+N# needs to 4e commented out or deleted! S*SS&TU7!+N# is compressed on the Windows NT !" CD-,6M! 6n your networ3 distri4ution share use the &'7%ND utility to

G0ide To )0tomating Windo's NT !et0p

#$/

uncompress S*SS&TU7!+NE to S*SS&TU7!+N#! Note) &'7%ND!&'& must 4e run from within Windows NT! &?ample) e?pand S*SS&TU7!+NE S*SS&TU7!+N# ,ename S*SS&TU7!+NE to S*SS&TU7!68D! 2y defaultO setup will use the compressed .ersion if 4oth e?ist! 6pen S*SS&TU7!+N# and search for +M%@&GU&!+N#O then insert a semicolon in front of the line with +M%@&GU&!+N#! The change should loo3 li3e this) =2aseWin6ptions+nfs> accessor!inf communic!inf games!inf W image.ue!inf mmopt!inf msmail!inf multimed!inf optional!inf pin4all!inf wordpad!inf

Automating Installation o$ 4icroso$t 'Achange Ser8er Client and 4icroso$t Internet 'Aplorer ,.#A $or Windows NT
Automating Installation o$ the 'Achange Client Supplied with 4icroso$t 'Achange Ser8er

*ou can automate the installation of the Microsoft &?change Client pro.ided with the Microsoft &?change ser.er using the %pplication 7re-+nstallation Tool $S*SD+##!&'&(O howe.er you must first disa4le the installation of the Microsoft &?change Client that is included with Windows NT! #ollow the instructions outlined in ,emo.ing +nternet &?plorerO Microsoft &?change ClientO and +mage Giewer in the pre.ious section of this chapter to disa4le the installation of the Microsoft &?change Client! *ou must disa4le this 4efore installing Windows NT on the computer that will 4e used to create the application image with S*SD+##!&'&! #ollow the instructions for creating an application pac3age in Chapter O K%pplication 7re-+nstallation $S*SD+##!&'&(R! +nstall the &?change Client pro.ided on the Microsoft &?change Ser.er CD! Note: Do not 2e.in t!e con1i. ration WiDard 1or t!e E>c!an.e 3lient 2e1ore creatin. a

G0ide To )0tomating Windo's NT !et0p

#$6

pac0a.e /it! %&%DI''.EXE. Doin. so /ill ca se all E>c!an.e 3lients to 2e con1i. red incorrectly. E>c!an.e provides a pro1ile tility t!at can 2e sed to con1i. re eac! client. Consult the Microsoft Bnowledge 2ase or your Microsoft Technet CD su4scription for additional information on Microsoft &?change Ser.er and Clients!

G0ide To )0tomating Windo's NT !et0p

#$,

Installation o$ the 4icroso$t Internet 'Aplorer ,.#A

To automate the installation of latest .ersion of Microsoft +nternet &?plorer /!"?O you should o4tain the Microsoft +nternet &?plorer %dministrators Bit! *ou will find instructions for creating a silent scripted installation of Microsoft +nternet &?plorer! *ou can then use the ,un6nce feature of Windows NT to add a command line that will run a 4atch file including the commands necessary to install Microsoft +nternet &?plorer! The Microsoft +nternet &?plorer %dministration Bit which pro.ides full documentation on customi;ing Microsoft +nternet &?plorer for deployment! More information and the sign-up form are a.aila4le at MicrosoftVs We4 site) A,&#NKhttp)MMwww!microsoft!comMieMiea3M M%C,62UTT6N Atml,es%nchor http)MMwww!microsoft!comMieMiea3M

0or 4ore In$ormation


#or the latest information on Windows NT Wor3stationO chec3 out our World Wide We4 site at A,&#NKhttp)MMwww!microsoft!comMntwor3station M%C,62UTT6N Atml,es%nchor http)MMwww!microsoft!comMntwor3stationor the Windows NT Ser.er #orum on the Microsoft Networ3 $@6 W6,D) MSNTS(!

G0ide To )0tomating Windo's NT !et0p

#$8

You might also like