; Microsoft Windows NT Workstation Version 3.51 and ; Windows NT Server Version 3.51 ; (c) 1994, 1995 Microsoft Corporation. All rights reserved. ; ; Unattended Setup ; Contents ; ; I. General Information About Unattended Setup ; II. Performing an Unattended New Installation ; III. Performing an Unattended Upgrade ; IV. Creating Answer Files ; V. Answer File Sections and Parameters ; ****************** Unattended Setup Sample Answer File **************** ; This file contains information about how to automate the installation ; or upgrade of Windows NT Workstation and Windows NT Server so the ; Setup program runs without requiring user input. ; Be sure to read the entire contents of this file to ensure that you ; are aware of the capabilities of the unattended Setup mode. Also be ; sure to test the unattended Setup on a few computers before ; implementing the functionality in a production environment. If the ; unattended Setup does not complete, pauses for user input, or configures ; hardware incorrectly, computer usage could be interrupted. ; If the unattended Setup completes without errors, monitoring other ; installations is unnecessary. ; I. General Information About Unattended Setup ; --------------------------------------------------------------------- ; During an unattended Setup, the Setup Boot floppy disks are eliminated ; and user input is automated. The command used to start an unattended ; Setup eliminates the Setup Boot floppy disks because it indicates ; that the Setup files should be copied from a distribution server to a ; temporary directory, $win_nt$.~ls, created on the computer. ; User input is automated through the use of an answer file that is ; created before the Setup program is started. The answer file, which is ; created using any text editor, must contain all the information that ; is normally required from users during a regular Setup. Otherwise, ; the Setup program will pause for user input, even though the Setup ; program is being run in unattended mode. The answer file is specified ; with the command used to start the unattended Setup. ; The command used to begin an unattended Setup can also indicate whether ; a new installation or an upgrade is to be performed. ; To use the unattended Setup mode functionality, you must do the ; following: ; *Place the Windows NT Workstation or Windows NT Server distribution ; files on a server. If you have both products, the distribution ; files of each can be placed on the same server, but the files must ; be in different directories. ; *Create one or several answer files. ; *Connect to the distribution server from the computer where ; Windows NT Workstation or Windows NT Server is to be installed ; or upgraded. ; *Start the Setup program. ; II. Performing an Unattended New Installation ; ------------------------------------------------------------------------ ; To run Setup in unattended mode for new installations, use either the ; winnt or winnt32 command with a/u parameter, and specify the location ; of an answer file. Use the winnt command to install a Windows NT ; Workstation 3.51 or Windows NT Server 3.51 on a computer running MS-DOS. ; Use the winnt32 command to upgrade Windows NT Workstation 3.51 or ; Windows NT Server 3.51 on a computer already running Windows NT ; Workstation or Windows NT Server. ; For more information about the winnt or winnt32 command, see Chapter 1, ; "Installing Windows NT Workstation" in the Windows NT Workstation ; Installation Guide or see Chapter 1, "Installing Windows NT Server" ; in the Windows NT Server Installation Guide. ; The unattended Setup command syntax is as follows: ; winnt/u:/s: ; winnt32/u:/s: ; where ; /u indicates unattended Setup mode. ; answer_filename includes the location of the answer file. ; /s indicates that the distribution files are located on a ; different drive. ; source is the location of the distribution files. ; For example, to connect to the \\CORPNET\VER351 server where ; distribution files are located, type the following command at the ; command prompt on the computer where you are about to install ; Windows NT Workstation or Windows NT Server: ; net use x: \\corpnet\ver351 ; The X: drive on the computer is connected to the server. ; Then, to begin an unattended new installation on a computer running ; MS-DOS, type the following at the command prompt: ; x:\winnt /u:c:\unattend.txt /s:x:\ ; x:\winnt32 /u:c:\unattend.txt /s:x:\ ; Either command indicates that an unattended installation should be ; performed. The command also indicates that an answer file is located ; on the computer's C: drive and that the source of the distribution ; files is the X: drive. ; When using the winnt/u or winnt32/u command, by default, new ; installations are installed on the same drive as the temporary directory ; that is created on your computer. However, the default location can be ; overridden if a/t parameter is specified with the unattended Setup mode ; command. ; To override the default location of a new installation on a computer ; running Windows NT Workstation or Windows NT Server, type the following ; command at the command prompt: ; x:\winnt /u:c:\unattend.txt /t:e /s:x:\ ; x:\winnt32 /u:c:\unattend.txt /t:e /s:x:\ ; where /t:e indicates that Windows NT Workstation or Windows NT ; Server files should be installed on the E: drive. ; III. Performing an Unattended Upgrade ; --------------------------------------------------------------------- ; The winnt32 /u command is also used to perform unattended upgrades of ; Windows NT 3.x. Specifying an answer file with the command is optional ; because the Setup program can use the existing information on the ; system. However, specifying an answer file enables you to have more ; control over the upgrade. To change or override the existing information ; on the system, you must specify an answer file with the unattended ; upgrade command. ; Before typing the command at the command prompt, connect to the server ; where the distribution files are located. ; To perform an unattended upgrade, type the following command at the ; command prompt: ; winnt32 /u ; To perform an unattended upgrade and change existing information on ; the system, type the following command at the command prompt: ; winnt32 /u ; A dialog box appears that prompts you for the location of the ; distribution files. ; If you are upgrading a computer running Windows NT 3.1 and TCP/IP, ; you must specify an answer filename with the unattended Setup command ; if you want to enable automatic Dynamic Host Configuration Protocol ; (DHCP) configuration. Windows NT 3.1 did not include DHCP so the ; system would not contain existing information about DHCP for the ; Setup program to use. For more information about the specific ; parameter that must be used in the answer file to enable ; automatic DHCP configuration, see the !UpgradeEnableDhcp ; parameter later in this file. ; ****** IMPORTANT ****** ; If your computer contains a SCSI drive, check the Hardware Compatibility ; List to ensure that it is supported in this release of Windows NT ; Workstation or Windows NT Server. In rare instances, Windows NT ; Workstation or Windows NT Server does not include a driver for certain ; SCSI drives. If the SCSI drive is the drive on which you want to install ; the operating system startup files and the drive is not supported, ; unattended Setup will not work because the target drive is not visible ; to the Setup program. ; *********************** ; IV. Creating Answer Files ; ---------------------------------------------------------------------- ; Performing a new installation or an upgrade also determines which ; command can be used to begin the unattended Setup program as well as ; the information that must be provided in the answer file. An answer ; file can be created using any text editor. ; In unattended Setup mode, the Setup program retrieves information from ; an answer file as needed. The answer file should contain the answers to ; all Setup questions. If the Setup program cannot locate an answer to a ; question, the Setup program pauses for user input. This is especially ; true in new installations because the Setup program has only the answer ; file or user input to supply the necessary information. ; The next section contains information about answers that should be in ; an answer file. ; V. Answer File Parameters ; --------------------------------------------------------------------- ; The sections that follow must be included in any answer file that ; is created even if the only information the section contains is the ; section name. Otherwise, the Setup program will pause for user input. ; For new installations, all the parameters must be specified in the ; answer file because the system does not have existing information ; for the Setup program to use. ; The parameters that must be specified in an answer file to perform ; upgrades are noted in the description of the parameter. ; The sections are arranged in the order that the Setup program runs. ; Therefore, the parameters required during the text mode portion of ; Setup precede the parameters required during the GUI mode of Setup. ; Each parameter includes the following information: ; Key name = Key value ; Description of key values. The description also includes whether ; the key must be specified in the answer file for upgrades. ; Default behavior ; This file can be used as an answer file. However, you should first ; copy and then edit this file. Comments, such as this one, are preceded ; with a semicolon (;), are optional and can be deleted. ; If you choose to use and edit this answer file, you must apply the ; following conventions: ; Precede each line of a comment with a semicolon (;). ; Do not delete section names even if the section does not contain ; any information. ; Do not change key names. ; Leave a space before and after equal signs. For example, ; keyname = value. ; Use two double quotes to indicate an empty value. For example, ; keyname = "" ; ******TEXT MODE****** [Unattended] Method = custom | express ; Description: The Method key determines whether the Setup program ; should run in custom or express Setup mode. For more ; information about performing a custom or express ; Setup, see the Windows NT Workstation Installation ; Guide or the Windows NT Server Installation Guide. ; Custom indicates that the Setup program run in Custom ; Setup mode. User input is required to select options ; during custom Setup. ; ; Express indicates that the Setup program run in Express ; Setup mode. User input is not required. ; If Method is specified incorrectly, the Setup program ; pauses until the user selects either custom or express ; Setup mode. ; The Method key must be specified for an unattended ; upgrade. ; Default: Express Setup mode, if the Method key name is empty. ; For example, Method = "" ConfirmHardware = yes | no ; Description: The ConfirmHardware key determines whether users must ; confirm hardware and mass storage devices detected by ; the Setup program. A mass storage device includes ; anything that is controlled by a SCSI mini port driver. ; For example, all CD-ROM drives, SCSI adapters, and hard ; drive controllers, except ATdisk, abiosdsk, and standard ; floppy disks are mass storage devices. ; Yes indicates that the user must confirm hardware and ; mass storage devices detected by the Setup program. ; The Method key name parameter must equal custom if the ; ConfirmHardware key name equals yes. ; No indicates that the Setup program should use the ; hardware detected by the Setup program. The Method ; key must equal express if the ConfirmHardware key ; equals no. ; The ConfirmHardware key must be specified to perform ; an unattended upgrade. ; Default: No NtUpgrade = manual | yes | no | single ; Description: The NtUpgrade key determines whether a previous ; installation of Windows NT Workstation or Windows NT ; Server is upgraded. ; Manual indicates that users must specify whether a ; previous installation of Windows NT Workstation or ; Windows NT Server is upgraded. Users can also specify ; where the latest version of Windows NT Workstation or ; Windows NT Server should be installed. ; Yes indicates "Upgrade if a previous installation of ; Windows NT Workstation or Windows NT Server is detected. ; If multiple installations are detected, upgrade the ; first one." ; On x86-based systems, the first Windows NT installation ; is the one that is listed first in the BOOT.INI file. ; On Alpha AXP-based, MIPS-based, and PowerPC-based ; systems, the first installation is the first one listed ; in the Startup Environment. ; No indicates "Do not upgrade if a previous installation ; of Windows NT Workstation or Windows NT Server is ; detected." ; Single indicates "Upgrade only if a single previous ; installation of Windows NT is detected. If multiple ; previous installations are detected, users must indicate ; which installation to upgrade. ; If a previous installation of Windows NT Workstation or ; Windows NT Server is detected and the NtUpgrade key ; value is specified incorrectly, the user is required to ; specify whether an upgrade should be performed. ; The NtUpgrade key must be specified to perform an ; unattended upgrade. ; Default: If the NtUpgrade key is empty, the Setup program ; defaults to the no behavior. Win31Upgrade = yes | no ; Description: The Win31Upgrade key determines whether previous ; installations of Windows for Workgroups or Windows 3.1 ; should be upgraded if detected on your system. ; Yes indicates "Upgrade if a previous installation of ; Windows for Workgroups or Windows 3.1 is detected." ; No indicates "Do not upgrade if a previous installation ; of Windows for Workgroups or Windows 3.1 is detected. ; ; If the Win31Upgrade value is specified incorrectly, user ; input is required to specify whether the system should ; be upgraded. ; The Win31Upgrade key must equal no to perform an ; unattended upgrade. ; Default: If the Win31Upgrade value is empty, the Setup program ; defaults to the no behavior. TargetPath = manual | * | ; Description: You can specify a path such as winnt35, or you can ; specify an asterisk (*). ; Manual indicates that the user must enter the path ; such as \winnt35. ; An asterisk (*) indicates that the Setup program ; generate a unique directory name on the target partition ; and that Windows NT Workstation or Windows NT Server ; be installed there. ; Default: If the TargetPath value is empty, the Setup program ; defaults to the asterisk (*) behavior. OverwriteOemFilesOnUpgrade = yes | no ; Description: The OverwriteOemFilesOnUpgrade key determines whether ; OEM files that have the same name as Windows NT files ; are overwritten during an unattended upgrade. If the key ; value is specified incorrectly, the OEM files are ; overwritten. ; Yes indicates that the Windows NT files overwrite ; installed OEM files during an upgrade. ; No indicates that the installed OEM files not be ; overwritten. ; Default: Yes ; ----- The following section applies to x86-based systems only. ----- ; [DetectedMassStorage] ; If this section is present, the Setup loader [setupldr] runs as though ; the Setup program detected the mass storage adapters that are specified ; in this section. ; If this section is empty, it indicates that the computer does ; not contain any mass storage devices. ; If this section is missing, the Setup program attempts to detect the ; mass storage device of the computer by loading all known mini port ; drivers. ; Values in this section must match values in the [SCSI] section ; of the TXTSETUP.SIF file which is on the Setup boot floppy disks. ; ----- The preceding section applies to x86-based systems only. ----- ; ******* GUI MODE ******* ; ; The following sections are used during the GUI mode portion of Setup. ; Each parameter is preceded with an exclamation mark (!). ; Any answer file must contain the following section names, even if the ; section is empty. [GuiUnattended] ; !UpgradeEnableDhcp = yes | no ; Description: The !UpgradeEnableDhcp key determines whether automatic ; DHCP configuration is enabled during an unattended upgrade. ; Specify this parameter only when upgrading Windows NT ; Advanced Server 3.1 with Microsoft TCP/IP installed. ; Yes indicates that automatic DHCP configuration be ; enabled during an upgrade. ; No indicates that automatic DHCP configuration not be ; enabled. After Windows NT Workstation or Windows NT ; Server is upgraded, automatic DHCP configuration can ; be enabled or disabled using the Network option in ; Control Panel. ; !DetachedProgram = \ ; Description: The !DetachedProgram key is used to indicate the path of ; the custom program that should run concurrently with the ; Setup program. For example, ; !DetachedProgram = c:\mt32\mtrun.exe ; \ indicates the path to the program to ; run with the Setup program. !DetachedProgram = "" ; !Arguments = \/ ; Description: The !Arguments key indicates that arguments or ; parameters accompany the custom program that should run ; concurrently with the Setup program. For example, ; !Arguments = c:\mt32\scriptl.pcd/H ; ; \/ indicates the path to the ; program to run with the Setup program as well as the ; program's arguments. !Arguments = "" ; !SetupNetwork = yes | no ; Description: The !SetupNetwork key determines whether the system is ; configured for network access. ; Yes indicates that the system be configured for network ; access. ; No indicates that the system should not be configured ; for network access. ; Default: Yes !SetupNetwork = YES ; !SetupApplications = yes | no ; Description: The !SetupApplications key determines whether Windows NT ; Workstation or Windows NT Server applications are ; installed on the system. ; Yes indicates that Windows NT Workstation or Windows NT ; Server applications be installed on the system. ; No indicates that applications not be installed on the ; system. ; Default: Yes !SetupApplications = YES ; !AdvServerType = LANMANNT | SERVERNT ; Description: Specify the !AdvServerType key only if you are ; installing Windows NT Server. ; LANMANNT indicates that the computer serve as a primary ; or backup domain controller. ; SERVERNT indicates that the computer serve as a ; standalone server. ; !TimeZone =