Guide to Automating Windows Nt Setup

Embed Size (px)

Citation preview

  • 8/12/2019 Guide to Automating Windows Nt Setup

    1/133

    Operating System

    Deployment Guide

    Automating Windows NT Setup

  • 8/12/2019 Guide to Automating Windows Nt Setup

    2/133

  • 8/12/2019 Guide to Automating Windows Nt Setup

    3/133

    The information contained in this document represents the current view of Microsoft Corporation on the issuesdiscussed as of the date of publication. Because Microsoft must respond to changing market conditions, itshould not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee theaccuracy of any information presented after the date of publication.

    This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS ORIMPLIED, IN THIS DOCUMENT.

    Microsoft, Windows, Windows NT, the Windows logo, and M!"# are registered trademarks of MicrosoftCorporation 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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    4/133

  • 8/12/2019 Guide to Automating Windows Nt Setup

    5/133

    This deployment guide provides information, tips, and tricks that

    will help you automate the MicrosoftWindows NTsetup

    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 conunction 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-TTN/.T0T1 2ile

    3onfiguring Machine4Specific Information

    -pplication !re4Installation +SYS/I22.01

    3ustomi5ing Windows NT

    Automating

    Windows NT Setup

  • 8/12/2019 Guide to Automating Windows Nt Setup

    6/133

    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 "REGEDIT.EXE..........................................................................................10REGEDIT32.EXE......................................................................................10REGINI.EXE.............................................................................................10

    Client Connecti.ity Software "

    Windows NT Setup) W+NNT!&'& and W+NNT/0!&'& "

    WINNT.EXE and WINNT32.EXE command line parameters................10Steps 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! 0

    2uilding the Distri4ution Ser.er 0

    Copy the Windows NT Source #iles 0

    Copy Custom #iles Using the 56&M5 Directory 0

    Structure of the Distri4ution Share 7oint 0

    Con.erting Short #ilenames to ong #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 :Removing Peer We !ervices....................................................................1"

    ,emo.ing Third-7arty 7ro.ided Networ3 %dapter Dri.ers 0/

    mass storage dri.er description 0/

    =DisplayDri.ers> 0

    display dri.er description 0

    =Bey4oardDri.ers> 0

    3ey4oard dri.er description 0

    =7ointingDe.iceDri.ers> 0

    pointing de.ice dri.er description 0

    =6&M2oot#iles> 0

    T'TS&TU7!6&M 0

    hal file name 0

    scsi dri.er file name 0

    =6&ME%ds> 0:

    2anner 0:

    ogo 0:

    2ac3ground 0:

    =@uiUnattended> 0

    7ortName

    De.iceType

    7ortUsage

    =N&TM6N 7arameters>

  • 8/12/2019 Guide to Automating Windows Nt Setup

    10/133

    =STC7+7 7arameters> 0

    =S%7 7arameters> 0

    =TC77,+NT 7arameters> 0

    =DAC7 7arameters> 0

    =DNS 7arameters> 0

    =W+NS 7arameters> 0

    =internet information ser.er section> 0

    +nstall+N&TST7 0

    +nstall%DM+N 0

    +nstall#T7 /

    #T7,oot /

    +nstallWWW /

    WWW,oot /

    +nstall@67A&, /

    @opher,oot

    +nstallDir

    +nstallW/S%M7

    +nstallATM%

    @uest%ccountName

    @uest%ccount7assword

    Sample UN%TT&ND!T'T #iles

    Sample 0 ey;oardDriers@

    This section contains a list of Bey4oard Dri.ers to 4e loaded 4y the Setup

    oaderO and installed during Te?t Mode Setup! +t is only .alid when

    6em7reinstall *es! +f this section is missing or emptyO setup will attempt to

    detect the 3ey4oard de.ices on the machineO and install the corresponding retai

    dri.ers!

    B!ey;oard drier description

    Galue) %ETIL 2 OEM

    This is a string that identifies the dri.er to 4e installed! +t must match one ofthe 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 3ey4oard dri.er descriptions can 4e specified!

    %ETILindicates that the dri.er is part of the retail Windows NT product!

    OEMindicates that the dri.er is 6&M-supplied!

    Note: Use this section if setup is una4le to detect your de.ice correctly or if

  • 8/12/2019 Guide to Automating Windows Nt Setup

    30/133

  • 8/12/2019 Guide to Automating Windows Nt Setup

    31/133

    The scsi dri.er file name 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 scsi dri.er file names 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.

    ?+'4Ads@

    +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)

    &?ample Synta?)

    2anner K'*F Corporation 1 Windows NT installationK

    This 3ey specifies ato 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) )8+

    &?ample Synta?)

    ogo 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 D and the second is a 4ase "

    num4er that represents the resource +D of the 4itmap in the D! The D

    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) )8+

    &?ample Synta?)

    2ac3ground 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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    32/133

    distri4ution share point! Aowe.erO if two fields are specifiedO then the first field

    is the name of a D and the second is a 4ase " num4er that represents the

    resource +D of the 4itmap in the D! The D 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

    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!Adminassword

    Galue) 1 2 3

    &?ample Synta?)

    6&M2lan3%dmin7assword

    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)

    &?ample Synta?)

    TimeFone K$@MT-")""( &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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    33/133

    89*TB?$:?? -acific Time 8US F ,anada0 TiHuana 89*TB?:?? &las1a 89*TB?:?? Aa;aii 89*TB:?? *id;ay Island< Samoa 89*T>):?? Wellin2ton 89*T>?:?? @ris3ane< *el3ourne< Sydney 89*T>?:#? &delaide 89*T>?:?? 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 8ast 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>?:#? '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

    AdSererType

    Galue) SE%9E%NT 2 LNMNNT 2 LNSE5NT

    &?ample Synta?) Sets .alue of Windows NT Ser.er to 7DC!

    %d.Ser.erType %NM%NNT

    This 3ey is only .alid when installing Windows NT Ser.er!

    SE%9E%NTindicates that the computer will 4e a stand-alone ser.er!

    LNMNNTindicates that the computer will ser.e as a primary domain

    controller!

    LNSE5NTindicates that the computer will 4e a 4ac3up domain controller!

    Detachedrogram

    Galue)

    &?ample Synta?)

    Detached7rogram c)Lmyprogram!e?e

    The Detached7rogram 3ey is used to indicate the path of the custom

  • 8/12/2019 Guide to Automating Windows Nt Setup

    34/133

    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 CMD+N&S!T'T

    is used which pro.ides greater functionality!

    See Chapter O QCustomi;ing Windows NTR for further information!

    Arguments

    Galue)

    The r*uments3ey indicates that arguments or parameters accompany the

    custom program that should run concurrently with the setup program!

    ?&serData@

    0ullName

    Galue)

    &?ample Synta?)

    #ullName Kyour nameK

    The .ullN#me3ey 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)

    &?ample Synta?)

    6rgName Kyour company nameK

    This 3ey is used to specify an organi;ation[s name! +f the Or*N#me3ey is

    empty or missingO the user is prompted to enter an organi;ation name!

    ComputerName

    Galue)

    &?ample Synta?)

    ComputerName KMyComputerK

    Note: There can 4e N6 spaces in a computer name!

    This 3ey is used to specify the computer name! +f the 5omuterN#me3ey isempty or missingO the user is prompted to enter a computer name!

    roductID

    Galue)

    &?ample Synta?)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    35/133

  • 8/12/2019 Guide to Automating Windows Nt Setup

    36/133

    &?ample Synta?)

    Configure%togon

    This 3ey is used to specify when the graphics de.ices are configured

    during setup or after the first logon 4y an end user!

    1implies configure during setup and 3indicates 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.

    :itserel

    Galue)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)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    37/133

    section in Chapter 0 for further information!

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

    Fre$resh

    Galue) 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

    The uto5on0irm3ey indicates whether the graphics de.ice should 4e

    configured using pre-specified display settings or not!

    1implies do not use the pre-specified settings and 3indicates that the pre-

    defined settings should 4e used!

    uto5on0irm 4 3reJuires 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.

    InstallDrier

    Galue) 1 2 3

  • 8/12/2019 Guide to Automating Windows Nt Setup

    38/133

    &?ample Synta?)

    +nstallDri.er

    This 3ey specifies whether a third-party dri.er is 4eing installed or not! +f

    .alue is1O the In0.ileandIn0Otion3eys 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)8 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

    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) inf option O inf option 0O

    &?ample Synta?)Inf!ile 5 s#(inf< matroL(infInfJption ( 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"iceTye 4 Modemin the list of ,%S parameters! This section cannot 4e

    empty if you want to install modems using ,%S in unattended mode!

    Install4odem

    Galue)

    &?ample Synta?)

    +nstallModem 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.

  • 8/12/2019 Guide to Automating Windows Nt Setup

    39/133

    ?Bmodem parameter section@

    The modem parameter section lists the 3eys and .alues reJuired to install a

    modem on a particular C6M port! +f the =modem parameter section> section

    is 4lan3O ,%S will do modem detection on its pre-configured ports and install

    any modems it finds!

    BC+4 port num;er

    Galues) )8 8 fields are optional fields that identify the

    manufacturer and pro.ider of a particular modem in cases where the 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!

    ! 6pen Control 7anelLModems!

    0! The Modem Description is on the @eneral Ta4 under the column mar3ed

    Modem!

    *ou can also locate the Modem Description 4y searching the systemroot

    L+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 sectionfor additional information!

    6ptions in this section can specified in a UD# or UN%TT&ND!T'T!

    Attended

    Galue)!es 2 No

  • 8/12/2019 Guide to Automating Windows Nt Setup

    40/133

  • 8/12/2019 Guide to Automating Windows Nt Setup

    41/133

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

    DetectAdapters

    Galue) 2

    &?ample Synta?)

    Detect%dapters Netcards

    This 3ey is used to detect networ3 adapter cards installed on a computer!

    &ither this 3ey or the Inst#lld#ters3ey 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 additiona

    information!

    InstallAdapters

    Galue)

    &?ample Synta?)

    +nstall%dapters +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 additiona

    information!

    Installrotocols

    Galue)

    &?ample Synta?)

    +nstall7rotocols 7rotocols

    This 3ey defines a section in which the networ3 protocols to 4e installed are

    listed!

    InstallSerices

    Galue)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    42/133

    &?ample Synta?)

    +nstall+nternetSer.er +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!

    DoNotInstallInternetSerer

    Galue)!es 2 No

    &?ample Synta?)

    DoNot+nstall+nternetSer.er *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 Section@

    The name of this section is the .alue of the Detectd#ters3ey descri4ed in

    the )Netor=+ 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 line in the

    pre.ious section!

    DetectCount

    Galue) num4er of detection attempts

    &?ample Synta?)

    DetectCount

    +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)

    &?ample Synta?)

    imitTo +&&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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    43/133

    information!

    BNetcard In$ option

    Galue)

    &?ample Synta?)

    +&&7,6parm

    This 3ey points setup to the section that contains descriptions for a particular

    networ3 adapter card! The netcard inf options 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 Section@

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

    BNetcard In$ option

    Galue) netcard parameter section

    &?ample Synta?)

    netcards +&&7,6

    This 3ey points setup to the section that contains descriptions for a particular

    networ3 adapter card! The netcard inf options 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 section@

    &?ample) =+&&7,6>

    This section contains the parameters for a particular networ3 adapter card

    whose has 4een specified in the )+or the )+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!

    ?Brotocols Section@

    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.

  • 8/12/2019 Guide to Automating Windows Nt Setup

    44/133

    N:0

    Galue)

    &?ample Synta?)

    N2# 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)! This section must e?istwhether the section reJuires .alues or not! DC does not ha.e any .alues

    4ecause there are no parameters to configure!

    5AST

    Galue)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    45/133

    &?ample Synta?)

    ,%S77T7 ,%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)

    &?ample Synta?)

    ST,&%MS 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?is

    whether the section reJuires .alues or not! Streams does not ha.e any .alues

    4ecause there are no parameters to configure!

    ?BNet:eui arameters@

    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( arameters@

    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 arameters@

    TC7+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 *es

    This 3ey is used to specify whetherD?5Pshould 4e used or not!

    ScopeID

  • 8/12/2019 Guide to Automating Windows Nt Setup

    46/133

    Galue)

    &?ample Synta?)

    Scope+D 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 TC7+7!

    I0 D?5P 4 No8 t6e 0olloin* =eys must be seci0ied:

    IPddress

    Galue)

    &?ample Synta?)

    +7%ddress 90!0!0!0

    Used to specify the +7 address for the computer!

    Note:*ou will need the updated TC7C#@!D from the Windows NT !"

    Ser.ice 7ac3 0 to use octets that ha.e a ;ero! To install the TC7C#@!D)

    ! ,ename the TC7C#@!DE to TC7C#@!6,@ on the distri4ution ser.er!

    0! Copy the TC7C#@!D from the Windows NT !" Ser.ice 7ac3 0 CD on

    to the distri4ution ser.er!

    Subnet

    Galue)

    &?ample Synta?)

    Su4net 0!0!0!"

    Specifies the su4net mas3 address!

    @#te#y

    Galue)

    &?ample Synta?)

    @ateway 90!0!0!/

    +dentifies the default gateway address for the computer!

    DNSSer"er

    Galue)

    &?ample Synta?)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    47/133

    DNSSer.er 90!0!0!

    Used to specify up to / DNS ser.ers!

    AINSPrim#ry

    Galue)

    &?ample Synta?)

    W+NS7rimary 90!/!!

    Used to specify the +7 address of the primary W+NS ser.er!

    AINSSecond#ry

    Galue)

    &?ample Synta?)

    W+NSSecondary 90!/!!:

    Used to specify the +7 address of the secondary W+NS ser.er!

    DNSN#me

    Galue)

    &?ample Synta?)

    DNSName e..!mPn!4ms!com

    This 3ey is used to specify the DNS domain name!

    ?BD=C arameters@

    This parameter is left empty 4ecause DC does not reJuire any e?tra

    parameters to install!

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

    ?B5AST arameters@

    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 arameters@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.

    ?BSerices Section@

    SN4

  • 8/12/2019 Guide to Automating Windows Nt Setup

    48/133

    Galue)

    7oints to

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

    5AS

    Galue)

    &?ample Synta?)

    ,%S ,as7arams

    7oints to

    When installing ,%S using the U+O a file named S&,+%!+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&,+%!+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 KK at the .ery least to ma3e the file

    greater than 4yte!

    NWW>STA

    Galue)

    &?ample Synta?)

    NWWBST% NW7arams

    7oints to

    N'T4+N

    Galue)

    &?ample Synta?)

    N&TM6N N&TM6N7arams

    7oints to

    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!

  • 8/12/2019 Guide to Automating Windows Nt Setup

    49/133

    STCI

    Galue)

    &?ample Synta?)

    STC7+7 STC7+77arams

    7oints to

    This will install simple TC7+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 TC7+7 does not ha.e any

    .alues 4ecause there are no parameters to configure!

    SA

    Galue)

    &?ample Synta?)

    S%7 S%77arams

    7oints to

    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!

    TC5INT

    Galue) T5PP%INT P#r#meters

    &?ample Synta?)

    TC77,+NT TC77,+NT7arams

    7oints to

    This will install TC7+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 muste?ist whether the section reJuires .alues or not! TC7+7 7rinting does not ha.e

    any .alues 4ecause there are no parameters to configure!

    D6C

    Galue)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    50/133

    &?ample Synta?)

    DAC7 DAC77arams

    7oints to

    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) DNSP#r#meters

    &?ample Synta?)

    DNS DNS7arams

    7oints to

    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)

    &?ample Synta?)

    W+NS W+NS7arams

    7oints to

    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 arameters@

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

    HDe$ault=ocation

    Galue)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    51/133

    &?ample Synta?)

    IDefaultocation NWSer.er

    E#ample o& ND!:

    IDefaultocation KY%2CLM%,B&T+N@!USK

    TheBDe0#ultLoc#tion3ey identifies the default logon ser.er for the

    NetWare client!

    HDe$aultScript+ptions

    Galues) 1 2 3 2 C

    &?ample Synta?)

    IDefaultScript6ptions

    This 3ey defines the default action to perform with scripts!

    1will cause scripts to 4e ignoredO 3causes NetWare /!? le.el scripts to 4e

    run onlyO and Cimplies that either NetWare /!? or NetWare !? le.el scripts will

    4e run!

    ?BSnmp arameters@

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

    AcceptCommunityName

    Galue)

    &?ample Synta?)

    %cceptECommuntityName NameOName0OName/

    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

    are separated 4y commas!

    SendAuthentication

    Galue)!es 2 No

    &?ample Synta?)SendE%uthentication *es

    This 3ey indicates whether an authentication trap should 4e sent when an

    unauthori;ed community or host reJuests information!

    Any6ost

  • 8/12/2019 Guide to Automating Windows Nt Setup

    52/133

    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!

    =imit6ost

    Galues)

    &?ample Synta?)

    imitEAost nameOname0Oname/

    % ma?imum of three can 4e specified separated 4y

    commas! This 3ey is .alid when ny/?ost 4 No!

    CommunityName

    Galue)

    &?ample Synta?)

    CommunityEName name

    +ndicates the for the computer!

    Traps

    Galues) 2

  • 8/12/2019 Guide to Automating Windows Nt Setup

    53/133

    Serice

    Galues) P6ysic#l8 lic#tions8 D#t#lin=8 Internet8 EndtoEnd

    &?ample Synta?)

    Ser.ice 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 O QCustomi;ing Windows

    NTR to learn a4out modifying the registry during setup!

    ?B5asarameters@

    ortSections

    Galues)

    &?ample Synta?)

    7ortSections 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 =port

    section names> definition 4elow!

    Dialoutrotocols

    Galue) T5PIP 2 IP' 2 NET-E(I 2 LL

    &?ample Synta?)

    Dialout7rotocols %

    LLimplies all installed protocols!

    The remaining parameters in thissection only apply to

    ,%S Ser.er installation!

    Dialinrotocols

    Galue) T5PIP 2 IP' 2 NET-E(I 2 LL

    &?ample Synta?)Dialin7rotocols %

    LLimplies all installed protocols!

    Net:'&IClientAccess

    Galue) Netor= 2 T6is5omuter

  • 8/12/2019 Guide to Automating Windows Nt Setup

    54/133

    &?ample Synta?)

    Net2&U+Client%ccess ThisComputer

    Default is Networ3!

    TcpIpClientAccess

    Galue) Netor= 2 T6is5omuter

    &?ample) Synta?)

    Tcp+pClient%ccess ThisComputer

    Default is Networ3!

    &seD6C

    Galue)!ES 2 NO

    &?ample Synta?)

    UseDAC7 No

    Default is *es!

    StaticAddress:egin

    Galue)

    &?ample Synta?)

    Static%ddress2egin '''!'''!'''!''' $where ' is the ip address

    range(

    This 3ey is reJuired if(seD?5P 4 NO&

    StaticAddress'nd

    Galue)

    &?ample Synta?)

    Static%ddress&nd '''!'''!'''!''' $where ' is the ip address range(

    This 3ey is reJuired if (seD?5P 4 NO!

    'cludeAddress

    Galue)

    &?ample Synta?)

    &?clude%ddress '''!'''!'''!''' -***!***!***!*** $where ' and

    * are +7 ranges to e?clude(

  • 8/12/2019 Guide to Automating Windows Nt Setup

    55/133

    This 3ey is used to e4clude a rangeof +7 addresses when a range of +7

    addresses is 4eing assigned manually! +t reJuires that St#ticddress-e*in

    and St#ticddressEnd4e specified already!

    ClientCan5euestIAddress

    Galue)!ES 2 NO

    &?ample Synta?)

    ClientCan,eJuest+7%ddress *es

    Default is No!

    IpClientAccess

    Galue) Netor= 2 T6is5omuter

    &?ample Synta?)

    +p?Client%ccess ThisComputer

    Default is Networ3!

    AutomaticNetwor!Num;ers

    Galue)!ES 2 NO

    &?ample Synta?)

    %utomaticNetwor3Num4ers No

    Default is!ES!

    Networ!Num;er0rom

    Galue)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    56/133

    Default is!ES!

    ClientsCan5euestIpNodeNum;er

    Galue)!ES 2 NO

    &?ample Synta?)

    ClientsCan,eJuest+p?NodeNum4er *es

    Default is NO!

    ?Bport section name@

    ortName

    Galue)5OM3 2 5OM 2 5OMC5OMF

    &?ample Synta?)

    7ortName C6M0

    This 3ey indicates the names of the ports to 4e configured in a particular port

    section!

    DeiceType

    Galue) Modem

    &?ample Synta?)

    De.iceType 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 Dial+n6ut

    The Port(s#*e3ey defines the dialing properties for the ports 4eing

    configured!

    ?BN'T4+N arameters@

    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.

  • 8/12/2019 Guide to Automating Windows Nt Setup

    57/133

    ?BSTCI arameters@

    This parameter is left empty 4ecause simple TC7+7 does not reJuire any e?tra

    parameters to install!

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

    ?BSA arameters@

    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.

    ?BTC5INT arameters@

    This parameter is left empty 4ecause TC7+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 arameters@

    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 arameters@

    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 arameters@

    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 serer section@

    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

    Specifies whether +nternet Ser.ices will 4e installed! Default is !

    InstallAD4IN

  • 8/12/2019 Guide to Automating Windows Nt Setup

    58/133

    Galue)1 2 3

    &?ample Synta?)

    +nstall%DM+N

    Specifies whether the +nternet Ser.ice Manager will 4e installed!

    Install0T

    Galue)1 2 3

    &?ample Synta?)

    +nstall#T7

    Specifies whether the #T7 Ser.ice will 4e installed!

    0T5oot

    Galue)

    &?ample Synta?)

    #T7,oot C)L#T7

    Specifies the .irtual root for the #T7 ser.ice!

    InstallWWW

    Galue)1 2 3

    &?ample Synta?)

    +nstallWWW

    Specifies whether the WWW Ser.ice will 4e installed!

    WWW5oot

    Galue)

    &?ample Synta?)

    WWW,oot c)LWWW

    Specifies the .irtual root for the WWW ser.ice!

    InstallG+6'5

    Galue) 1 2 3

    &?ample Synta?)

    +nstall@67A&,

  • 8/12/2019 Guide to Automating Windows Nt Setup

    59/133

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

    Gopher5oot

    Galue) *o6er root directory>

    &?ample Synta?)

    @opher,oot C)L@,oot

    Specifies the .irtual root for the @opher ser.ice!

    InstallDir

    Galue)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    60/133

    @uest%ccount7assword 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 0ilesSample

    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

    JemS1ipula 5 yes

    NoWait&fter9UI*ode 5

    [9uiUnattended]

    JemS1ipWelcome 5

    Jem@lan1&dmin-ass;ord 5

    TimeMone 5 489*TB?%:?? ,entral Time 8US F ,anada4

    [User'ata]

    !ullName 5 4Cohn 'oe4

    Jr2Name 5 4Wid2etsB&reBUs4

    ,omputerName 5 ,omputerO

    -roductId 5 4)#BDE%G$?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;?

  • 8/12/2019 Guide to Automating Windows Nt Setup

    61/133

    [&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

    NT*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,-I-

    N@! 5 Net@eui-arams

    '=, 5 '=,-arams

    [NW=in1-arams]

    [T,-I-]

    'A,- 5 no

    9ate;ay 5 %E($((#

    Su3net 5 )EE()EE()EE(?

    WINS-rimary 5 %E($(()#

    WINSSecondary 5 %E($(%D()$

    'NSName 5 msd(msn(eh6(com

    'NSServer 5 %E($(?())$< %E($(()D< %E($(($

  • 8/12/2019 Guide to Automating Windows Nt Setup

    62/133

    [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

    *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 tha

    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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    63/133

    [J*Q&ds]

    @anner 5 4',s Windo;s NT Setup4

    @ac12round 5 test(3mp

    [9uiUnattended]

    &dvServerType 5 =&N*&NNT

    TimeMone 5 489*TB?$:?? -acific Time 8US F ,anada0 TiHuana4

    [User'ata]

    !ullName 5 4User Name4

    Jr2Name 5 4*icrosoft4

    ,omputerName 5 J*Q,omputer

    -roductId 5 4)GEBoemB???EEBDD%4

    [=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=istInstallServices 5 SelectedServices=ist

    Install', 5 J*Q'omain

    ['etect-arms]

    'etect,ount 5

    =imitTo 5 =N7#IS&E?

    =N7#IS&E? 5 N7III-arams

    [N7III-arams]

    Transceiver 5 ?

    InterruptNum3er 5 GIo@ase&ddress 5 G%$

    [Selected-rotocols=ist]

    T, 5 T,-I--arms

    NW=N7I-X 5 I-X-arms

    N@! 5 Net@eui-arms

  • 8/12/2019 Guide to Automating Windows Nt Setup

    64/133

    [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 imitTo 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 notdetected, 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]

  • 8/12/2019 Guide to Automating Windows Nt Setup

    65/133

    'etect&dapters 5 'etect&daptersSection

    ['etect&daptersSection]

    'etect,ount 5 )

    =imitTo 5 ',TARWJR7STUR@J< l%

    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

    ',TARWJR7STUR@J 5 ',TARWJR7STUR@J-aramSection

    l% 5 l%-aramSection

    [',TARWJR7STUR@J-aramSection]

    InterruptNum3er 5 E

    IJ@ase&ddress 5

    *emory*apped@ase&ddress 5 $E%$

    @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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    66/133

    [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]

    ',TARWJR7STUR@J 5 ',TARWJR7STUR@J-aramSection

    [',TARWJR7STUR@J-aramSection]

    InterruptNum3er 5 E

    IJ@ase&ddress 5

    *emory*apped@ase&ddress 5 $E%$

    @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 ABMLS*ST&MLCurrentControlSetLSer.icesLO

    7roductName and Ser.iceName that specify the option name for the card

    and the instance of the card respecti.ely!

    To find out the .alue of 7roductName and Ser.iceName chec3 the

    following registry .alues)

    ABMLS6#TW%,&LMicrosoftLWindows NTLCurrentGersionLNetwor3CardsL

    7roductName) ,&@ESF)adapterEstring

    Ser.iceName) ,&@ESF)adapterEstring

    The string assigned to Ser.iceName is what is needed to locate theparametersO for instanceO of the networ3 adapter installed! These parameters

    can 4e located in the registry under

    ABMLS*ST&MLCurrentControlSetLSer.icesLSer.iceNameL7arameters

    %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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    67/133

    the parameters and non-numeric .alues can 4e directly translated to the

    unattend file!

    +eriew 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 8PST!Q9UIQUN&TTN'' 55 4+S4

    ifstr8I 8P&utoNetInterfaceType P5 44

    set @usInterfaceType 5 8P&utoNetInterfaceType

    else

    set @usInterfaceType 5

    endif

    ifstr8I 8P&utoNet@usNum3er P5 44

    set @usNum3er 5 8P&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'l28PST!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 4ysetup so the !+N# code can read it as needed!

    %ettin "arameters 1or Net/or0 Adapter ards

    +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++T*!+N# file that is shipped with Windows NT! To do thisO the following

  • 8/12/2019 Guide to Automating Windows Nt Setup

    68/133

    3ey will 4e specified)

    ifstr8I 8PST!Q9UIQUN&TTN'' 55 4+S4

    Shell 8Utililty(Inf< &dd'efaultNet,ard-arameters< 87ey-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 omponent .IN's

    Networ3 %dapter Cards)

    +nstall the particular networ3 card on Windows NT in attended mode!

    Chec3 the parameters it installs in the registry

    ABMLSystemLCurrentControlSetLSe.icesLadapterEname?L7arameters

    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 ST0G&I&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 : %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 toopen 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!

  • 8/12/2019 Guide to Automating Windows Nt Setup

    69/133

    +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,G+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 systemrootLsystem/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&TTN'' setups to 3ypass user

    0 prompts< called -J-S(

    0

    555555555555555555555555555555555555555555555555555555555555

    5

    0

    set from 5 adapteroptions

    ifstr8i 8PST!Q9UIQUN&TTN'' 55 4+S4

    ifstr8i 8P&utoNetInterfaceType P5 44

    set @usInterfaceType 5 8P&utoNetInterfaceType

    else set @usInterfaceType 5

    endif

    ifstr8i 8P&utoNet@usNum3er P5 44

    set @usNum3er 5 8P&utoNet@usNum3er

    else

    set @usNum3er 5 ?

    endif

    2oto s1ipoptions

    endif

    Notice the goto s3ipoptions line a4o.e! The goto line must 4e .erified for asu4routine 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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    70/133

    the .alues to the registry!

    Set NewGalueist \\+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 %ddGalueistO 5$Bey7arameters(O 5$NewGalueist(

    ,ewrites the registry from the answer file!

    ifstr$i( 5$IST#E@U+EUN%TT&ND&D( K*&SK

    Shell 5$Utility+nf(O %ddDefaultNetCard7arametersO5$Bey7arameters(

    endif

    Installation o$ Networ! Adapters Driers 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 2 U)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]

  • 8/12/2019 Guide to Automating Windows Nt Setup

    71/133

    :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 o> 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( I 5$ISA&EC6D&E6B(

    De4ug-6utput KShellCode error) cannot get an error string!K

    goto ShellCode&rror

    endif

    set &rror 5$5,"(

    Start of Changes

    Comment out the K@oto WarningK entry with a semicolon

    @oto Warning

    %dd the K@oto S3ip6ptionsK entry as follows!

    @oto S3ip6ptions

    &nd of changes

    s3ipoptions _

  • 8/12/2019 Guide to Automating Windows Nt Setup

    72/133

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

    Networ! Adapter +ption Name

    Drier 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 iteral String in the

    middle column is the string displayed in Control 7anelLNetwor3 and used to

    locate the appropriate 6ption Name!

    Y ST#E@U+EUN%TT&ND&D code presentO the +N# is Kunattend awareK!

    Source=\I386

    Options Name Literal String INF File

    E5N; 3*om Eterlin( III I!)=P*

  • 8/12/2019 Guide to Automating Windows Nt Setup

    73/133

    D*21170 DE* P*I -ast Eternet DE*cip 21170 oemnaddt.in&

    D*21172 DE* P*I -ast Eternet DE*cip 21172 oemnaddt.in&

    DE*!T)T > DE* Tro *annel Eternet )dapter oemnadde.in&

    D)T)-IRE!T Digi Data-ire A I!)1!=T )dapter oemnaddi.in&

    D)T)-IRE Digi Data-ire A I!)1 )dapter oemnaddi.in&

    D)T)-IRE7!T Digi Data-ire A I!)7!=T )dapter oemnaddi.in&

    P*I

    P13%0 > Proteon p13%X )dapter oemnadp3.in&

    P1%%0 > Proteon p1%%X )dapter oemnadp%.in&

    WD003E) !

  • 8/12/2019 Guide to Automating Windows Nt Setup

    74/133

    WD013WP) ! ngermannAass Eternet NIpc )dapter oemnad.in&

    P*E?TP > ngermannAass Eternet NIpc=E?TP )dapter oemnad.in&

    P! ngermannAass Eternet NIps )dapter oemnadm.in&

    Driers 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,G+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 iteral

    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 systemroot

    Lsystem/0L6&MN%DFF!+N#! 6&MN%DFF!+N# pro.ides the source path

    under D,G+2!N+C!

    Y ST#E@U+EUN%TT&ND&D code present

    Source=\I386\DRIVLIB.NI

    Options Name Literal String

    3*$0 3*om 3*$0 I!) 1"Ait Eternet )dapter

    E5IN;$24 3*om 3*$24 Eterlin(= 3*om Eter5in( III EI!) sA 3*om Eter5in( III P*I sA 3*om -ast Eter5in( EI!) 10=100)!EAT )dapter 83*$%49

    3*$%$ > 3*om -ast Eter5in( P*I 10=100)!EAT )dapter 83*$%$9

    3*%0$ > 3*om -ast Eter5in( X5 )dapter 83*%0$9-5N; 3*om -DDI5in( EI!) 5)N )dapter

    T5N;3EI!) 3*om To(en5in( III I!) )dapter in EI!) mode 83*"1%9

    )**NT > )ccton EN1""#

  • 8/12/2019 Guide to Automating Windows Nt Setup

    75/133

    IR

  • 8/12/2019 Guide to Automating Windows Nt Setup

    76/133

    XHE

  • 8/12/2019 Guide to Automating Windows Nt Setup

    77/133

    *E2XP! Xircom *redit*ard Eternet IIps

    *E

  • 8/12/2019 Guide to Automating Windows Nt Setup

    78/133

    KCompaJ System7ro Multiprocessor or "" Compati4leKOK,&T%+K

    KCorollary C-4us %rchitectureKOK,&T%+K

    KCorollary C-4us Micro Channel %rchitectureKOK,&T%+K

    K+2M 7S0 or other Micro Channel-4ased 7CKOK,&T%+K

    KM7S Uniprocessor 7CKOK,&T%+K

    KM7S Multiprocessor 7CKOK,&T%+K

    KM7S Multiprocessor Micro Channel 7CKOK,&T%+K

    KNC, System /""" Model //:"/"/"KOK,&T%+K

    K6li.etti S'"/""KOK,&T%+K

    KStandard 7CKOK,&T%+K

    KStandard 7C with C-Step i8:KOK,&T%+K

    KWyse Series

  • 8/12/2019 Guide to Automating Windows Nt Setup

    79/133

    K@ree3 $/9( atinK

    KAungarianK

    KAungarian "-3eyK

    K+celandicK

    K+rishK

    K+talianK

    K+talian $0(K

    Katin %mericanK

    Kat.ianK

    Kat.ian $]W&,T*(K

    KithuanianK

    KNorwegianK

    K7olish $7rogrammers(K

    K7olish $0(K

    K7ortugueseK

    K,omanianK

    K,ussianK

    K,ussian $Typewriter(K

    KSer4ian CyrillicK

    KSer4ian atinK

    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#mle:

    )Pointin*De"iceDri"ers+

    Microso0t Mouse Port Mouse Gincludes -#llPointH 4 %ETIL

    ,etail 6ptions)

  • 8/12/2019 Guide to Automating Windows Nt Setup

    80/133

    KMicrosoft Mouse 7ort Mouse $includes 2all7oint(K K,&T%+K

    Kogitech Mouse 7ort MouseK K,&T%+K

    KMicrosoft +n7ort 2us MouseK K,&T%+K

    KMicrosoft Serial MouseK K,&T%+K

    KMicrosoft 2all7oint Serial MouseK K,&T%+K

    Kogitech Serial MouseK K,&T%+K

    KMicrosoft $@reen 2uttons( or ogitech 2us MouseK K,&T%+K

    KNo Mouse or 6ther 7ointing De.iceKO K,&T%+K

    S5SI Dri"ers

    Ex#mle:

    )M#ssStor#*eDri"ers+

    Symbios Lo*ic 531 P5I S5SI ?ost d#ter 4 %ETIL

    ,etail 6ptions)

    K%daptec %A%-'%A%-0'%+C-:':" SCS+ %dapterK K,&T%+K

    K%daptec %A%-'%A%-:' SCS+ Aost %dapterK K,&T%+K

    K%daptec %A%-

  • 8/12/2019 Guide to Automating Windows Nt Setup

    81/133

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

    ,eybo#rd Dri"er

    Ex#mle:

    ),ey-o#rdDri"ers+

    'T8 T8 or En6#nced ,eybo#rd GC31J =eysH 4 %ETIL

    ,etail 6ptions)

    K'TO %TO or &nhanced Bey4oard $8/-" 3eys(K K,&T%+K

    .ull Ex#mle:

    =Unattended>

    6&M7reinstall *es

    ComputerType KStandard 7CKOK,&T%+K

    Bey2oardayout KUS-+nternationalK

    =7ointingDe.iceDri.ers>

    KMicrosoft Mouse 7ort Mouse $includes 2all7oint(K K,&T%+K

    =MassStorageDri.ers>

    KSym4ios ogic C8" 7C+ SCS+ Aost %dapterK K,&T%+K

    =Bey2oardDri.ers>

    K'TO %TO or &nhanced Bey4oard $8/-" 3eys(K K,&T%+K

    Third-arty Fideo Display Driers and Display Settings

    +ptions $or 4icroso$t-Supplied Fideo Driers %art o$ I,8LMAuto-

    Detected)

    The following entries are needed to automate the setup of detected .ideo

    displays during unattended setup!

    =Display>

    2its7er7el :

    ',esolution "0

    *,esolution

  • 8/12/2019 Guide to Automating Windows Nt Setup

    82/133

    BeyLDe.ice"O

    To find out the .alue of Display Bey chec3 the following registry .alues!

    ABMLAardwareLDe.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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    83/133

    The following information is an e?ample for the a4o.e =D+S7%*> 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 chipschips!Mfg!

    ! Search for =chips!Mfg>! Under the heading the following information is found)

    Chips Gideo %ccelerator$:/"" :/" : :8 :"( 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 KChips Gideo %ccelerator$:/"" :/" : :8 :"(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!2TL56&M5! The L

    5W+NENT5!2TL56&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 .alueO.alue0O!!!

    The name of the section is enclosed in sJuare 4rac3etsO = >! The pound sign$( or semicolon $( 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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    84/133

    The =Dis3s> section lists all dis3s in the dis3 set!

    =Dis3s>

    d descriptionOtagfileOdirectory

    d0 descriptionOtagfileOdirectory

    !

    !

    dO 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 +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 +Dspecified in the corresponding =component> section!

    5omonent Section

    % =component> section lists the options a.aila4le for a particular component!

    =component>

    +D description

  • 8/12/2019 Guide to Automating Windows Nt Setup

    85/133

    !

    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

    3ernel if this string ends in KEmpKO Setup copies the multiprocessor 3ernel if it

    ends in neitherO the results are unspecified and you might get either 3ernel!

    .iles&comonent&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 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:8"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:8"8: only(! +f

    specifiedO replaces the standard 8"/8:8"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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    86/133

    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 su43eyEnameO.alueEnameO.alueEtypeO.alue!!!

    !

    subkey6name

    Specifies the name of a 3ey under theSer"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 .alue 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 allowed it must 4e a string of -8 he? digits!

    #or e?ample)

    "#lue parametersONum4er6f2uttonsO,&@EDW6,DO"'0

    ,&@ESFO ,&@E&'7%NDESF

    6ne .alue is allowed it is interpreted as the ;ero-terminated string to

    4e stored!

  • 8/12/2019 Guide to Automating Windows Nt Setup

    87/133

    #or e?ample)

    "#lue parametersODescriptionO,&@ESFOKThis is a te?t stringK

    ,&@E2+N%,*

    6ne .alue is allowed 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/OecOdO"Oa()

    "#lue parametersODataO,&@E2+N%,*O""/eCD"a

    ,&@EMUT+ESF

    Multiple .alue arguments are allowed each is interpreted as a

    component of the multis;!

    #or e?ample)

    .alue parametersOStringsO,&@EMUT+ESFOStringOKString 0KOstring/

    Ex#mle o0 t6e )Oem-oot.iles+ Section 0or t6e Ex#mle T'TSET(P&OEM

    =6em2oot#iles>

    myhal!dll

    aha?!sys

    t?tsetup!oem

    Ex#mle T'TSET(P&OEM .ile

    =Dis3s>

    d/ KA% Support for Windows NTKOLoemhal!tagOL

    d KStorage Support for Windows NTKOLoemstor!tagOL

    =Defaults>

    A% eEisaEup

    scsi aha?

    =Computer>

    eEisaEup KCustome A%KOfiles!none

    =#iles!Computer!eEisaEup>

    A% d/Omyhal!dll

    =SCS+>

    aha? K%daptec %A%-?:" - 6&MK

    =#iles!scsi!aha?>

    dri.er dOaha?!sys!sysO aha?

  • 8/12/2019 Guide to Automating Windows Nt Setup

    88/133

    =Config!aha?>

    '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% is not defined correctly for the section =#iles!Computer!??????

    in the T'TS&TU7!6&M!

    Incorrect Structure

    =#iles!Computer!eEisaEup>

    eEisaEup d/Omyhal!dll

    5orrect Structure

    =#iles!Computer!eEisaEup>

    A% 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!2TL56&M5LA%LA%!D 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 descriptionOtagfileOdirectory

    d0 descriptionOtagfileOdirectory

  • 8/12/2019 Guide to Automating Windows Nt Setup

    89/133

    Incorrect Structure

    =Dis3s>d/ KA% Support for Windows NTKOLoemhal!tagOLA%

    d KStorage Support for Windows NTKOLoemstor!tagOLSCS+

    5orrect Structure

    =Dis3s>

    d/ KA% Support for Windows NTKOLoemhal!tagOL

    d 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 machine-specific 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 &niue 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 toautomate 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

    C6AT'5 ,

    C+N0IG&5ING

    4AC6IN'-S'CI0IC

  • 8/12/2019 Guide to Automating Windows Nt Setup

    90/133

    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 machine-

    specific 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!2TLW+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 toK,eplaceMeK you would open the file and search for that stringO then replace it

    with the uniJue computer name for that computer!

    'diting the &niueness 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

  • 8/12/2019 Guide to Automating Windows Nt Setup

    91/133

    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 !"

    or later()

    D+, C)LY!UD2 S

    Note: T!e ID t!at yo speci1ied on t!e Windo/s NT 4.7 setp command line /ill e t!esame 1or eac! o1 t!e drives yo !ave dplicated. &o mst ma0e c!anes to t!esections speci1ied in t!e .6D- 1ile 1or t!e ID yo speci1ied. &o /ill 1ind morein1ormation aot creatin .6D- 1iles later in t!is section.

    Con$igure 4achine-Speci$ic In$ormation &sing &niueness

    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 scrip

    fileO and is transparent to the user!

    Note: T!e Windo/s NT setp command line parameter is 6D' t t!e 1ile namee>tension 1or t!e 6niBeness Dataase 'ile is .6D-.

    %peci1yin a 6niBe ID

    To specify a UniJue+D during setupO you must run W+NNT!&'& or

    W+NNT/0!&'& command using the following parameter)

    UD#)+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!

  • 8/12/2019 Guide to Automating Windows Nt Setup

    92/133

    +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 du