1. Prepare the required tools and software; R & amps _ v9.5.1118 intelligent system packaging tool
Expand. CAB (brought into the system installation CD: \SUPPORT\TOOLS directory)
Ghost _ v8.0 & version 8.2 (NTFS partition is only supported after version 8.0).
Windows2K/XP/2003 system installation CD (activation-free version recommended)
DllCacheManager_V 1.0 (Dragon Empire Special Edition) Dllcache Backup and Restore Tool
2. Install the operating system
Install the operating system normally, and fix the system security patch (it must be installed on drive C, not on other partitions, unless you are the ghost of the whole hard disk). The operating system can be installed in two file formats, FAT32 and NTFS. It is suggested to adopt the FAT32 file format (don't be lazy, it must be fully formatted to prevent bad areas on the disk), because Ghost has a higher compression rate on FTA32, which can reduce the volume of backup files after production. Another is that FTA32 format can be converted into NTFS after recovery, and it is more troublesome to convert NTFS into FTA32, so it is more flexible to adopt FAT32 file format. Of course, if you carefully look at the differences between MS FAT and NTFS, and between NTFS and Convert NTFS, you should know that "native" NTFS has advantages over converted NTFS in terms of performance and file fragmentation, so it is also recommended that people who pay attention to performance use NTFS file format to install the operating system ("native" refers to partitions formatted directly with NTFS file format, rather than through convert conversion).
For Windows XP, an important issue when making universal clones is system activation. Because Windows XP uses activation mechanism to prevent piracy, when the hardware changes, the system will require reactivation, so it is recommended to use the version of Windows XP that does not need activation, such as the version authorized by large enterprises.
3. Install application software
Install, register and set up the application software you need, such as Office, Winrar and so on.
Note: After repackaging the system with sysprep, the system will restore the relevant settings of the input method to the system default state when the installation is resumed, and the newly installed input method before packaging will not be displayed in the language bar list, so it needs to be added again manually. For this reason, WindowsXP system can make the following settings before the system is packaged: open the control panel, double-click the regional and language options, select Advanced, select "Apply all settings to current user account and default user profile" under the "Default user account settings" box, and then click "OK", so that the input method related settings of the language bar are added to the default profile of the system. After repackaging the system, the newly installed input method can be automatically added to the input method list in the language bar when reinstalling.
4. Install S&; R & amps _ v9.5.1118 intelligent system packaging tool
Double-click s&; R & amps _ v9.5.118 intelligent system packaging tool will automatically create a sysprep folder in the root directory of the current system partition as long as it "next" all the way. Then select and copy the deployment. Copy the. CAB file in the system installation CD \SUPPORT\TOOLS directory to the sysprep folder (the directory and files in the directory will be automatically deleted when the system is packaged and installed for the first time).
5. Install DllCacheManager_V 1.0 (Dragon Empire Special Edition) Dllcache backup and restore tool (optional).
Unzip the DllCacheManager.rar file, and then copy the DllCacheManager.exe and ZProgBar.ocx files to the %systemroot% directory (C:/windows directory for XP system and C:/winnt directory for 2K system).
Cooperate with S&; R & When using S, autohal.exe will automatically call Dllcache Manager for backup recovery, and delete itself when installing the recovery packaging system after completing the packaging and running of Dllcache directory files backed up by DllCacheManager.exe. If you don't use S&; R & amps, you need to run DllCacheManager for manual recovery and then delete yourself; Or add DLlcachemanager/restore/autodelete/timeout (such as the command that runs for the first time after entering the system in Sysprep.inf file) in the relevant batch file. You can also extract DllCacheManager.rar files to any location in the current system partition. After running DllCacheManager.exe, you can choose "Automatically delete when restoring" or "Back up and delete yourself when restoring" for backup, and you can automatically restore the backup and delete yourself the next time the system is started.
Second, the system to lose weight (optional)
In order to reduce the time required for Ghost to restore mirror backup files, or install as much software as possible on a CD, it is necessary to make Ghost backup files small enough, so we need to carry out a series of weight loss work on the system. Of course, if you don't mind the size of Ghost backup files, there is no need to lose weight on the system.
1, turn off system restore.
Open the control panel and double-click the system. Select System Restore in the system property panel, check Turn off System Restore on all drives, and then click OK.
The system restore function of WindowsXP takes up a lot of disk space and must be turned off to reduce the system size. After turning off System Restore, the contents of the system volume information directory in the root directory of the system partition will be emptied immediately, so you can also turn on this function after turning off System Restore.
2. Turn off system hibernation
Open the control panel, double-click Power Options, select Hibernation, uncheck the check box before Enable Hibernation, and then click OK. At this time, the page file hiberfil.sys in the root directory of disk C of the system partition will be automatically deleted.
The hibernation function of WindowsXP, like system restore, takes up a lot of disk space, and the hibernation function takes up the size of system partition and the space of physical memory.
3. Transfer the virtual memory page file
Open the control panel, double-click "System", select "Advanced" in the system property panel, then click "Settings" in the performance box, select "Advanced" in the virtual memory box, select the current system partition C, then select "Custom Size", set the initial size and maximum value to "0", and then select the partition where the page file needs to be stored (such as D: etc.
The virtual memory page file Pagefile.sys is generally located in the root directory of the system partition, and the default setting size is 65438+ 0.5 times of physical memory. It is a stubborn hidden file that is difficult to delete, so it is best to transfer it to other partitions outside the system partition to reduce the volume of the system partition.
If you clone the system with Ghost version above 8.0, you can actually omit this item, because Ghost version above 8.0 can automatically delete the virtual memory page file pagefile.sys when making mirror files.
4, clean up the disk, delete the system and IE temporary files.
Run Disk Cleaner to delete temporary system files.
Start-Programs-Accessories-System Tools-Disk Cleanup-Select Drive-OK-Disk Cleanup-Select Delete File-OK.
Delete IE temporary files and history
Open IE- Tools-Internet Options-General-Delete Cookies(I)- OK-Delete Files (f)- OK-Delete History (h)- OK-OK.
Delete recently used document records
Start-Settings-Taskbar and [Start] Menu (t)-[ Start] Menu-[Start] Menu (s)- Customize (c)- Advanced-Clear List (c)- OK.
5. Use DllCacheManager to back up DllCache directory files (dll files).
This step must be performed after the system is packaged.
Using DllCacheManager_V 1.0 (Dragon Empire Special Edition) to back up DllCache directory files can reduce disk space by about 300M.
To slim down, delete the following directories or files (delete directories without *): Optional.
C:\windows\$* (all directories start with $ sign, and patches are installed in reverse, about 70M).
C:\windows\*。 Log (not big, but I watched too much and was unhappy. )
C:\ windows \ PC Health Help Support Center, 30M
(Before deleting, please copy helpctr\binaries\msconfig.exe to the system32 directory. )
C:\windows\ime\chtime traditional input (unnecessary, many input methods support traditional input) 12M.
C:\windows\ime\imejp Japanese input 12M.
C:\windows\ime\imejp98 Japanese input 12M.
C:\windows\ime\imjp8_ 1 Japanese input 12M.
C:\windows\ime\imkj6_ 1 Korean input 12M.
C: \ windows \ system32 \ ime \ cintlgnt Cang Xie code 3M.
C: \ Windows \ System32 \ IME \ Tintlgnt Pinyin Input 3M.
C:\windows\help\* Help file, 30M
C:\windows\temp\* Usually not.
c:\windows\prefetch\*
C: \ Windows \ installer \ *。 Some rubbish left by MSI after installing MSI program (long name directory cannot be deleted! )
C: \ Windows \ Downloaded Installations \ * MSI program left some garbage after installation.
C:\windows\resources\themes\* (It is recommended to keep Classic as the classic theme and Luna. The theme is XP theme 8M, and the ones you don't like are deleted).
C: \ Windows \ Srkhast Search Assistant (a puppy), 8M.
C:\ windows \ m Agent Microsoft Agent 3M
C: \ Windows \ Software Distribution \ Download \ * (temporary storage point for downloading patches) is about 60M.
C:\windows\system32\oobe activation program (we all use activation-free XP, which is unnecessary) 8M.
C:\windows\web\wallpaper\* wallpaper, just leave a nice bliss.bmp, or delete it all. 2M
C: \ program files \ windows nt \ pinball, deleted. Remember to delete the connection 5M from the start menu.
C:\program files\movie maker all deleted, 10M, garbage. Remember to delete the connection from the start menu.
C:\ program file \ messenger
C:\program files\msn gaming zone Microsoft games, rubbish.
C: \ program files \ InstallShield installation information \ * garbage left by the installation program.
C: \ program files \ windows update \ * garbage left by XP upgrade.
Third, delete and change the system hardware driver (key! Must be done) 1, uninstall the hardware driver.
(1) Uninstall the network adapter. (2) Uninstall the universal serial bus controller. (3) Uninstall the audio and video game controllers. (4) Unload the monitor. (5) Uninstall the graphics card (the purpose of uninstalling the graphics card is to prevent the blue screen from appearing when the ghost appears on another machine). If you are prompted to restart when uninstalling the hardware driver, select No to not start.
Note: first uninstall and change the driver inside: pay attention to the order! ! First uninstall the network card, universal serial bus controller, audio and video game controller, monitor and graphics card (it is normal that the graphics card still exists after uninstallation, not your operation problem). When uninstalling, right-click and click Uninstall. The system prompts to restart, press No to not start! ! (The purpose of uninstalling the graphics card is to prevent the blue screen phenomenon that may occur when installing GHOST on other computers. ) Under normal circumstances, there is no hardware that can be uninstalled and deleted.
2. (Key) Change the advanced configuration power interface (ACPI) of computer power management mode to a standard PC.
Open the device manager, right-click the Advanced Configuration Power Interface (ACPI) under the computer, select Change Driver, select Install from List or Designated Location (Advanced) in the pop-up hardware update wizard dialog box, click Next, then select Don't search, I will choose driver installation myself, and then click Next. Select Standard PC, and then click Next. The hardware manager will automatically install the driver of the standard PC, and then the computer will prompt you to restart. Select "No" not to start, and confirm the end.
Description of change: If the new machine and the mother machine are not the same model of ACPI, your newly cloned machine will not be able to realize soft shutdown or system crash, and must be changed to a compatible standard PC mode. Generally, older computers only have standard pc options, but now most computers are advanced configuration power interface (acpi), and new computers after 2003 are ACPI single-processor PCs.
3. (Press the key) Change the IDE ATA/ATAPI controller to "standard dual-channel PCI IDE controller".
Open device manager, right-click Intel (R) 8280 1babus main IDE controller under IDE ATA/ATAPI controller (note: different motherboards display differently), select Change Driver, select Install from list or specified location (advanced) in the pop-up Hardware Update Wizard dialog box, and click. Select "Don't search, I will choose to install the driver myself", click Next, select "Standard Dual-channel PCI IDE Controller", and then click Next, the hardware manager will automatically install the driver of the standard dual-channel PCI IDE controller, and then the computer will prompt to restart, and select No to not start, and complete the confirmation.
Description of change: This step is the main key step. If you don't do it, the system won't start when Ghost goes to another machine. Therefore, in order to adapt to all kinds of motherboards, IDE controller must be changed to "standard dual-channel PCI IDE controller".
Note: s&; R & AMPS _ V9.5.118 intelligent system packaging tool has built-in "changing computer power management mode" and "changing IDE ATA/ATAPI controller" (S&: S _ v9.5.1118 version has this function), so it works with S &;; R & B does not need to do these two steps when packaging S, but you must enter the device manager after the system is packaged to see whether the change is successful.