In the past, we used the Win98/Me operating system image file made by
Ghost
, which can be cloned unimpeded on other computers, which greatly saves the time for repeatedly installing the operating system on multiple computers. Internet cafes are especially useful. However, WinXP and Windows Server 2003 will recognize computer hardware devices. Once the hardware changes greatly (for example, replacing the motherboard or CPU), their image files cannot be cloned into other computers for normal use.
In fact, there is a way to make the WinXP Ghost
image files suitable for any computer, Now, demonstrate how to WinXP, for example, Windows Server 2003 is the same method of operation .
The principle: the operating system re-encapsulated, i.e., before the return to the initial installation state, and then made into Ghost
mirror.
●Recommended:
Reduce WinXP capacity
Firstly reduce the capacity of WinXP in the computer, the main purpose is to reduce the size of the system, the image file is compressed as much as possible between 650MB and 700MB In order to burn the disc.
and to significantly reduce the capacity of WinXP, there are three operations can be carried out.
The first is to close the hibernation function in the "Control Panel" → "Power Options", the system will automatically delete the hiberfil.sys file in the root directory of the C drive, saving the hard disk space is roughly equivalent to the virtual memory capacity . The second is to remove
with SFC command C: WindwosSystem32dll cache files in the folder, which would be: "start" → "Run", type "sfc.exe /purgecache" (without quotes, pay attention sfc There is a space between .exe and /, which saves about 300MB.
The third is to disable system restore on all drives.
According to the above steps, the total capacity of WinXP can be compressed below 1.2GB.
Note: After the above work is completed, it needs to be restarted to be effective.
●Note:
Uninstall and modify the hardware driver
First declare the best use of the PS2 interface mouse and keyboard to prevent the removal of the "Universal Serial Bus Controller" "The USB mouse and USB keyboard did not respond when there was a problem."
Open the "Device Manager", and then uninstall "Network Interface Card", "Universal Serial Bus Controller", "Sound", "Video and Game Controller", "Monitor", "Display" card". To do this, right-click on a certain hardware name and select “Uninstall”. Also, adjust “IDE ATA/ATAPI Controller” to “Standard Dual Channel PCI IDE Controller”. Note that if the system requires a reboot, please select "No", do not start!
display resolution must be adjusted to the standard 800 × 600 @ 60Hz prevent other machines caused by high resolution monitor is blank.
At this point, a "clean" WinXP system is ready, then we can re-package it.
Repacking WinXP
The system repackaging tool is provided on the WinXP installation CD. The path is "Disc directory: SUPPORTTOOLSDEPLOY.CAB". If you do not have the CD-ROM installed, you can download it from Microsoft's website. Toolkit. Then create a folder named C:Sysprep in the root directory of the C drive, and extract the WinXP repackaged toolkit DEPLOY.CAB to the directory.
reminder: WinXP precursor, SP1, SP2 packaging kit vary, one has to use.
1. Double-click the Setupmpr.exe file to enter the Windows Installation Manager and click the "Next" button.
2. Select "Create new file" and click the "Next" button.
3. In the Answer File Usage dialog box, select the second item "Sysprep Installation" and click the "Next" button.
4. Then select the currently running operating system in the "Select platform for this answer file installation" dialog box, click the "Next" button.
5. In the "Do you want to install it safely and automatically" dialog box, select "Yes, fully automatic installation" and click the "Next" button.
6. The following goes to the various settings page of Windows Installation Management. First on the "Customize Software" page, enter the user name and unit, click the "Next" button.
7. In the next "Display Settings" page, select "Use Windows Defaults" for color, screen area, and refresh rate, and click the "Next" button.
8. In the Time Zone page, select Beijing Time and click the Next button.
9. Enter the installation serial number of WinXP on the Provide Product Key page.
10. Then enter your computer name on the "Computer Name" page and click the "Next" button.
11. You can choose to enter or not enter a password on the System Administrator Password page. I recommend that you do not enter a password, it is more convenient to modify it after installing the system.
The default values are used in the next Network Components, Workgroup or Domain, and Phone Services pages. Click the "Next" button.
12. On the "Region" page, select "Chinese (China)" and click the "Next" button.
13. Select "Chinese (Simplified)" on the "Language" page that appears next, and then click the "Next" button.
14. Click "Next" on the "Install Printer" page to skip the installation.
15. The Run Once page appears, click Next.
16. The Additional Commands page appears and click Next.
17. Finally, click the “Finish” button on the “OEM Replicator String” page and click “OK” in the subsequent Answer File Storage Location dialog box (you must press the close button in the upper right corner of the window to close). Finally completed the establishment of the WinXP automatic installation answer file. The answer file is named sysprep.inf, which is stored in the C:sysprep folder and can be closed by pressing the close button on the window.
18. Next, officially carry out the packaging work of the WinXP operating system. Double-click the C:sysprepsysprep.exe file with your mouse and click the "OK" button in the warning window.
19. Go to the System Preparation Window dialog box before packaging. There are four choices in the Mark check box. The first is to detect non-Plug and Play devices (PnP); the second is to use MiniSetup; the third (NoSIDGen) and the fourth (already activated) are dedicated to XP and above operating systems. of. We should check the last two to four items, and then click the "Reseal" button at the top of the interface (as for "Factory" and "Audit", please don't click it, because just click on it, the computer Will press the settings under "Shutdown Mode" to take effect, then regret it is too late), followed by the computer will automatically shut down, re-encapsulation task is completed. Finally, use the floppy disk or CD to boot the system to the DOS
environment, and then use the Ghost
software to create a high compression ratio image file to ensure that WinXP can back up to a 700MB CD-R recording. On the CD.
this, a complete hardware-independent image file WinXP production is complete.