window| Introduction | Auto Install
It usually takes more than 1 hours to install Windows XP in a regular way. Fortunately, Microsoft has designed the automatic installation function from Windows 2000, which greatly saves our time. In the installation of Windows XP, the automatic installation function of the * method made a number of improvements, the initial installation of manual input command of the process for floppy disk boot, automatic batch processing file execution, realize the real automatic installation, installation time also reduced a lot.
The following describes the two installation methods (Windows XP from the hard disk or from the CD), how the boot disk is made, and how to generate the fully automated installation answer file Unattend.txt.
I. Establishment of automatic batch processing documents
1, from the hard disk installation
(1) Format a floppy disk using the format a:/s command in pure DOS.
(2) Create the Config.sys file on the floppy disk and edit the command line:
Device=c:\windows\himem.sys
Hint: The system Information file used to load Windows Himem.sys so that the DOS system can run Smartdrv.exe.
(3) Create the Autoexec.bat file on the floppy disk and edit the command line:
C:\windows\smartdrv.exe
X:\i386\winnt/u:i386\unattend. Txt/sx:\i386/t:z:
Tip: X disk represents the logical disk where the Windows XP installation folder I386 is located, and Z represents the logical disk where Windows XP is installed, Unattend.txt is a fully automated installation answer file made with Windows Setup Manager beforehand.
(4) in the CMOS to set the computer's startup order to be boot by floppy disk, hard disk, CD-ROM.
(5) With a good floppy disk boot system, when the floppy drive lights out after the floppy disk, normally the computer will automatically complete the installation of Windows XP.
2, from the CD installation
(1) Format a floppy disk using the format a:/s command in pure DOS.
(2) The automatic installation of the answer file Unattend.txt into the floppy disk (put this file on the hard disk can also, as long as the path is set, the installer will also find it).
(3) Create the Config.sys file on the floppy disk and edit the command line:
Device=c:\windows\command\ebd\oakcdrom.sys/d:mscdxxx
Device=c:\windows\himem.sys
(4) Create a file Autoexec.bat on a floppy disk and edit the command line:
C:\windows\command\mscdex.exe/d:mscdxxx
C:\windows\smartdrv.exe
X:\i386\winnt/u:a:\unattend.txt/s:x:\i386/t:z:
Hint: the command line in the Config.sys file
Command line c:\windows\command\mscdex.exe/d in Device=c:\windows\command\ebd\oakcdrom.sys/d:mscdxxx and Autoexec.bat files: Mscdxxx are all meant to load the optical drive under pure DOS. It is worth mentioning that if the file Oakcdrom.sys can only be copied in the boot floppy, then Config.sys in the command line should be changed to device=oakcdrom.sys/d:mscdxxx, note:
XXX in the mscdxxx in Config.sys and Autoexec.bat can be any character, but they must be the same.
(5) The floppy disk and CD-ROM into the machine, in the CMOS in the computer's startup sequence set to be guided by CD-ROM, floppy disk.
(6) With a floppy disk boot, the floppy drive lantern has a second glow, this is the system in search and read the answer file Unattend.txt floppy disk, the floppy drive lights out after the floppy disk out, the work will be handed over to the computer since the processing.
Second, Winnt.exe parameter detailed
Both of the above methods involve Windows XP installation file Winnt.exe, so the author introduces some Winnt.exe commonly used parameters.
(1)/r:< specified directory name >
This parameter can be installed at installation with the contents of the user-specified directory (to be included in the I386 directory). As with some older hardware devices, Windows XP's own driver may not be supported, so we install the device driver directory into the WINNT directory.
(2)/rx:< specified directory name >
This parameter is the same as the above parameter function, except that the user-specified directory is automatically deleted after installation.
(3)/s:< path name >
By default, Setup invokes many of the installation source files located in the current directory (that is, the CD I386 directory) at installation time. We can first copy the I386 all to the hard disk, then use this parameter (such as winnt/s:c:\i386) to locate, to speed up the installation speed.
(4)/t:< partition name >
By default, Setup uses C disk as the storage space for temporary files at installation and installs Windows XP on C disk. We can use this parameter to change the storage space for temporary files during installation, such as Winnt/t:d:.
(5)/u:< answer file name >
This parameter can be combined with an answer file to implement unattended automatic installation.
Third, the production of the answer document
The automatic installation answer file Unattend.txt is made by the automatic Setup Manager. In the Tools subdirectory of the SUPPORT directory of the installation disk, locate a cabinet file named Deploy, and unzip the file to see the Setupmgr.exe program. Double-click the program, run unattended Setup Manager, follow the step-by-step prompts to select the appropriate options or enter the appropriate data to generate a fully automated installation answer file. Because the production process is relatively simple, here is no longer to repeat.
With Notepad to open the made answer file, we can see the content just completed in a certain writing format recorded in this file. Appropriate modifications can be made at this time, for example, we can modify "Reparttion=yes" (excluding quotes, or "=no") under [Unattended] to set up a new NTFS partition when all the existing partitions are removed at installation. Under [Unattended], modify the "Filesystem=convertntfs" (excluding quotes, or "=leavealone") to set whether the installation partition is formatted as an NTFS file system or remains unchanged.
It should be explained that if you are familiar with the meaning of each option in an automated setup answer file, you can also modify the Unattend.txt file provided in the I386 directory of the installation disk to make the appropriate answer file.