The information in this article applies to:
SUMMARY
There are several ways to install service packs during an unattended
installation/deployment of Windows NT 4.0. Starting with Service Pack 1,
the specification for quiet/unattended installation was added to
Update.exe.
Q163303 Sysdiff Cannot Be Used to Apply Service PackTo install Service Pack 3 via an unattended installation, the files must be extracted into a directory from the self-extracting file downloaded off the web. To extract the files without applying, type the following command: NT4SP3_I.EXE /XYou will then be prompted for the directory that you want the files extracted to. Update.exe supplied with Service Pack 1 supports the following command line parameters: -u for unattended installationUpdate.exe supplied with Service Pack 2 supports the following command line parameters: -u for unattended installationUpdate.exe supplied with Service Pack 3 supports the following command line parameters: -f for force application closeThe version of the service pack that is being used may determine the installation method desired. MORE INFORMATIONThe installation of Windows NT service packs during unattended installation/deployment can be accomplished with the methods described later in this article. There is not a right or wrong way to install the service pack. The methods presented are to tailor the installation to meet the needs of your environment. There are basically three installation options available. Installation Option 1 - ManualManual installation is the normal installation method used to install the service back after Windows NT is installed. All command line switches are valid with manual installation. User interaction is required for this method.Installation Option 2 - Using RUNONCE incorporated with unattended installation when the service pack is either local or on a network shareWindows NT 4.0 supports the use of the RUNONCE command, which is executed on first logon to the system only. In many cases, the RUNONCE option is used for various other customizing options used for deploying Windows NT 4.0.Option 2 consists of two steps. The first step is to enable Administrator Automatic Logon. The second step is to configure the RUNONCE registry value for the command that is to be executed at logon. For detailed instructions on using the RUNONCE option consult the Microsoft Windows NT 4.0 "Deployment Guide," Chapter 5, and refer to the section on Executing a Batch File on First Logon to Customize Windows NT. The Deployment Guide may be viewed from the following Web site: http://www.microsoft.com/ntworkstation Installation Option 3 - Using Cmdlines.txt when the service pack is either local or on a network share(This option is only supported with Service Pack 2 and Service Pack 3.)Windows NT 4.0 supports the installation of the service pack through the CMDLINES.TXT file by either copying the service pack to the $OEM$ directory or by calling a batch job to connect to the share. Note that with CMDLINES.TXT, the -Z option will need to be specified in order to prevent the service pack from trying to restart the system. Using the $OEM$ directory as the source for the service pack:
".\UPDATE.EXE -U -Z" Using a Network share requires more configuration, but will install the service pack during the GUI portion of setup and will not add any additional overhead to the Text Mode phase of setup. For simplification, the Primary Domain Controller (PDC) has the GUEST account enabled with no password assigned to the account.
NET USE Z: \\Server\SP2 /PERSISTENT:NO /USER:<domain name>\guest <NOTE: A valid domain name and account are required because Windows NT setup runs in the context of the user SYSTEM which is only understood by the local system. Make sure to use the /PERSISTENT:NO option so that the share is not reconnected on first logon. COPY CON PASSWORD.TXTAfter the command is executed, press ENTER once, and then use CTRL+Z to save the file. The file contains a carriage return, which is all that is needed. If you have a password assigned to the account being used, you would type the password followed by ENTER then CTRL+Z. ".\SP.CMD"Below is an example of a functioning CMDLINES.TXT using the SP.CMD. [Commands] -f for Force other applications to close at shutdownFor additional information on the Windows NT 4.0 Power Toys, consult the Windows NT 4.0 Supplement I Server online documentation. For additional information on Windows NT 4.0 deployment/unattended installation, consult the Microsoft Knowledge Base at http://www.microsoft.com/kb and download the Windows NT 4.0 Deployment Guide from http://www.microsoft.com/ntworkstation. NOTE: The Deployment Guide is valid for both Windows NT Workstation and Windows NT Server. Additional query words: unattended SBK OPK Install
Keywords : kbsetup kbOPK ntsetup ntreskit NTSrvWkst kbSBK |
Last Reviewed: August 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |