Ten minutes to build a Windows package for all computers

  
        For those computer geeks who often need to take a friend down or reinstall the operating system, the long waits each time you install a Windows system are tantamount to one torture. Although there are partition mirroring software such as Ghost
, but each computer configuration is different, the detection of hardware is different for Windows, plus the unique activation strategy of Windows XP/2003, which seems to make Ghost
has no use. In fact, these are not unsolved. As long as the automatic answer file is combined with Ghost
, we can also create a Windows package for all computers, so that it takes only ten minutes to complete the previous Hours of cumbersome installation.

First, uninstall the driver

Everyone knows that when installing Windows for the first time, the system will detect the current computer hardware and install the corresponding driver, so for a functioning Windows Before the packet is packaged, it is necessary to uninstall various drivers, and it is also necessary to use the final package to be used in other computers.

1. Uninstalling Hardware Drivers

Uninstalling Hardware Drivers is not free to uninstall in Device Manager. It must be done in a certain order. Usually we can refer to network card, USB device, sound card. , graphics card, display and other steps. When uninstalling the driver, first select a device from the device manager, then right-click and select the "Uninstall" command from the pop-up menu.

2. Changing ACPI Properties

ACPI is the meaning of advanced power management. Although most computers today support ACPI, the ACPI types of different motherboards are different, if you and others use it. If the ACPI of the computer is different, then there will be a failure that the computer cannot be soft-shutdown. To do this, be sure to change the ACPI property. To change the ACPI properties, first select "Computer → ACPI Uniprocessor PC" from the Explorer, then select the "Update Driver" command from the right mouse button menu, and select "From List or Specify" in the Driver Update Wizard that appears. Location installation → Do not search, I have to choose the program to be installed, then you can see the window shown in Figure 1 (Figure 1), change the ACPI type to "Standard PC".

Figure 1 Changing ACPI Properties

3. Changing Drive Properties

It is very important to change the properties of a disk drive during the process of creating a Windows package. If you ignore this step, then Other computers use this package to install Windows and then there is a failure to boot the computer properly and keep restarting. So we need to change the IDE controller to a standard dual-channel PCI IDE controller to make it suitable for today's different types of motherboards. First find the IDE controller currently in use from Explorer's "IDE ATA/ATAPI Controller", right click the mouse and select the "Change Driver" command from the pop-up menu, then in the Driver Update Wizard that appears Select "Install from a list or specific location → Do not search, I have to choose the program to install", and finally select the "Standard Dual Channel PCI IDE Controller" item from the window.

After completing the above three aspects of driver uninstallation, you can basically use the Windows auto answer file to create the package. However, it is important to note that no matter whether you uninstall the hardware driver or change the related properties, the system will prompt you to restart the computer after you finish. Remember not to restart the computer. Instead, the program will automatically shut down the computer during the repackaging process below. Otherwise, after rebooting the computer, the system will prompt you to discover new hardware and install a new driver.



Second, create an automatic answer file

Familiar with Windows 9x/2000 friends know that the system provides a hidden automatic Answer the file program, and Windows XP also has this file, which makes it easy to create an automatic answer file. First find the file named deploy.cab from the "\\support\\tools" directory of the Windows XP installation CD, extract it to the hard disk, run the setupmgr.exe file to activate the installation manager wizard, let's let Let's try it together.

Step 1 When you run the installation manager for the first time, the program will ask you to create a new file or modify the saved answer file. In general, select the "Create new file" item.

The second step and then the program provides three types of installation, the answer file for unattended installation is generally Unattend.txt; Sysprep installation can choose answer file, generally used for automatic installation mode; remote installation The service allows us to install Windows from a remote installation server, where we choose the "Sysprep" type to continue.

Step 3 Next, you need to select the Windows version corresponding to the answer file. At this time, you can choose according to your actual situation. For example, the author selects “Windows XP Professional”.

The fourth step in the window shown in Figure 2 can choose whether to install completely automatically (Figure 2), in general, it is recommended to select "Yes, fully automatic installation", otherwise use this package CD installation system Time is still more troublesome.

Figure 2 Select the installation method

Step 5 Click the "Next" button to enter the installation manager interface, a closer look at it is not difficult to find here is the normal need to manually install Windows XP process Various information is entered, so we can implement unattended full-automatic installation after setting each parameter separately. However, not all of this information has to be entered. Just set the name and unit, time zone, product key, computer name and other parameters, but the language must select "Chinese (Simplified)", otherwise it will be installed. Windows XP may affect your normal use!

Step 6 Finally, you can see the window shown in Figure 3 (Figure 3). Here is the path to save the answer file. After confirming, the automatic answer file creation operation can be completed.

Fig. 3 Making an answer file




3. Repacking

After completing the above operation Then you need to re-encapsulate the system. At this time, just double-click the sysprep.exe file in the unzipped folder from the Windows XP installation CD. First, you will see the prompt window shown in Figure 4 (Figure 4). Click "OK" to prepare the package.

Figure 4 Prompt window

There are several buttons in the window shown in Figure 5 (Figure 5), where the "Audit Start" and "Factory" buttons are of little use, but below Several options are more important, here is a brief introduction.

Figure 5 Ready to package

1. PnP: used to detect plug-and-play hardware, generally check this option, so the system will be plugged in the computer during installation. With hardware detection, some old-level hardware can be used normally.

2. MiniSetup: Minimize the installation. It is generally recommended to check this box.

3. NoSIDGen: Does not generate a security identifier, which avoids annoying Windows XP activation detection, so it needs to be checked.

4. Activated in advance: Checking this option means that the Windows XP system has been activated by default, and it is recommended to use it for convenience.

After the setup is complete, click on the “Repackage” button at the top, and the Windows system will automatically repackage the computer and automatically shut down the computer when it is finished. At this time, the partition where Windows XP was originally installed is a clean package system disk. Finally, the computer can be booted into the DOS
mode through a floppy disk or CD, and then cloned and mirrored by Ghost
. Save the disc so you can use it to quickly install Windows XP on other computers.




Fourth, note

Although the above method can be used to create a new Windows XP package However, there are some notable places in the whole process and in use, so please pay attention to it.

1. Before packaging, you can clean up the junk files in the system and perform defragmentation to optimize the Windows system. This ensures that the package files are the smallest and the best.

2. When creating the auto answer file, the computer name and installation serial number must be entered correctly, because the system has not found the mouse and keyboard driver when the Ghost
recovery is completed and restarted. Programs, they are all in an unusable state, so you can't enter any characters, you have to rely on the auto answer file to automatically enter.

3. When burning the image file obtained by Ghost
, you can make it as the system boot CD and add the Ghost
program autorun command to the batch. It simplifies the trouble of manually entering various instructions.

4. After installing the Windows XP system through the package, there are also various hardware drivers installed. However, if you are only using a quick recovery installation of your own computer, you can ignore the initial uninstall driver steps.

5. Interested friends can also calculate the size of the Ghost
image file, use the extra space to install some system patches, necessary software, etc., which makes it easier for us to use the computer directly. .

How is it that Windows XP can also be installed quickly in this way? If you want to experience the convenience of the quick recovery system, let's try it. I believe this package installation method will let The friends around you are looking at you!

Copyright © Windows knowledge All Rights Reserved