I sent it to you in196169 15@sohu.com. Go and have a look:
Universal Ghost Making Tutorial 2006- 10-27
17:20 this article is the most basic course for making a general Ghost system. The image file of the universal Ghost system can be restored to most computers, which can bring great convenience to friends who often install computers.
I. Preparatory work
1. Prepare the required tools and software.
※S & amp; R & amps _ v9.5.1118 intelligent system packaging tool
Expand. ※。 CAB (with system installation CD: \SUPPORT\TOOLS).
※Ghost _ v 8.0 & amp; Version 8.2 (NTFS partition is only supported after version 8.0)
※ Windows2K/XP/2003 system installation CD (activation-free version recommended)
※Dllcache Manager _ v 1.0 (Dragon Empire Special Edition) DLlcache backup and recovery tool.
= = = = = = = The above tools and software are downloaded in the attachment on the 2nd floor = = = = = = = =
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, I have carefully read MS FAT and NTFS, NTFS and Convert.
To know that "native" NTFS has more advantages in performance and file fragmentation than the converted NTFS, it is also recommended that people who pay attention to performance adopt NTFS file format to install the operating system ("
Native "refers to partitions formatted directly in NTFS file format, rather than through Convert conversion).
For Windows XP, an important issue when making universal clones is system activation, because Windows.
In order to prevent piracy, XP adopts activation mechanism. When the hardware changes, the system will need to be reactivated. Therefore, it is recommended to use a version of Windows XP that does not require activation, such as the version authorized by a large enterprise.
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. 1 1 18
Intelligent system packaging tool, just "Next" all the way, it will automatically create a sysprep folder in the root directory of the current system partition. 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 to related batch files (such as the command that runs for the first time after entering the system in Sysprep.inf file).
/restore/ auto delete
/timeout item. 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)
Do not change with the dead (s&; R & AMPSV 9.5.1118) Building Windows2000/XP/2003 System General Ghost Raiders _ Space Station Baidu Home | Baidu Space | Login | Registration
Collect information related to the CD production of the space station-share home pages, blogs and photo albums with enthusiasts | Personal files to view articles.
Do not change with the dead (s&; R & AMPSV 9.5.118) Ghost Raiders 2006-10-1914: 01.
Through my recent experience in S&; R & AMPSV 9.5.118 and DllCacheManager_V 1.0 (Dragon Empire Special Edition) are deeply used, and some experiences in the production process are rearranged, and this course is arranged. Due to my limited level, there will inevitably be some mistakes and shortcomings. Please correct your criticism.
-This article is the most basic course to make a universal Ghost system. The image file of the universal Ghost system can be restored to most computers, which can bring great convenience to friends who often install computers.
I. Preparatory work
1. Prepare the required tools and software.
※S & amp; R & amps _ v9.5.1118 intelligent system packaging tool
Expand. ※。 CAB (with system installation CD: \SUPPORT\TOOLS).
※Ghost _ v 8.0 & amp; 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? Hey? Use the 〥llcache 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, I have carefully read MS FAT and NTFS, NTFS and Convert.
To know that "native" NTFS has more advantages in performance and file fragmentation than the converted NTFS, it is also recommended that people who pay attention to performance adopt NTFS file format to install the operating system ("
Native "refers to partitions formatted directly in NTFS file format, rather than through Convert conversion).
For Windows XP, an important issue when making universal clones is system activation, because Windows.
In order to prevent piracy, XP adopts activation mechanism. When the hardware changes, the system will need to be reactivated. Therefore, it is recommended to use a version of Windows XP that does not require activation, such as the version authorized by a large enterprise.
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. 1 1 18
Intelligent system packaging tool, just "Next" all the way, it will automatically create a sysprep folder in the root directory of the current system partition. 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 to related batch files (such as the command that runs for the first time after entering the system in Sysprep.inf file).
/restore/ auto delete
/timeout item. 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 system restore is turned off, the system volume is in the root directory of the system partition.
The contents of the information directory will be emptied immediately, so you can also turn on this function after shutting down the system for recovery.
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 the classical theme and Luna. Theme as XP theme.
8M, delete what you don't like)
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 do)
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 (
Uninstalling the graphics card is to prevent the Ghost from turning to another computer with a blue screen). 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 standard.
personal computer
Open Device Manager and right-click Advanced Configuration Power under Computer.
Interface (ACPI), select "change driver", select "install from a list or a specified location (advanced)" in the pop-up hardware update wizard dialog box, click next, then select "don't search, I will choose to drive myself to install", and then click next to 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 to restart, so choose No to not start and finish the confirmation.
Description of change: If the new machine and the mother machine are not the same model of ACPI, your newly cloned machine can't realize soft shutdown of the computer or system crash, and it must be replaced with a compatible standard.
PC mode. Generally, older computers only have standard PC options, but now most computers are equipped with advanced power supply.
Interface (acpi), the new computer after 2003 is an ACPI single processor pc.
3. (Press the key) Change the IDE ATA/ATAPI controller to "standard dual-channel PCI IDE controller".
Open the device manager and right-click the Intel 8280 1babus main IDE under the ide ATA/ATAPI controller.
Controller "(Note: the display of different motherboards will be different), 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 choose to install the driver myself ",and then click Next to select" Standard Dual Channel ".
PCI IDE controller ",and then click next, the hardware manager will automatically install the standard dual-channel PCI IDE.
Controller driver, and then the computer will prompt you to restart, and then select "No" not to 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 various motherboards, IDE must be installed.
The controller is changed to "standard dual-channel PCI IDE controller".
Note: s&; R & AMPS _ V9.5.118 intelligent system packaging tool has built-in "change computer power management mode" and "change IDE".
ATA/ATAPI controller "function (s&; R & amps _ v9.5.118 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 if the change is successful.
Fourth, defragment the disk (recommended)
After completing the above work, you must defragment the disk to ensure that there are no file fragments on the system partition, and the benefits are self-evident. Of course, this step can also be performed after the system is packaged, or it can be performed again after the system is packaged.
At this point, if you want Ghost, you can already do it. However, in order to install the hardware driver of the clone system more accurately and run more stably, we need to repackage the system with Sysprep.exe in Microsoft's enterprise deployment toolkit DEPLOY. CAB, so that after restoring the GHO file, the system will reinstall all the new hardware drivers at the first startup, effectively avoiding the instability of the universal cloning system.
Verb (abbreviation of verb) system packaging (recommended)
Sysprep.exe can repackage the system directly in enterprise deployment. CAB toolkit, provided with the system installation CD, or by S&; R & ampS_V9.5
1 1 18 intelligent system packaging tool performs intelligent packaging by calling Sysprep.exe (recommended). The difference between the two is that the former needs to manually change the power management mode of the computer from standard to standard after Ghost is installed in the new machine.
The PC is changed to the power management mode corresponding to the new machine, which can automatically detect the HAL type of the hardware abstraction layer and realize the automatic identification and change of the power mode. Due to S&; R & amps _ v9.5.118 The packaging tool of intelligent system adopts longhorn.
Detecthal technology, so the accuracy of hal can reach 100%, and it can directly enter the packaging process, which is fast and does not need to restart the computer many times.
Note: Windows2k/XP/2003 system installation disk has its own packaging tool, but it is not universal!
1. Create sysprep.inf automatic answer file.
Whether the system is installed in factory mode or repackaged, users will be required to input some necessary contents, such as user name, computer name, installation serial number and so on. However, there is a problem, that is, when we need to input this information when the new Ghost clone is installed, the system has not found the driver of the keyboard and mouse, and the keyboard and mouse are in suspended animation. At this time, the system must install automatic response, so an automatic response file sysprep.inf is needed to complete the input of relevant information. The creation process is basically stupid, just follow the prompts step by step. It should be noted that the installation type must be "sysprep installation" and the license agreement should be "fully automatic installation", so there is no need for manual intervention in the installation process. You can also add commands that need to be run in Run Once, such as the command "convert" to convert FAT32 to NTFS.
C:/FS:NTFS "and so on. This command can be run once at startup after installation.
Create steps: double-click the setupmgr.exe file in the sysprep folder-create a new file-sysprep installation-Windows XP.
Professional-Yes, fully automatic installation-Enter name/company-Enter product key-Automatically generate computer name ... OK-Done.
Note: The file name of the automatic answer file must be sysprep.inf, and the directory must be under the directory c:\sysprep.
2. Modify the background image when resuming installation.
Put your own setup.bmp background image in the sysprep folder, modify the sysprep.ini file, and add:
[OEM_Ads]
Background=setup.bmp
Do it.
This method will not replace the setup.bmp generated by autohal. When the installation is resumed, the default logo will still appear after the registration screen and before the minimum installation, but the time is short, and the background image of setup.bmp will be displayed during the minimum installation.
3. Repackaging system
Repackaging system: You can run the Sysprep.exe direct packaging system under the Sysprep directory, or you can run the msprep.exe intelligent packaging tool by calling the Sysprep.exe intelligent packaging system. After running Sysprep.exe or msprep.exe, you can follow the prompts to complete the system repackaging.
Pay attention to option settings when packaging: * Among the four options in the system packaging screen, the second option "Use minimum installation", that is, the installation item without residual drivers, is exactly what we need, so we must choose it. The first item "grace period for not resetting activation" and the third item "not regenerating security identifier" are used by genuine users for activation, but we use the activation-free version, so it doesn't matter whether these two items are selected or not, and the use of the system will not be affected after GHOST cloning. The fourth option "Detect non-plug and play hardware" is not required. * You can choose the shutdown mode according to your needs. It is recommended to select "Exit" to back up the DllCache directory file in the next step. * After setting the options, you can click the "repackage" button, and the system will repackage in about half a minute.
4. Back up the DllCache directory file (dll file)
Run DllCacheManager.exe in the %systemroot% directory (C:/windows directory for XP system and C:/winnt directory for 2K system).
Just follow the prompts to complete the backup of DllCache directory files, which can reduce the disk space by about 300 mm.
Note: Cooperation with S&; R & When S is used together, because DllCacheManager adopts the way of registry runonce, when S &;; R & Change IDE to standard or change power mode to standard.
PC, runonce will be activated, so you need to package the system first, and then back up the DllCache directory file with DllCacheManager (if you back up before packaging, the backup will be automatically resumed when you start packaging).
5. After backing up the DllCache directory file (dll file), the system reduces the disk space occupation by about 300M. At this time, it is better to defragment the disk again.
After completing the above steps, the system in drive C is already a repackaged clean system. At this point, even if the whole packaging system is completed, you can turn off the computer (be careful not to start the packaging system, if you restart it, the newly completed packaging system will resume installation, and the above work will be in vain). The next work is to start the computer with DOS and make the clean system into a Ghost image file for installation.
Six, making Ghost system image file
Start the computer to run Ghost with DOS, and then select "Local → Partition → Go" in the menu.
Image ",select the first partition (drive C) of the hard disk in the pop-up dialog box, set the storage path and file name of the image file, such as" D:\ghost\xpghost.gho ",select the compression method and press" Yes ". The final xpGhost.gho file is the Ghost system image file.
note:
Ghost _ v8.0 is recommended. v8.2
In terms of version, on the one hand, versions above 8.0 can support NTFS partition, on the other hand, versions above 8.0 can automatically delete the virtual memory page file "pagefile.sys" when making image files, thus reducing the size of image files.
If you want to make a universal clone that can install more software, then the image file is likely to exceed the capacity of a CD-ROM. At this time, you can use the Ghost partition compression function. For example, if you want to set the partition size to 650MB, you can enter the command "ghost".
-split=650 "Run Ghost, and the operation after that is no different from the previous introduction.
Seven, restore the universal Ghost system image.
Note: Ghost _ V8.0 is recommended. V8.2 version
Instructions for use of DllCacheManager:
DllCacheManager is a Windows2k/XP slimming tool. Using this tool, you can back up the files in the DLLCache directory to reduce the disk space occupation (about 300M) on the current system partition.
Unzip the DllCacheManager.rar file, then copy the files of DllCacheManager.exe and ZProgBar.ocx to the %systemroot% directory (XP system x:/windows directory, 2K system x:/winnt directory, X is the current system partition), and then run DllCacheManager.exe for backup. Cooperate with S&; When R & amps uses the recovery package system, autohal.exe will automatically call DllCacheManager for backup recovery and delete himself; If you don't use S&; R & amps, you need to run DllCacheManager for manual recovery and then delete yourself; Or add DllcacheManager to related batch files (such as the command that runs for the first time after entering the system in Sysprep.inf file).
/restore /autodelete /timeout project.
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.
Use parameters:
/back backup
/restore restore
/restore /autodelete Restore and delete yourself.
/restore /autodelete /timeoutxx
Where "xx" is any 2 digits between 0 and 99, if it is/res.