Unattended installation of Windows2K Raiders

  

Today's computer hardware prices have fallen, individuals can also have a high-performance and high-profile computer in the past, and playing Windows 2000 on a personal computer is no longer a dream. So, we no longer love Windows 9X, nor are we satisfied with Windows ME. Our goal is the Windows 2000 family. Maybe you have benefited from the convenience of Microsoft Batch 98 to automatically install Windows 98. Nowadays, the more powerful Windows 2000 unattended installation will be your right hand----you must know that Windows 2000 installation time is generally better than Windows 9x. More than half an hour. Let's take Windows 2000 Advance Server as an example to explain how to set up its unattended installation (also applicable to its family series Windows 2000 Professional, Windows 2000 Server or Windows 2000 Datacenter Server).

An unattended installation simplifies the process of installing Windows 2000 on multiple computers. To do this, you need to create and use an answer file, a custom script that automatically answers installation questions. Then run the installer from the command line with the appropriate unattended installation option. Of course, to make the installer run automatically, if you set the power-on password in CMOS, you should first cancel the setting. The commands used to start an unattended installation are the same as those for an interactive installation.

To start an unattended installation on a computer running MS-DOS or Windows 3.x, use:

winnt /u: /s: /t:

To start an unattended installation on a computer running Windows NT 4.0, Windows 95, or Windows 98, use:

winnt32 /unattend: /s: [/syspart:] [/tempdrive:]

winnt.exe and winnt32.exe in the i386 directory of the Windows 2000 installation CD. The answer file is the name of the answer file, which is generally unattend.txt, the install source is the source path of the installation file, and the target drive is the target disk. The syspart parameter copies all boot files to the target disk and activates them; the tempdrive parameter copies all the installation files to a temporary folder on the target disk. If there is no disk space left in the installation, the user is allowed to select another folder. Continue to install. If you want to install the system on the default C drive, you can omit the syspart and tempdrive parameters. To install Windows 2000 on a multi-partition hard disk, to ensure that the system is installed on the specified target disk, it is best to specify the target partition with the parameter /t or /tempdrive. To complete an unattended installation, you need at least the following options and key name values:

[Unattended] UnattendMode = FullUnattended TargetPath = WINNT [UserData] ComputerName = "COMPUTER_NAME" FullName = "Your User Name" [GuiUnattended AdminPassword = * TimeZone = "210" [LicenseFilePrintData] AutoMode = "PerServer" AutoUsers = "5" [Networking] [Identification] JoinWorkgroup = Workgroup

Unattended option:

Key Name: UnattendMode

Key Value: GuiAttended |  ProvideDefault |  DefaultHide |  ReadOnly |  FullUnattended

indicates the mode of system installation. The default is "DefaultHide" mode, which is "hidden page" mode. If all the answers are provided in the answer file, the installer will not let the user see the installation. The wizard page "GuiAttended" mode is "Using GUI" mode, only the text mode portion of the Windows Installer is automated. "ProvideDefault" mode ie "provide default" mode, indicating that the answer provided in the answer file is the default answer, the user will be prompted to review these answers in the installer, the user can modify it; "FullUnattended" mode ie " fully automatic " mode, the installer does not prompt the user to make any answer, the user needs to provide all the required answers in the answer file; "ReadOnly" mode is "read-only" mode, if the user can see the installation wizard page, it can not be modify.

Key Name: TargetPath

Key Value: * |

Indicates the name of the system installation directory, usually Winnt. If this directory already exists, the system will be installed in Winnt.x (x is 0, 1, ..., 999) directory, the directory name cannot contain the drive. The drive letter, if you want to indicate the destination drive letter, use the /tempdrive of winnt32.exe or the /t parameter of winnt.exe.

Key Name: ComputerType

Key Value: Retail| OEM

Mainly for OEMs, it can be omitted.

Key Name: DriverSigningPolicy

Key Value: Ignore| Warn| Block

Indicates what to do if a hardware conflict occurs, but it can be omitted.

Key Name: ExtendOemPartition

Key Value: 0| 1

Allows an extended partition to be created during installation.

Key Name: FileSystem

Key Value: ConvertNTFS| LeaveAlone

Select whether to convert the target disk to NTFS partition during installation. To reserve multiple system boot, the primary partition must be in FAT or FAT32 format. In this case, select "LeaveAlone". It is worth noting that when using multiple systems, Windows 2000 should be installed on a different partition than the original operating system, otherwise the installer will format the partition where the original system is located. If you plan to use ExtendOemPartition, you should set it to ConvertNTFS. It is recommended to select "ConvertNTFS" because the NTFS system is more stable, secure, and the only file system that supports Active Directory. Active Directory includes many important features, such as domain and domain-based security; the installer copies files to the installation folder. Start converting the partition. It is worth mentioning that if you want to delete the NTFS partition, you can use the Windows 2000 CD to boot the computer into the installer, delete the partition, or use fdisk, but fdisk can not delete the NTFS partition in the extended partition, the following debug method can be used:

Copyright © Windows knowledge All Rights Reserved